Package io.undertow.server.handlers
Class SecureCookieHandler
- java.lang.Object
-
- io.undertow.server.handlers.SecureCookieHandler
-
- All Implemented Interfaces:
HttpHandler
public class SecureCookieHandler extends java.lang.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 classSecureCookieHandler.Builder
-
Field Summary
Fields Modifier and Type Field Description static HandlerWrapperWRAPPER
-
Constructor Summary
Constructors Constructor Description SecureCookieHandler(HttpHandler next)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleRequest(HttpServerExchange exchange)Handle the request.java.lang.StringtoString()
-
-
-
Field Detail
-
WRAPPER
public static final HandlerWrapper WRAPPER
-
-
Constructor Detail
-
SecureCookieHandler
public SecureCookieHandler(HttpHandler next)
-
-
Method Detail
-
handleRequest
public void handleRequest(HttpServerExchange exchange) throws java.lang.Exception
Description copied from interface:HttpHandlerHandle the request.- Specified by:
handleRequestin interfaceHttpHandler- Parameters:
exchange- the HTTP request/response exchange- Throws:
java.lang.Exception
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-