| Modifier and Type | Class and Description |
|---|---|
| public static interface | |
| private static enum |
| Modifier and Type | Field and Description |
|---|---|
| private static final Logger | |
| private boolean | |
| private PrefaceParser | |
| private ServerParser. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| protected ServerParser. | |
| public void | |
| private void | |
| protected void | |
| public void | parse(ByteBuffer
the buffer to parse buffer)Overrides org. Parses the given |
| public void |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| notifyPreface | back to summary |
|---|---|
| private boolean notifyPreface | |
| prefaceParser | back to summary |
|---|---|
| private PrefaceParser prefaceParser | |
| state | back to summary |
|---|---|
| private ServerParser. | |
| ServerParser | back to summary |
|---|---|
| public ServerParser(ByteBufferPool bufferPool, int maxHeaderSize, RateControl rateControl) | |
| directUpgrade | back to summary |
|---|---|
| public void directUpgrade() A direct upgrade is an unofficial upgrade from HTTP/1.1 to HTTP/2.0. A direct upgrade is initiated when PRI * HTTP/2.0\r\n \r\n This request is part of the HTTP/2.0 preface, indicating that a HTTP/2.0 client is attempting a h2c direct connection. This is not a standard HTTP/1.1 Upgrade path. | |
| getListener | back to summary |
|---|---|
| protected ServerParser. Overrides org.
| |
| init | back to summary |
|---|---|
| public void init(Parser. Overrides org.
| |
| notifyPreface | back to summary |
|---|---|
| private void notifyPreface() | |
| onPreface | back to summary |
|---|---|
| protected void onPreface() | |
| parse | back to summary |
|---|---|
| public void parse(ByteBuffer buffer) Overrides org. Doc from org. Parses the given When this method returns, the buffer may not be fully consumed, so invocations to this method should be wrapped in a loop:
while (buffer.hasRemaining())
parser.parse(buffer);
| |
| standardUpgrade | back to summary |
|---|---|
| public void standardUpgrade() The standard HTTP/1.1 upgrade path. | |
| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Method and Description |
|---|---|
| public default void |
| onPreface | back to summary |
|---|---|
| public default void onPreface() | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ServerParser. | |
| public void |
| Wrapper | back to summary |
|---|---|
| public Wrapper(ServerParser. | |
| getParserListener | back to summary |
|---|---|
| public ServerParser. Overrides org.
| |
| onPreface | back to summary |
|---|---|
| public void onPreface() Overrides default org.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final ServerParser. | |
| public static final ServerParser. | |
| public static final ServerParser. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static ServerParser. | |
| public static ServerParser. |
| FRAMES | back to summary |
|---|---|
| public static final ServerParser. | |
| PREFACE | back to summary |
|---|---|
| public static final ServerParser. | |
| SETTINGS | back to summary |
|---|---|
| public static final ServerParser. | |
| State | back to summary |
|---|---|
| private State() | |
| valueOf | back to summary |
|---|---|
| public static ServerParser. | |
| values | back to summary |
|---|---|
| public static ServerParser. | |