public class ServletConfidentialityConstraintHandler extends SinglePortConfidentialityHandler
SinglePortConfidentialityHandler| Constructor and Description | 
|---|
ServletConfidentialityConstraintHandler(ConfidentialPortManager portManager, HttpHandler next)  |  
| Modifier and Type | Method and Description | 
|---|---|
protected boolean |  confidentialityRequired(HttpServerExchange exchange) Use the HttpServerExchange to identify if confidentiality is required.   |  
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.   |  
void |  handleRequest(HttpServerExchange exchange) Handle the request.   |  
getRedirectURIisConfidentialpublic ServletConfidentialityConstraintHandler(ConfidentialPortManager portManager, HttpHandler next)
public void handleRequest(HttpServerExchange exchange) throws Exception
HttpHandlerhandleRequest in interface HttpHandlerhandleRequest in class AbstractConfidentialityHandlerexchange - the HTTP request/response exchangeExceptionprotected boolean confidentialityRequired(HttpServerExchange exchange)
AbstractConfidentialityHandlerconfidentialityRequired in class AbstractConfidentialityHandlerexchange - - The HttpServerExchange for the request being processed.protected URI getRedirectURI(HttpServerExchange exchange) throws URISyntaxException
AbstractConfidentialityHandlergetRedirectURI in class SinglePortConfidentialityHandlerexchange - - The HttpServerExchange for the request being processed.URI to redirect to.URISyntaxExceptionCopyright © 2015 JBoss by Red Hat. All rights reserved.