public abstract class HttpRequestParser extends Object
AbstractParserGenerator
annotation processor.
The actual processor is a state machine, that means that for common header, method, protocol values
it will return an interned string, rather than creating a new string for each one.
Modifier and Type | Field and Description |
---|---|
static int |
ASCII_MAX |
Constructor and Description |
---|
HttpRequestParser(org.xnio.OptionMap options) |
Modifier and Type | Method and Description |
---|---|
void |
handle(ByteBuffer buffer,
io.undertow.server.protocol.http.ParseState currentState,
HttpServerExchange builder) |
protected void |
handleAfterVersion(ByteBuffer buffer,
io.undertow.server.protocol.http.ParseState state,
HttpServerExchange builder) |
protected static Map<String,HttpString> |
httpStrings()
This is a bit of hack to enable the parser to get access to the HttpString's that are sorted
in the static fields of the relevant classes.
|
static HttpRequestParser |
instance(org.xnio.OptionMap options) |
public static final int ASCII_MAX
public static final HttpRequestParser instance(org.xnio.OptionMap options)
public void handle(ByteBuffer buffer, io.undertow.server.protocol.http.ParseState currentState, HttpServerExchange builder)
protected void handleAfterVersion(ByteBuffer buffer, io.undertow.server.protocol.http.ParseState state, HttpServerExchange builder)
protected static Map<String,HttpString> httpStrings()
Copyright © 2013 JBoss by Red Hat. All rights reserved.