Uses of Class
com.soklet.web.routing.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
Modifier 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
-
Uses of Route in com.soklet.web.request
Modifier and TypeMethodDescriptionDefaultRequestHandler.handleRequest
(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Route route) RequestHandler.handleRequest
(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Route route) Invokes theresourceMethod
associated with the givenroute
.Modifier 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
Modifier 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
Modifier and TypeMethodDescriptionDefaultRouteMatcher.match
(HttpMethod httpMethod, String requestPath) RouteMatcher.match
(HttpMethod httpMethod, String requestPath)