|
||||||||||
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.HttpRedirectorProtocolFinder
public class HttpRedirectorProtocolFinder
A ProtocolFinder
implementation that parse the available
SocketChannel bytes looking for the 'http' bytes. An http request will
always has the form of:
METHOD URI PROTOCOL/VERSION
example: GET / HTTP/1.1
The algorithm will try to find the protocol token.
This object shoudn't be called by several threads simultaneously.
Constructor Summary | |
---|---|
HttpRedirectorProtocolFinder()
|
Method Summary | |
---|---|
void |
find(com.sun.enterprise.web.portunif.util.ProtocolInfo protocolInfo)
Try to find if the current connection is using the HTTP protocol. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HttpRedirectorProtocolFinder()
Method Detail |
---|
public void find(com.sun.enterprise.web.portunif.util.ProtocolInfo protocolInfo)
find
in interface com.sun.enterprise.web.portunif.ProtocolFinder
ProtocolInfo
- The ProtocolInfo that contains the information
about the current protocol.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |