| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final Pattern | |
| private final boolean | |
| private final String | |
| private final HttpHandler |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | SameSiteCookieHandler(final HttpHandler next, final String mode, final String cookiePattern, final boolean caseSensitive)
|
| public | SameSiteCookieHandler(final HttpHandler next, final String mode, final String cookiePattern, final boolean caseSensitive, final boolean enableClientChecker, final boolean addSecureForNone)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | handleRequest(HttpServerExchange
the HTTP request/response exchange exchange)Implements io. Handle the request. |
| addSecureForNone | back to summary |
|---|---|
| private final boolean addSecureForNone | |
| cookiePattern | back to summary |
|---|---|
| private final Pattern cookiePattern | |
| enableClientChecker | back to summary |
|---|---|
| private final boolean enableClientChecker | |
| mode | back to summary |
|---|---|
| private final String mode | |
| next | back to summary |
|---|---|
| private final HttpHandler next | |
| SameSiteCookieHandler | back to summary |
|---|---|
| public SameSiteCookieHandler(final HttpHandler next, final String mode) | |
| SameSiteCookieHandler | back to summary |
|---|---|
| public SameSiteCookieHandler(final HttpHandler next, final String mode, final String cookiePattern) | |
| SameSiteCookieHandler | back to summary |
|---|---|
| public SameSiteCookieHandler(final HttpHandler next, final String mode, final String cookiePattern, final boolean caseSensitive) | |
| SameSiteCookieHandler | back to summary |
|---|---|
| public SameSiteCookieHandler(final HttpHandler next, final String mode, final String cookiePattern, final boolean caseSensitive, final boolean enableClientChecker, final boolean addSecureForNone) | |
| handleRequest | back to summary |
|---|---|
| public void handleRequest(HttpServerExchange exchange) throws Exception Implements io. Doc from io. Handle the request.
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public HandlerWrapper | build(Map<String, Object>
The handler config config)Implements io. Creates the handler |
| public String | |
| public String | name()
Implements io. The string representation of the handler name. |
| public Map | parameters()
Implements io. Returns a map of parameters and their types. |
| public Set |
| Builder | back to summary |
|---|---|
| public Builder() | |
| build | back to summary |
|---|---|
| public HandlerWrapper build(Map<String, Object> config) Implements io. Doc from io. Creates the handler
| |
| defaultParameter | back to summary |
|---|---|
| public String defaultParameter() Implements io.
| |
| name | back to summary |
|---|---|
| public String name() Implements io. Doc from io. The string representation of the handler name. | |
| parameters | back to summary |
|---|---|
| public Map Implements io. Doc from io. Returns a map of parameters and their types.
| |
| requiredParameters | back to summary |
|---|---|
| public Set Implements io.
| |