Package io.mangoo.routing.handlers
Class DispatcherHandler
java.lang.Object
io.mangoo.routing.handlers.DispatcherHandler
- All Implemented Interfaces:
io.undertow.server.HttpHandler
Main class for dispatching a request to the request chain.
The request chain contains the following handlers in order:
DispatcherHandler
LimitHandler
LocalHandler
InboundCookiesHandler
FormHandler
RequestHandler
OutboundCookiesHandler
ResponseHandler
- Author:
- svenkubiak
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleRequest(io.undertow.server.HttpServerExchange exchange) isBlocking(boolean blocking) withAuthentication(boolean authentication) withBasicAuthentication(String username, String password) withLimit(int limit) withMaxEntitySize(long maxEntitySize)
-
Constructor Details
-
DispatcherHandler
public DispatcherHandler()
-
-
Method Details
-
dispatch
-
isBlocking
-
withBasicAuthentication
-
withAuthentication
-
withMaxEntitySize
-
withLimit
-
handleRequest
- Specified by:
handleRequestin interfaceio.undertow.server.HttpHandler- Throws:
Exception
-