|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.grizzly.http.portunif.HttpProtocolFinder
public class HttpProtocolFinder
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.
| Field Summary | |
|---|---|
static java.lang.String |
HTTP_REQUEST_URL
|
| Constructor Summary | |
|---|---|
HttpProtocolFinder()
|
|
| Method Summary | |
|---|---|
java.lang.String |
find(Context context,
PUProtocolRequest protocolRequest)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String HTTP_REQUEST_URL
| Constructor Detail |
|---|
public HttpProtocolFinder()
| Method Detail |
|---|
public java.lang.String find(Context context,
PUProtocolRequest protocolRequest)
throws java.io.IOException
find in interface ProtocolFinderjava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||