Uses of Class
com.soklet.web.routing.Route
Packages that use Route
Package
Description
General utility methods and types used across the codebase.
Exceptions which indicate web-related error conditions.
-
Uses of Route in com.soklet.util
Method parameters in com.soklet.util with type arguments of type RouteModifier and TypeMethodDescriptionstatic void
ResponseUtils.logException
(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Optional<Route> route, Optional<Object> response, Exception exception) -
Uses of Route in com.soklet.web.exception
Constructors in com.soklet.web.exception with parameters of type Route -
Uses of Route in com.soklet.web.request
Methods in com.soklet.web.request that return types with arguments of type RouteMethods in com.soklet.web.request with parameters of type RouteModifier and TypeMethodDescriptionDefaultRequestHandler.handleRequest
(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Route route) RequestHandler.handleRequest
(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Route route) Invokes theresourceMethod
associated with the givenroute
.Method parameters in com.soklet.web.request with type arguments of type RouteModifier and TypeMethodDescriptionboolean
SokletFilter.shouldAllowRequestBodyRepeatableReads
(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Optional<Route> route) Should this request body be cached in-memory to support repeated reads? -
Uses of Route in com.soklet.web.response
Method parameters in com.soklet.web.response with type arguments of type RouteModifier and TypeMethodDescriptionvoid
DefaultResponseHandler.handleResponse
(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Optional<Route> route, Optional<Object> response, Optional<Exception> exception) void
ResponseHandler.handleResponse
(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Optional<Route> route, Optional<Object> response, Optional<Exception> exception) Determines and writes an appropriate response for the client based onRequestHandler
output. -
Uses of Route in com.soklet.web.routing
Methods in com.soklet.web.routing that return types with arguments of type RouteModifier and TypeMethodDescriptionDefaultRouteMatcher.match
(HttpMethod httpMethod, String requestPath) RouteMatcher.match
(HttpMethod httpMethod, String requestPath)