public class SinglePortConfidentialityHandler extends AbstractConfidentialityHandler
AbstractConfidentialityHandler that uses the Host header from the incoming message and specifies the confidential address by just switching the port.| Constructor and Description | 
|---|
SinglePortConfidentialityHandler(HttpHandler next, int redirectPort)  |  
| Modifier and Type | Method and Description | 
|---|---|
protected URI |  getRedirectURI(HttpServerExchange exchange) 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 |  getRedirectURI(HttpServerExchange exchange, int port)  |  
confidentialityRequired, handleRequest, isConfidentialpublic SinglePortConfidentialityHandler(HttpHandler next, int redirectPort)
protected URI getRedirectURI(HttpServerExchange exchange) throws URISyntaxException
AbstractConfidentialityHandlergetRedirectURI in class AbstractConfidentialityHandlerexchange - - The HttpServerExchange for the request being processed.URI to redirect to.URISyntaxExceptionprotected URI getRedirectURI(HttpServerExchange exchange, int port) throws URISyntaxException
URISyntaxExceptionCopyright © 2017 JBoss by Red Hat. All rights reserved.