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 classprotected static class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final intstatic final intstatic final intstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final intstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final int -
Constructor Summary
ConstructorsConstructorDescriptionAjpRequestParser(String encoding, boolean doDecode, int maxParameters, int maxHeaders, boolean slashDecodingFlag, boolean allowUnescapedCharactersInUrl) AjpRequestParser(String encoding, boolean doDecode, int maxParameters, int maxHeaders, boolean slashDecodingFlag, boolean allowUnescapedCharactersInUrl, String allowedRequestAttributesPattern) -
Method Summary
Modifier and TypeMethodDescriptionprotected HttpStringheaders(int offset) voidparse(ByteBuffer buf, io.undertow.server.protocol.ajp.AjpRequestParseState state, HttpServerExchange exchange) protected AjpRequestParser.IntegerHolderparse16BitInteger(ByteBuffer buf, io.undertow.server.protocol.ajp.AjpRequestParseState state) protected AjpRequestParser.StringHolderparseString(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 slashDecodingFlag, boolean allowUnescapedCharactersInUrl) -
AjpRequestParser
-
-
Method Details
-
parse
public void parse(ByteBuffer buf, io.undertow.server.protocol.ajp.AjpRequestParseState state, HttpServerExchange exchange) throws IOException, BadRequestException - Throws:
IOExceptionBadRequestException
-
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
-