public class SaslNegotiationHeaderReader extends FixedSizeHeaderReader
| Modifier and Type | Field and Description |
|---|---|
static int |
PAYLOAD_LENGTH_BYTES |
static int |
STATUS_BYTES |
byteBuffer| Constructor and Description |
|---|
SaslNegotiationHeaderReader() |
| Modifier and Type | Method and Description |
|---|---|
NegotiationStatus |
getStatus() |
protected int |
headerSize() |
protected void |
onComplete()
Actions (e.g.
|
int |
payloadSize()
As the thrift sasl specification states, all sasl messages (both for negotiatiing and for
sending data) should have a header to indicate the size of the payload.
|
clear, isComplete, read, toBytespublic static final int STATUS_BYTES
public static final int PAYLOAD_LENGTH_BYTES
protected int headerSize()
headerSize in class FixedSizeHeaderReaderprotected void onComplete()
throws TSaslNegotiationException
FixedSizeHeaderReaderonComplete in class FixedSizeHeaderReaderTSaslNegotiationExceptionpublic int payloadSize()
FrameHeaderReaderpublic NegotiationStatus getStatus()