public class RequestParserGenerator extends AbstractParserGenerator
Modifier and Type | Class and Description |
---|---|
protected class | RequestParserGenerator.HeaderStateMachine |
protected class | RequestParserGenerator.VersionStateMachine |
AbstractParserGenerator.CustomStateMachine
Modifier and Type | Field and Description |
---|---|
static int | AFTER_VERSION |
static int | HEADER |
static int | HEADER_VALUE |
static String | HTTP_EXCHANGE_CLASS |
static String | HTTP_EXCHANGE_DESCRIPTOR |
static String | PARSE_STATE_CLASS |
static int | PATH |
static int | PATH_PARAMETERS |
static int | QUERY_STRING |
static int | VERB |
static int | VERSION |
BYTE_BUFFER_VAR, CLASS_NAME_SUFFIX, constructorDescriptor, CURRENT_STATE_VAR, HANDLE_AFTER_VERSION, HANDLE_HEADER, HANDLE_HEADER_VALUE, HANDLE_HTTP_VERB, HANDLE_HTTP_VERSION, HANDLE_PATH, HTTP_RESULT, HTTP_STRING_CLASS, HTTP_STRING_DESCRIPTOR, NO_STATE, PARSE_STATE_VAR, parseStateClass, PREFIX_MATCH, resultClass, STATE_CURRENT_BYTES_VAR, STATE_CURRENT_VAR, STATE_POS_VAR, STATE_STRING_BUILDER_VAR
Constructor and Description |
---|
RequestParserGenerator() |
Modifier and Type | Method and Description |
---|---|
protected void | createStateMachines(String[] httpVerbs, String[] httpVersions, String[] standardHeaders, String className, org.jboss.classfilewriter.ClassFile file, org.jboss.classfilewriter.ClassMethod sctor, AtomicInteger fieldCounter) |
createStateMachine, createTokenizer
public static final String PARSE_STATE_CLASS
public static final String HTTP_EXCHANGE_CLASS
public static final String HTTP_EXCHANGE_DESCRIPTOR
public static final int VERB
public static final int PATH
public static final int PATH_PARAMETERS
public static final int QUERY_STRING
public static final int VERSION
public static final int AFTER_VERSION
public static final int HEADER
public static final int HEADER_VALUE
protected void createStateMachines(String[] httpVerbs, String[] httpVersions, String[] standardHeaders, String className, org.jboss.classfilewriter.ClassFile file, org.jboss.classfilewriter.ClassMethod sctor, AtomicInteger fieldCounter)
createStateMachines
in class AbstractParserGenerator
Copyright © 2015 JBoss by Red Hat. All rights reserved.