Package io.undertow.server.protocol.ajp
Class AjpRequestParser
java.lang.Object
io.undertow.server.protocol.ajp.AjpRequestParser
- Author:
- Stuart Douglas
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class
protected static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final int
static final int
static final int
static final String
static final String
static final String
static final String
static final String
static final String
static final int
static final String
static final String
static final String
static final String
static final String
static final int
-
Constructor Summary
ConstructorsConstructorDescriptionAjpRequestParser
(String encoding, boolean doDecode, int maxParameters, int maxHeaders, boolean allowEncodedSlash, boolean allowUnescapedCharactersInUrl) AjpRequestParser
(String encoding, boolean doDecode, int maxParameters, int maxHeaders, boolean allowEncodedSlash, boolean allowUnescapedCharactersInUrl, String allowedRequestAttributesPattern) -
Method Summary
Modifier and TypeMethodDescriptionprotected HttpString
headers
(int offset) void
parse
(ByteBuffer buf, io.undertow.server.protocol.ajp.AjpRequestParseState state, HttpServerExchange exchange) protected AjpRequestParser.IntegerHolder
parse16BitInteger
(ByteBuffer buf, io.undertow.server.protocol.ajp.AjpRequestParseState state) protected AjpRequestParser.StringHolder
parseString
(ByteBuffer buf, io.undertow.server.protocol.ajp.AjpRequestParseState state, io.undertow.server.protocol.ajp.AjpRequestParser.StringType type)
-
Field Details
-
FORWARD_REQUEST
public static final int FORWARD_REQUEST- See Also:
-
CPONG
public static final int CPONG- See Also:
-
CPING
public static final int CPING- See Also:
-
SHUTDOWN
public static final int SHUTDOWN- See Also:
-
QUERY_STRING
- See Also:
-
SSL_CERT
- See Also:
-
CONTEXT
- See Also:
-
SERVLET_PATH
- See Also:
-
REMOTE_USER
- See Also:
-
AUTH_TYPE
- See Also:
-
ROUTE
- See Also:
-
SSL_CIPHER
- See Also:
-
SSL_SESSION
- See Also:
-
REQ_ATTRIBUTE
- See Also:
-
SSL_KEY_SIZE
- See Also:
-
SECRET
- See Also:
-
STORED_METHOD
- See Also:
-
AJP_REMOTE_PORT
- See Also:
-
STRING_LENGTH_MASK
public static final int STRING_LENGTH_MASK- See Also:
-
-
Constructor Details
-
AjpRequestParser
public AjpRequestParser(String encoding, boolean doDecode, int maxParameters, int maxHeaders, boolean allowEncodedSlash, boolean allowUnescapedCharactersInUrl) -
AjpRequestParser
-
-
Method Details
-
parse
public void parse(ByteBuffer buf, io.undertow.server.protocol.ajp.AjpRequestParseState state, HttpServerExchange exchange) throws IOException, BadRequestException - Throws:
IOException
BadRequestException
-
headers
-
parse16BitInteger
protected AjpRequestParser.IntegerHolder parse16BitInteger(ByteBuffer buf, io.undertow.server.protocol.ajp.AjpRequestParseState state) -
parseString
protected AjpRequestParser.StringHolder parseString(ByteBuffer buf, io.undertow.server.protocol.ajp.AjpRequestParseState state, io.undertow.server.protocol.ajp.AjpRequestParser.StringType type) throws UnsupportedEncodingException, BadRequestException
-