Class HttpProtocolFinder
- java.lang.Object
-
- org.glassfish.grizzly.config.portunif.HttpProtocolFinder
-
- All Implemented Interfaces:
org.glassfish.grizzly.portunif.ProtocolFinder
public class HttpProtocolFinder extends Object implements org.glassfish.grizzly.portunif.ProtocolFinder
AProtocolFinder
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.- Author:
- Jeanfrancois Arcand, Alexey Stashok
-
-
Constructor Summary
Constructors Constructor Description HttpProtocolFinder()
HttpProtocolFinder(int maxRequestLineSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.glassfish.grizzly.portunif.ProtocolFinder.Result
find(org.glassfish.grizzly.portunif.PUContext puContext, org.glassfish.grizzly.filterchain.FilterChainContext ctx)
-