Uses of Record Class
com.bobocode.bring.web.servlet.mapping.RestControllerParams
Packages that use RestControllerParams
Package
Description
-
Uses of RestControllerParams in com.bobocode.bring.web.servlet
Methods in com.bobocode.bring.web.servlet that return RestControllerParamsModifier and TypeMethodDescriptionprivate RestControllerParams
DispatcherServlet.getRestControllerParams
(jakarta.servlet.http.HttpServletRequest req) Retrieves theRestControllerParams
for the givenHttpServletRequest
.Methods in com.bobocode.bring.web.servlet that return types with arguments of type RestControllerParamsModifier and TypeMethodDescriptionRestControllerContext.getParamsMap()
Retrieves a map containing controller paths and associated parameters.Methods in com.bobocode.bring.web.servlet with parameters of type RestControllerParamsModifier and TypeMethodDescriptionprivate boolean
DispatcherServlet.checkParams
(String requestPath, RestControllerParams params) Checks if the givenRestControllerParams
match the provided request path.private void
DispatcherServlet.processRestControllerRequest
(RestControllerParams params, jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp) Processes the HTTP request for a specificRestControllerParams
.Method parameters in com.bobocode.bring.web.servlet with type arguments of type RestControllerParamsModifier and TypeMethodDescriptionprivate void
RestControllerContext.checkParameters
(Map<String, List<RestControllerParams>> params) Checks parameters for @RequestBody and @RequestHeader annotations. -
Uses of RestControllerParams in com.bobocode.bring.web.servlet.mapping.request
Methods in com.bobocode.bring.web.servlet.mapping.request with parameters of type RestControllerParamsModifier and TypeMethodDescriptiondefault void
RequestParamsResolver.addSorted
(RestControllerParams restControllerParams, List<RestControllerParams> methodParamsList) Adds a RestControllerParams object to the list in a sorted manner based on the presence of PathVariable.Method parameters in com.bobocode.bring.web.servlet.mapping.request with type arguments of type RestControllerParamsModifier and TypeMethodDescriptiondefault void
RequestParamsResolver.addSorted
(RestControllerParams restControllerParams, List<RestControllerParams> methodParamsList) Adds a RestControllerParams object to the list in a sorted manner based on the presence of PathVariable.void
DeleteParamsResolver.handleAnnotation
(Object instance, Method method, String requestMappingPath, Map<String, List<RestControllerParams>> restControllerParamsMap) Handles the @DeleteMapping annotation on a method and processes the associated parameters.void
GetParamsResolver.handleAnnotation
(Object instance, Method method, String requestMappingPath, Map<String, List<RestControllerParams>> restControllerParamsMap) Handles the @GetMapping annotation on a method and processes the associated parameters.void
PostParamsResolver.handleAnnotation
(Object instance, Method method, String requestMappingPath, Map<String, List<RestControllerParams>> restControllerParamsMap) Handles the @PostMapping annotation on a method and processes the associated parameters.void
PutParamsResolver.handleAnnotation
(Object instance, Method method, String requestMappingPath, Map<String, List<RestControllerParams>> restControllerParamsMap) Handles the @PutMapping annotation on a method and processes the associated parameters.void
RequestParamsResolver.handleAnnotation
(Object instance, Method method, String requestMappingPath, Map<String, List<RestControllerParams>> restControllerParamsMap) Handles the annotation on a method and processes the associated parameters. -
Uses of RestControllerParams in com.bobocode.bring.web.utils
Methods in com.bobocode.bring.web.utils that return types with arguments of type RestControllerParamsModifier and TypeMethodDescriptionstatic Map
<String, List<RestControllerParams>> RestControllerParamsUtil.getRestControllerParams
(BringServlet bringServlet, List<RequestParamsResolver> requestParamsResolvers) Retrieves the mapping of controller methods to their associatedRestControllerParams
.