public abstract class ConnectionSetupPayload extends AbstractReferenceCounted implements Payload
| Constructor and Description |
|---|
ConnectionSetupPayload() |
| Modifier and Type | Method and Description |
|---|---|
static ConnectionSetupPayload |
create(Frame setupFrame) |
abstract String |
dataMimeType() |
abstract int |
getFlags() |
boolean |
hasMetadata()
Returns whether the payload has metadata, useful for tell if metadata is empty or not present.
|
abstract int |
keepAliveInterval() |
abstract int |
keepAliveMaxLifetime() |
abstract String |
metadataMimeType() |
ConnectionSetupPayload |
retain()
Increases the reference count by
1. |
ConnectionSetupPayload |
retain(int increment)
Increases the reference count by the specified
increment. |
abstract ConnectionSetupPayload |
touch()
Records the current access location of this object for debugging purposes.
|
abstract ConnectionSetupPayload |
touch(Object hint)
Records the current access location of this object with an additional arbitrary information for
debugging purposes.
|
boolean |
willClientHonorLease() |
deallocate, refCnt, release, release, setRefCntclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetData, getDataUtf8, getMetadata, getMetadataUtf8, sliceData, sliceMetadatarefCnt, release, releasepublic static ConnectionSetupPayload create(Frame setupFrame)
public abstract int keepAliveInterval()
public abstract int keepAliveMaxLifetime()
public abstract String metadataMimeType()
public abstract String dataMimeType()
public abstract int getFlags()
public boolean willClientHonorLease()
public boolean hasMetadata()
PayloadhasMetadata in interface Payloadpublic ConnectionSetupPayload retain()
Payload1.retain in interface ReferenceCountedretain in interface Payloadretain in class AbstractReferenceCountedpublic ConnectionSetupPayload retain(int increment)
Payloadincrement.retain in interface ReferenceCountedretain in interface Payloadretain in class AbstractReferenceCountedpublic abstract ConnectionSetupPayload touch()
PayloadResourceLeakDetector. This method is a shortcut to touch(null).touch in interface ReferenceCountedtouch in interface Payloadtouch in class AbstractReferenceCountedpublic abstract ConnectionSetupPayload touch(Object hint)
PayloadResourceLeakDetector.touch in interface ReferenceCountedtouch in interface Payload