public class HttpRedirector extends Object
| Constructor and Description |
|---|
HttpRedirector(int redirectPort) |
| Modifier and Type | Method and Description |
|---|---|
void |
redirect(com.sun.enterprise.web.portunif.util.ProtocolInfo protocolInfo)
Redirect a un-secure request (http) to http or https.
|
void |
redirectSSL(com.sun.enterprise.web.portunif.util.ProtocolInfo protocolInfo)
Redirect a secure request (https) to http or https.
|
public final void redirectSSL(com.sun.enterprise.web.portunif.util.ProtocolInfo protocolInfo)
throws IOException
protocolInfo - the ProtocolInfo that contains the information about
the current protocol state.IOExceptionpublic final void redirect(com.sun.enterprise.web.portunif.util.ProtocolInfo protocolInfo)
throws IOException
protocolInfo - the ProtocolInfo that contains the information about
the current protocol state.IOExceptionCopyright © 2005–2018 Oracle Corporation. All rights reserved.