Top Fields Constructors Methods
io.undertow.client.http

pack-priv Class ResponseParseState

extends Object
Class Inheritance
Imports
io.undertow.util.HttpString

Author
Emanuel Muckenhuber

Field Summary

Modifier and TypeField and Description
public static final int
pack-priv HttpString
current

If this state is a prefix or terminal match state this is set to the string that is a candidate to be matched

pack-priv byte[]
currentBytes

The bytes version of current

public static final int
public static final int
pack-priv byte
leftOver

This has different meanings depending on the current state.

pack-priv HttpString
nextHeader

This is used to store the next header value when parsing header key / value pairs,

public static final int
pack-priv int
parseState

The current state in the tokenizer state machine.

pack-priv int
pos

If this state is a prefix match state then this holds the current position in the string.

public static final int
pack-priv int
state

The actual state of request parsing

public static final int
pack-priv final StringBuilder
stringBuilder

If this is in NO_STATE then this holds the current token that has been read so far.

public static final int

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public boolean
public final void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

AFTER_REASON_PHRASEback to summary
public static final int AFTER_REASON_PHRASE
currentback to summary
pack-priv HttpString current

If this state is a prefix or terminal match state this is set to the string that is a candidate to be matched

currentBytesback to summary
pack-priv byte[] currentBytes

The bytes version of current

HEADER_VALUEback to summary
public static final int HEADER_VALUE
leftOverback to summary
pack-priv byte leftOver

This has different meanings depending on the current state.

In state HEADER it is a the first character of the header, that was read by HEADER_VALUE to see if this was a continuation.

In state HEADER_VALUE if represents the last character that was seen.

nextHeaderback to summary
pack-priv HttpString nextHeader

This is used to store the next header value when parsing header key / value pairs,

PARSE_COMPLETEback to summary
public static final int PARSE_COMPLETE
parseStateback to summary
pack-priv int parseState

The current state in the tokenizer state machine.

posback to summary
pack-priv int pos

If this state is a prefix match state then this holds the current position in the string.

REASON_PHRASEback to summary
public static final int REASON_PHRASE
stateback to summary
pack-priv int state

The actual state of request parsing

STATUS_CODEback to summary
public static final int STATUS_CODE
stringBuilderback to summary
pack-priv final StringBuilder stringBuilder

If this is in NO_STATE then this holds the current token that has been read so far.

VERSIONback to summary
public static final int VERSION

Constructor Detail

ResponseParseStateback to summary
pack-priv ResponseParseState()

Method Detail

isCompleteback to summary
public boolean isComplete()
parseCompleteback to summary
public final void parseComplete()