| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private static final int | |
| public static final HttpResponseParser | |
| private static final int | |
| private static final int | NORMAL
The parse states for parsing heading values |
| private static final int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | handle(final ByteBuffer buffer, final ResponseParseState currentState, final HttpResponseBuilder builder)
|
| protected void | |
| pack-priv abstract void | |
| pack-priv final void | Returns: The number of bytes remainingThe buffer buffer, ResponseParseState The current state state, HttpResponseBuilder The exchange builder builder)Parses a header value. |
| pack-priv abstract void | |
| pack-priv final void | Returns: The number of bytes remainingThe buffer buffer, ResponseParseState The current state state, HttpResponseBuilder The exchange builder builder)Parses the reason phrase. |
| pack-priv final void | Returns: The number of bytes remainingThe buffer buffer, ResponseParseState The current state state, HttpResponseBuilder The exchange builder builder)Parses the status code. |
| protected static Map | httpStrings()
This is a bit of hack to enable the parser to get access to the HttpString's that are sorted in the static fields of the relevant classes. |
| AWAIT_DATA_END | back to summary |
|---|---|
| private static final int AWAIT_DATA_END | |
| BEGIN_LINE_END | back to summary |
|---|---|
| private static final int BEGIN_LINE_END | |
| INSTANCE | back to summary |
|---|---|
| public static final HttpResponseParser INSTANCE | |
| LINE_END | back to summary |
|---|---|
| private static final int LINE_END | |
| NORMAL | back to summary |
|---|---|
| private static final int NORMAL The parse states for parsing heading values | |
| WHITESPACE | back to summary |
|---|---|
| private static final int WHITESPACE | |
| HttpResponseParser | back to summary |
|---|---|
| pack-priv HttpResponseParser() | |
| handle | back to summary |
|---|---|
| public void handle(final ByteBuffer buffer, final ResponseParseState currentState, final HttpResponseBuilder builder) throws BadRequestException | |
| handleAfterReasonPhrase | back to summary |
|---|---|
| protected void handleAfterReasonPhrase(ByteBuffer buffer, ResponseParseState state, HttpResponseBuilder builder) | |
| handleHeader | back to summary |
|---|---|
| pack-priv abstract void handleHeader(ByteBuffer buffer, ResponseParseState currentState, HttpResponseBuilder builder) throws BadRequestException | |
| handleHeaderValue | back to summary |
|---|---|
| pack-priv final void handleHeaderValue(ByteBuffer buffer, ResponseParseState state, HttpResponseBuilder builder) Parses a header value. This is called from the generated bytecode.
| |
| handleHttpVersion | back to summary |
|---|---|
| pack-priv abstract void handleHttpVersion(ByteBuffer buffer, ResponseParseState currentState, HttpResponseBuilder builder) throws BadRequestException | |
| handleReasonPhrase | back to summary |
|---|---|
| pack-priv final void handleReasonPhrase(ByteBuffer buffer, ResponseParseState state, HttpResponseBuilder builder) Parses the reason phrase. This is called from the generated bytecode.
| |
| handleStatusCode | back to summary |
|---|---|
| pack-priv final void handleStatusCode(ByteBuffer buffer, ResponseParseState state, HttpResponseBuilder builder) Parses the status code. This is called from the generated bytecode.
| |
| httpStrings | back to summary |
|---|---|
| protected static Map This is a bit of hack to enable the parser to get access to the HttpString's that are sorted in the static fields of the relevant classes. This means that in most cases a HttpString comparison will take the fast path == route, as they will be the same object | |