| Modifier and Type | Class and Description |
|---|---|
| pack-priv static interface | |
| public static enum |
| Modifier and Type | Field and Description |
|---|---|
| private final Http2FrameCodec. | |
| private Http2Session | |
| private static final Attribute | |
| private boolean | |
| private boolean | |
| private boolean | |
| private List | |
| private final AtomicReference |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized void | |
| pack-priv static Http2State | |
| pack-priv void | |
| pack-priv static Http2State | |
| pack-priv Http2FrameCodec. | |
| pack-priv Http2Session | |
| public Http2State. | |
| pack-priv static boolean | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv boolean | isNeverHttp2()
Returns: true if this connection is not HTTP2 and never will be in future, or false otherwise |
| pack-priv boolean | |
| public boolean | |
| private synchronized void | |
| pack-priv static Http2State | |
| pack-priv void | |
| pack-priv static void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv synchronized boolean |
| frameParsingState | back to summary |
|---|---|
| private final Http2FrameCodec. | |
| http2Session | back to summary |
|---|---|
| private Http2Session http2Session | |
| http2State | back to summary |
|---|---|
| private static final Attribute<Http2State> http2State | |
| isClientHttpUpgradeRequestFinished | back to summary |
|---|---|
| private boolean isClientHttpUpgradeRequestFinished | |
| isClientPrefaceSent | back to summary |
|---|---|
| private boolean isClientPrefaceSent | |
| isPriReceived | back to summary |
|---|---|
| private boolean isPriReceived | |
| listeners | back to summary |
|---|---|
| private List<Http2State. | |
| status | back to summary |
|---|---|
| private final AtomicReference<Http2State. | |
| Http2State | back to summary |
|---|---|
| public Http2State() | |
| addReadyListener | back to summary |
|---|---|
| public synchronized void addReadyListener(final Http2State. | |
| create | back to summary |
|---|---|
| pack-priv static Http2State create(final Connection<L> connection) | |
| finishHttpUpgradePhase | back to summary |
|---|---|
| pack-priv void finishHttpUpgradePhase() | |
| get | back to summary |
|---|---|
| pack-priv static Http2State get(final Connection<L> connection) | |
| getFrameParsingState | back to summary |
|---|---|
| pack-priv Http2FrameCodec. | |
| getHttp2Session | back to summary |
|---|---|
| pack-priv Http2Session getHttp2Session() | |
| getStatus | back to summary |
|---|---|
| public Http2State. | |
| isHttp2 | back to summary |
|---|---|
| pack-priv static boolean isHttp2(final Connection<L> connection) | |
| isHttp2 | back to summary |
|---|---|
| pack-priv boolean isHttp2() | |
| isHttpUpgradePhase | back to summary |
|---|---|
| pack-priv boolean isHttpUpgradePhase() | |
| isNeverHttp2 | back to summary |
|---|---|
pack-priv boolean isNeverHttp2()
| |
| isPriReceived | back to summary |
|---|---|
| pack-priv boolean isPriReceived() | |
| isReady | back to summary |
|---|---|
public boolean isReady()
| |
| notifyReadyListeners | back to summary |
|---|---|
| private synchronized void notifyReadyListeners() | |
| obtain | back to summary |
|---|---|
| pack-priv static Http2State obtain(final Connection<L> connection) | |
| onClientHttpUpgradeRequestFinished | back to summary |
|---|---|
| pack-priv void onClientHttpUpgradeRequestFinished() Client-side only. Invoked, when a client finishes sending plain HTTP/1.x request containing HTTP2 upgrade headers. | |
| remove | back to summary |
|---|---|
| pack-priv static void remove(final Connection<L> connection) | |
| setDirectUpgradePhase | back to summary |
|---|---|
| pack-priv void setDirectUpgradePhase() | |
| setHttp2Session | back to summary |
|---|---|
| pack-priv void setHttp2Session(final Http2Session http2Session) | |
| setNeverHttp2 | back to summary |
|---|---|
| pack-priv void setNeverHttp2() Marks the connection as never be used for HTTP2. | |
| setOpen | back to summary |
|---|---|
| pack-priv void setOpen() Confirms that HTTP2 connection received preface from the peer. | |
| setPriReceived | back to summary |
|---|---|
| pack-priv void setPriReceived(boolean isPriReceived) | |
| tryLockClientPreface | back to summary |
|---|---|
| pack-priv synchronized boolean tryLockClientPreface() | |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| ready | back to summary |
|---|---|
| public void ready(Http2Session http2Session) | |
| Modifier and Type | Field and Description |
|---|---|
| public static final Http2State. | |
| public static final Http2State. | |
| public static final Http2State. | |
| public static final Http2State. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Http2State. | |
| public static Http2State. |
| DIRECT_UPGRADE | back to summary |
|---|---|
| public static final Http2State. | |
| HTTP_UPGRADE | back to summary |
|---|---|
| public static final Http2State. | |
| NEVER_HTTP2 | back to summary |
|---|---|
| public static final Http2State. | |
| OPEN | back to summary |
|---|---|
| public static final Http2State. | |
| Status | back to summary |
|---|---|
| private Status() | |
| valueOf | back to summary |
|---|---|
| public static Http2State. | |
| values | back to summary |
|---|---|
| public static Http2State. | |