public class HttpProtocolFinder extends Object implements org.glassfish.grizzly.portunif.ProtocolFinder
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.Constructor and Description |
---|
HttpProtocolFinder() |
HttpProtocolFinder(int maxRequestLineSize) |
Modifier and Type | Method and Description |
---|---|
org.glassfish.grizzly.portunif.ProtocolFinder.Result |
find(org.glassfish.grizzly.portunif.PUContext puContext,
org.glassfish.grizzly.filterchain.FilterChainContext ctx) |
Copyright © 2019. All rights reserved.