Uses of Record Class
com.bobocode.bring.web.servlet.mapping.RestControllerParams
Package
Description
-
Uses of RestControllerParams in com.bobocode.bring.web.servlet
Modifier and TypeMethodDescriptionprivate RestControllerParams
DispatcherServlet.getRestControllerParams
(jakarta.servlet.http.HttpServletRequest req) Retrieves theRestControllerParams
for the givenHttpServletRequest
.Modifier and TypeMethodDescriptionRestControllerContext.getParamsMap()
Retrieves a map containing controller paths and associated parameters.Modifier 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
.Modifier 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
Modifier 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.Modifier 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
Modifier and TypeMethodDescriptionstatic Map
<String, List<RestControllerParams>> RestControllerParamsUtil.getRestControllerParams
(BringServlet bringServlet, List<RequestParamsResolver> requestParamsResolvers) Retrieves the mapping of controller methods to their associatedRestControllerParams
.