AbstractConfidentialityHandler that uses the Host header from the incoming message and specifies the
confidential address by just switching the port.
| Modifier and Type | Field and Description |
|---|---|
| private final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected URI | getRedirectURI(HttpServerExchange
- The exchange)HttpServerExchange for the request being processed.Implements abstract io. All sub-classes are required to provide an implementation of this method, using the HttpServerExchange for the current request return the address to use for a redirect should confidentiality be required and the request not be confidential. |
| protected URI |
| redirectPort | back to summary |
|---|---|
| private final int redirectPort | |
| SinglePortConfidentialityHandler | back to summary |
|---|---|
| public SinglePortConfidentialityHandler(final HttpHandler next, final int redirectPort) | |
| getRedirectURI | back to summary |
|---|---|
| protected URI getRedirectURI(HttpServerExchange exchange) throws URISyntaxException Implements abstract io. Doc from io. All sub-classes are required to provide an implementation of this method, using the HttpServerExchange for the current request return the address to use for a redirect should confidentiality be required and the request not be confidential.
| |
| getRedirectURI | back to summary |
|---|---|
| protected URI getRedirectURI(final HttpServerExchange exchange, final int port) throws URISyntaxException | |