|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.ws.transport.tcp.server.tomcat.grizzly10.HttpRedirectorProtocolHandler
public class HttpRedirectorProtocolHandler
Redirect the request to the proper protocol, which can be http or https.
| Field Summary | |
|---|---|
protected java.lang.String[] |
protocols
The protocols supported by this handler. |
| Constructor Summary | |
|---|---|
HttpRedirectorProtocolHandler(int redirectPort)
|
|
| Method Summary | |
|---|---|
boolean |
expireKey(java.nio.channels.SelectionKey key)
Invoked when the SelectorThread is about to expire a SelectionKey. |
java.lang.String[] |
getProtocols()
Returns an array of supported protocols. |
void |
handle(com.sun.enterprise.web.portunif.util.ProtocolInfo protocolInfo)
Redirect the request to the protocol defined in the protocolInfo. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String[] protocols
| Constructor Detail |
|---|
public HttpRedirectorProtocolHandler(int redirectPort)
| Method Detail |
|---|
public void handle(com.sun.enterprise.web.portunif.util.ProtocolInfo protocolInfo)
throws java.io.IOException
protocolInfo. Protocols supported are http and https.
handle in interface com.sun.enterprise.web.portunif.ProtocolHandlerprotocolInfo - The protocol that needs to be redirected.
java.io.IOExceptionpublic java.lang.String[] getProtocols()
getProtocols in interface com.sun.enterprise.web.portunif.ProtocolHandlerpublic boolean expireKey(java.nio.channels.SelectionKey key)
expireKey in interface com.sun.enterprise.web.portunif.ProtocolHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||