public class ThriftFrame extends Object implements io.netty.util.ReferenceCounted
| Constructor and Description |
|---|
ThriftFrame(int sequenceId,
io.netty.buffer.ByteBuf message,
Map<String,String> headers,
List<ThriftHeaderTransform> transforms,
Transport transport,
Protocol protocol,
boolean supportOutOfOrderResponse) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getHeaders() |
io.netty.buffer.ByteBuf |
getMessage() |
Protocol |
getProtocol() |
int |
getSequenceId() |
List<ThriftHeaderTransform> |
getTransforms() |
Transport |
getTransport() |
boolean |
isSupportOutOfOrderResponse() |
int |
refCnt() |
boolean |
release() |
boolean |
release(int decrement) |
ThriftFrame |
retain() |
ThriftFrame |
retain(int increment) |
ThriftFrame |
touch() |
ThriftFrame |
touch(Object hint) |
public int getSequenceId()
public io.netty.buffer.ByteBuf getMessage()
public List<ThriftHeaderTransform> getTransforms()
public Transport getTransport()
public Protocol getProtocol()
public boolean isSupportOutOfOrderResponse()
public int refCnt()
refCnt in interface io.netty.util.ReferenceCountedpublic ThriftFrame retain()
retain in interface io.netty.util.ReferenceCountedpublic ThriftFrame retain(int increment)
retain in interface io.netty.util.ReferenceCountedpublic ThriftFrame touch()
touch in interface io.netty.util.ReferenceCountedpublic ThriftFrame touch(Object hint)
touch in interface io.netty.util.ReferenceCounted@CheckReturnValue(when=UNKNOWN) public boolean release()
release in interface io.netty.util.ReferenceCountedpublic boolean release(int decrement)
release in interface io.netty.util.ReferenceCountedCopyright © 2012–2024. All rights reserved.