public class SameSiteCookieHandler extends Object implements HttpHandler
Modifier and Type | Class and Description |
---|---|
static class | SameSiteCookieHandler.Builder |
Constructor and Description |
---|
SameSiteCookieHandler(HttpHandler next, String mode) |
SameSiteCookieHandler(HttpHandler next, String mode, String cookiePattern) |
SameSiteCookieHandler(HttpHandler next, String mode, String cookiePattern, boolean caseSensitive) |
SameSiteCookieHandler(HttpHandler next, String mode, String cookiePattern, boolean caseSensitive, boolean enableClientChecker, boolean addSecureForNone) |
Modifier and Type | Method and Description |
---|---|
void | handleRequest(HttpServerExchange exchange) Handle the request. |
public SameSiteCookieHandler(HttpHandler next, String mode)
public SameSiteCookieHandler(HttpHandler next, String mode, String cookiePattern)
public SameSiteCookieHandler(HttpHandler next, String mode, String cookiePattern, boolean caseSensitive)
public SameSiteCookieHandler(HttpHandler next, String mode, String cookiePattern, boolean caseSensitive, boolean enableClientChecker, boolean addSecureForNone)
public void handleRequest(HttpServerExchange exchange) throws Exception
HttpHandler
handleRequest
in interface HttpHandler
exchange
- the HTTP request/response exchangeException
Copyright © 2020 JBoss by Red Hat. All rights reserved.