- Enclosing interface:
CometDRequest.Input
public static interface CometDRequest.Input.Chunk
Request content bytes with the indication of whether they are the last.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CometDRequest.Input.Chunk
A convenientCometDRequest.Input.Chunk
constant indicating end-of-file. -
Method Summary
Modifier and TypeMethodDescriptionboolean
isLast()
void
release()
Releases thisCometDRequest.Input.Chunk
so itsbyteBuffer()
can be recycled.
-
Field Details
-
EOF
A convenient
CometDRequest.Input.Chunk
constant indicating end-of-file.
-
-
Method Details
-
byteBuffer
ByteBuffer byteBuffer()- Returns:
- the
ByteBuffer
containing the request content bytes
-
isLast
boolean isLast()- Returns:
- whether this
CometDRequest.Input.Chunk
is the last
-
release
void release()Releases this
CometDRequest.Input.Chunk
so itsbyteBuffer()
can be recycled.
-