Package io.undertow.server
Class JvmRouteHandler
- java.lang.Object
-
- io.undertow.server.JvmRouteHandler
-
- All Implemented Interfaces:
HttpHandler
public class JvmRouteHandler extends Object implements HttpHandler
Handler that appends the JVM route to the session id.- Author:
- Stuart Douglas, Richard Opalka
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JvmRouteHandler.Builder
-
Constructor Summary
Constructors Constructor Description JvmRouteHandler(HttpHandler next, String sessionCookieName, String jvmRoute)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleRequest(HttpServerExchange exchange)
Handle the request.
-
-
-
Constructor Detail
-
JvmRouteHandler
public JvmRouteHandler(HttpHandler next, String sessionCookieName, String jvmRoute)
-
-
Method Detail
-
handleRequest
public void handleRequest(HttpServerExchange exchange) throws Exception
Description copied from interface:HttpHandler
Handle the request.- Specified by:
handleRequest
in interfaceHttpHandler
- Parameters:
exchange
- the HTTP request/response exchange- Throws:
Exception
-
-