ConnectionSetupPayload. Primarily for internal use within
RSocket Java but may be created in an application, e.g. for testing purposes.
| Modifier and Type | Field and Description |
|---|---|
| private final ByteBuf |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ByteBuf | |
| public String | |
| protected void | deallocate()
Implements abstract io. refCnt() is equals 0.
|
| public int | |
| public boolean | hasMetadata()
Implements io. |
| public boolean | |
| public int | |
| public int | |
| public ByteBuf | metadata()
Implements io. |
| public String | |
| public ByteBuf | |
| public ByteBuf | |
| public ByteBuf | |
| public ConnectionSetupPayload | touch()
Implements abstract io. Implements io. |
| public ConnectionSetupPayload | touch(Object hint)
Implements io. |
| public boolean |
| setupFrame | back to summary |
|---|---|
| private final ByteBuf setupFrame | |
| DefaultConnectionSetupPayload | back to summary |
|---|---|
| public DefaultConnectionSetupPayload(ByteBuf setupFrame) | |
| data | back to summary |
|---|---|
| public ByteBuf data() Implements io. Doc from io. Returns the Payloads' data without slicing if possible. This is not safe and editing this could effect the payload. It is recommended to call sliceData(). | |
| dataMimeType | back to summary |
|---|---|
| public String dataMimeType() Implements abstract io.
| |
| deallocate | back to summary |
|---|---|
| protected void deallocate() Implements abstract io. Doc from io. Called once
| |
| getFlags | back to summary |
|---|---|
| public int getFlags() Implements abstract io.
| |
| hasMetadata | back to summary |
|---|---|
| public boolean hasMetadata() Implements io. Doc from io. Returns whether the payload has metadata, useful for tell if metadata is empty or not present.
| |
| isResumeEnabled | back to summary |
|---|---|
| public boolean isResumeEnabled() Implements abstract io.
| |
| keepAliveInterval | back to summary |
|---|---|
| public int keepAliveInterval() Implements abstract io.
| |
| keepAliveMaxLifetime | back to summary |
|---|---|
| public int keepAliveMaxLifetime() Implements abstract io.
| |
| metadata | back to summary |
|---|---|
| public ByteBuf metadata() Implements io. Doc from io. Returns the Payloads' metadata without slicing if possible. This is not safe and editing this could effect the payload. It is recommended to call sliceMetadata(). | |
| metadataMimeType | back to summary |
|---|---|
| public String metadataMimeType() Implements abstract io.
| |
| resumeToken | back to summary |
|---|---|
| public ByteBuf resumeToken() Implements abstract io.
| |
| sliceData | back to summary |
|---|---|
| public ByteBuf sliceData() Implements io. Doc from io. Returns the Payload data. Always non-null. | |
| sliceMetadata | back to summary |
|---|---|
| public ByteBuf sliceMetadata() Implements io. Doc from io. Returns a slice Payload metadata. Always non-null, check | |
| touch | back to summary |
|---|---|
| public ConnectionSetupPayload touch() Implements abstract io. Implements io. Doc from io. Records the current access location of this object for debugging purposes. If this object is
determined to be leaked, the information recorded by this operation will be provided to you via
| |
| touch | back to summary |
|---|---|
| public ConnectionSetupPayload touch(Object hint) Implements io. Doc from io. Records the current access location of this object with an additional arbitrary information for
debugging purposes. If this object is determined to be leaked, the information recorded by this
operation will be provided to you via
| |
| willClientHonorLease | back to summary |
|---|---|
| public boolean willClientHonorLease() Implements abstract io.
| |