public class ResponseParserGenerator extends AbstractParserGenerator
AbstractParserGenerator.CustomStateMachine
Modifier and Type | Field and Description |
---|---|
static int | AFTER_REASON_PHRASE |
static int | HEADER |
static int | HEADER_VALUE |
static String | HTTP_RESPONSE_CLASS |
static int | PARSE_COMPLETE |
static String | PARSE_STATE_CLASS |
static int | REASON_PHRASE |
static int | STATUS_CODE |
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 |
---|
ResponseParserGenerator(String existingClassName) |
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_RESPONSE_CLASS
public static final int VERSION
public static final int STATUS_CODE
public static final int REASON_PHRASE
public static final int AFTER_REASON_PHRASE
public static final int HEADER
public static final int HEADER_VALUE
public static final int PARSE_COMPLETE
public ResponseParserGenerator(String existingClassName)
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 © 2017 JBoss by Red Hat. All rights reserved.