public class AjpRequestParser extends Object
Modifier and Type | Class and Description |
---|---|
protected static class |
AjpRequestParser.IntegerHolder |
protected static class |
AjpRequestParser.StringHolder |
Modifier and Type | Field and Description |
---|---|
static String |
AJP_REMOTE_PORT |
static String |
AUTH_TYPE |
static String |
CONTEXT |
static int |
CPING |
static int |
CPONG |
static int |
FORWARD_REQUEST |
static String |
QUERY_STRING |
static String |
REMOTE_USER |
static String |
REQ_ATTRIBUTE |
static String |
ROUTE |
static String |
SECRET |
static String |
SERVLET_PATH |
static int |
SHUTDOWN |
static String |
SSL_CERT |
static String |
SSL_CIPHER |
static String |
SSL_KEY_SIZE |
static String |
SSL_SESSION |
static String |
STORED_METHOD |
static int |
STRING_LENGTH_MASK |
Constructor and Description |
---|
AjpRequestParser(String encoding,
boolean doDecode,
int maxParameters,
int maxHeaders) |
Modifier and Type | Method and Description |
---|---|
protected 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) |
public static final int FORWARD_REQUEST
public static final int CPONG
public static final int CPING
public static final int SHUTDOWN
public static final String QUERY_STRING
public static final String SSL_CERT
public static final String CONTEXT
public static final String SERVLET_PATH
public static final String REMOTE_USER
public static final String AUTH_TYPE
public static final String ROUTE
public static final String SSL_CIPHER
public static final String SSL_SESSION
public static final String REQ_ATTRIBUTE
public static final String SSL_KEY_SIZE
public static final String SECRET
public static final String STORED_METHOD
public static final String AJP_REMOTE_PORT
public static final int STRING_LENGTH_MASK
public AjpRequestParser(String encoding, boolean doDecode, int maxParameters, int maxHeaders)
public void parse(ByteBuffer buf, io.undertow.server.protocol.ajp.AjpRequestParseState state, HttpServerExchange exchange) throws IOException, BadRequestException
IOException
BadRequestException
protected HttpString headers(int offset)
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) throws UnsupportedEncodingException
UnsupportedEncodingException
Copyright © 2017 JBoss by Red Hat. All rights reserved.