Package io.undertow.server.handlers
Class SecureCookieHandler
- java.lang.Object
-
- io.undertow.server.handlers.SecureCookieHandler
-
- All Implemented Interfaces:
HttpHandler
public class SecureCookieHandler extends Object implements HttpHandler
Handler that will set the secure flag on all cookies that are received over a secure connection
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SecureCookieHandler.Builder
-
Field Summary
Fields Modifier and Type Field Description static HandlerWrapper
WRAPPER
-
Constructor Summary
Constructors Constructor Description SecureCookieHandler(HttpHandler next)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleRequest(HttpServerExchange exchange)
Handle the request.String
toString()
-
-
-
Field Detail
-
WRAPPER
public static final HandlerWrapper WRAPPER
-
-
Constructor Detail
-
SecureCookieHandler
public SecureCookieHandler(HttpHandler next)
-
-
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
-
-