| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final FrameType | CANCEL
Cancel outstanding request. |
| public static final FrameType | |
| pack-priv static final int | ENCODED_SIZE
The size of the encoded frame type |
| private final int | |
| public static final FrameType | ERROR
Error at connection or application level. |
| public static final FrameType | EXT
Used To Extend more frame types as well as extensions. |
| private final int | |
| private static final FrameType[] | |
| public static final FrameType | KEEPALIVE
Connection keepalive. |
| public static final FrameType | LEASE
Sent by Responder to grant the ability to send requests. |
| public static final FrameType | METADATA_PUSH
Asynchronous Metadata frame. |
| public static final FrameType | |
| public static final FrameType | NEXT_COMPLETE
A |
| public static final FrameType | PAYLOAD
Payload on a stream. |
| public static final FrameType | REQUEST_CHANNEL
Request a completable stream in both directions. |
| public static final FrameType | REQUEST_FNF
A single one-way message. |
| public static final FrameType | REQUEST_N
Request N more items with Reactive Streams semantics. |
| public static final FrameType | REQUEST_RESPONSE
Request single response. |
| public static final FrameType | REQUEST_STREAM
Request a completable stream. |
| public static final FrameType | RESERVED
Reserved. |
| public static final FrameType | RESUME
Replaces SETUP for Resuming Operation (optional). |
| public static final FrameType | RESUME_OK
Sent in response to a RESUME if resuming operation possible (optional). |
| public static final FrameType | SETUP
Sent by client to initiate protocol processing. |
| Access | Constructor and Description |
|---|---|
| private | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public boolean | Returns: whether the frame type can have metadataWhether the frame type can have metadata |
| public static FrameType | Returns: theFrameType that matches the specified encodedTypethe encoded type encodedType)Returns the |
| public int | |
| private static int | |
| public boolean | Returns: wether the frame type starts with an initialrequestNWhether the frame type starts with an initial |
| public boolean | Returns: whether the frame type is fragmentableWhether the frame type is fragmentable. |
| public boolean | Returns: whether the frame type is a request typeWhether the frame type is a request type. |
| public static FrameType | |
| public static FrameType[] |
| CANCEL | back to summary |
|---|---|
| public static final FrameType CANCEL Cancel outstanding request.
| |
| COMPLETE | back to summary |
|---|---|
| public static final FrameType COMPLETE A | |
| ENCODED_SIZE | back to summary |
|---|---|
| pack-priv static final int ENCODED_SIZE The size of the encoded frame type | |
| encodedType | back to summary |
|---|---|
| private final int encodedType | |
| ERROR | back to summary |
|---|---|
| public static final FrameType ERROR Error at connection or application level.
| |
| EXT | back to summary |
|---|---|
| public static final FrameType EXT Used To Extend more frame types as well as extensions.
| |
| flags | back to summary |
|---|---|
| private final int flags | |
| FRAME_TYPES_BY_ENCODED_TYPE | back to summary |
|---|---|
| private static final FrameType[] FRAME_TYPES_BY_ENCODED_TYPE | |
| KEEPALIVE | back to summary |
|---|---|
| public static final FrameType KEEPALIVE Connection keepalive.
| |
| LEASE | back to summary |
|---|---|
| public static final FrameType LEASE Sent by Responder to grant the ability to send requests.
| |
| METADATA_PUSH | back to summary |
|---|---|
| public static final FrameType METADATA_PUSH Asynchronous Metadata frame.
| |
| NEXT | back to summary |
|---|---|
| public static final FrameType NEXT A | |
| NEXT_COMPLETE | back to summary |
|---|---|
| public static final FrameType NEXT_COMPLETE A | |
| PAYLOAD | back to summary |
|---|---|
| public static final FrameType PAYLOAD Payload on a stream. For example, response to a request, or message on a channel.
| |
| REQUEST_CHANNEL | back to summary |
|---|---|
| public static final FrameType REQUEST_CHANNEL Request a completable stream in both directions.
| |
| REQUEST_FNF | back to summary |
|---|---|
| public static final FrameType REQUEST_FNF A single one-way message.
| |
| REQUEST_N | back to summary |
|---|---|
| public static final FrameType REQUEST_N Request N more items with Reactive Streams semantics.
| |
| REQUEST_RESPONSE | back to summary |
|---|---|
| public static final FrameType REQUEST_RESPONSE Request single response.
| |
| REQUEST_STREAM | back to summary |
|---|---|
| public static final FrameType REQUEST_STREAM Request a completable stream.
| |
| RESERVED | back to summary |
|---|---|
| public static final FrameType RESERVED Reserved. | |
| RESUME | back to summary |
|---|---|
| public static final FrameType RESUME Replaces SETUP for Resuming Operation (optional).
| |
| RESUME_OK | back to summary |
|---|---|
| public static final FrameType RESUME_OK Sent in response to a RESUME if resuming operation possible (optional).
| |
| SETUP | back to summary |
|---|---|
| public static final FrameType SETUP Sent by client to initiate protocol processing.
| |
| FrameType | back to summary |
|---|---|
| private FrameType(int encodedType) | |
| FrameType | back to summary |
|---|---|
| private FrameType(int encodedType, int flags) | |
| canHaveData | back to summary |
|---|---|
| public boolean canHaveData() Whether the frame type can have data.
| |
| canHaveMetadata | back to summary |
|---|---|
| public boolean canHaveMetadata() Whether the frame type can have metadata
| |
| fromEncodedType | back to summary |
|---|---|
| public static FrameType fromEncodedType(int encodedType) Returns the
| |
| getEncodedType | back to summary |
|---|---|
| public int getEncodedType() Returns the encoded type.
| |
| getMaximumEncodedType | back to summary |
|---|---|
| private static int getMaximumEncodedType() | |
| hasInitialRequestN | back to summary |
|---|---|
| public boolean hasInitialRequestN() Whether the frame type starts with an initial
| |
| isFragmentable | back to summary |
|---|---|
| public boolean isFragmentable() Whether the frame type is fragmentable.
| |
| isRequestType | back to summary |
|---|---|
| public boolean isRequestType() Whether the frame type is a request type.
| |
| valueOf | back to summary |
|---|---|
| public static FrameType valueOf(String name) | |
| values | back to summary |
|---|---|
| public static FrameType[] values() | |
| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| private |
| CAN_HAVE_DATA | back to summary |
|---|---|
| private static final int CAN_HAVE_DATA | |
| CAN_HAVE_METADATA | back to summary |
|---|---|
| private static final int CAN_HAVE_METADATA | |
| EMPTY | back to summary |
|---|---|
| private static final int EMPTY | |
| HAS_INITIAL_REQUEST_N | back to summary |
|---|---|
| private static final int HAS_INITIAL_REQUEST_N | |
| IS_FRAGMENTABLE | back to summary |
|---|---|
| private static final int IS_FRAGMENTABLE | |
| IS_REQUEST_TYPE | back to summary |
|---|---|
| private static final int IS_REQUEST_TYPE | |
| Flags | back to summary |
|---|---|
| private Flags() | |