ByteToMessageDecoder which allows to be notified once a full ClientHello was received.
| Modifier and Type | Field and Description |
|---|---|
| private Buffer | |
| private boolean | |
| private static final InternalLogger | |
| private ReadBufferAllocator | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | decode(ChannelHandlerContext
the ctx, Buffer ChannelHandlerContext which this ByteToMessageDecoder belongs tothe in)Buffer from which to read dataImplements abstract io. Buffer to another.
|
| protected void | handlerRemoved0(ChannelHandlerContext ctx)
Overrides io. ByteToMessageDecoder was removed from the actual context and it doesn't
handle events anymore.
|
| protected abstract Future | lookup(ChannelHandlerContext ctx, Buffer clientHello)
Kicks off a lookup for the given |
| protected abstract void | onLookupComplete(ChannelHandlerContext ctx, Future<? extends T> future)
Called upon completion of the |
| public void | read(ChannelHandlerContext
the ctx, ReadBufferAllocator ChannelHandlerContext for which the read operation is madeThe readBufferAllocator)ReadBufferAllocator that should be used to allocate a Buffer
if needed (for reading the data).Overrides default io. EventLoop.
|
| private void | |
| private void |
| handshakeBuffer | back to summary |
|---|---|
| private Buffer handshakeBuffer | |
| handshakeFailed | back to summary |
|---|---|
| private boolean handshakeFailed | |
| logger | back to summary |
|---|---|
| private static final InternalLogger logger | |
| pendingReadBufferAllocator | back to summary |
|---|---|
| private ReadBufferAllocator pendingReadBufferAllocator | |
| suppressRead | back to summary |
|---|---|
| private boolean suppressRead | |
| SslClientHelloHandler | back to summary |
|---|---|
| public SslClientHelloHandler() | |
| decode | back to summary |
|---|---|
| protected void decode(ChannelHandlerContext ctx, Buffer in) throws Exception Implements abstract io. Doc from io. Decode the from one
| |
| handlerRemoved0 | back to summary |
|---|---|
| protected void handlerRemoved0(ChannelHandlerContext ctx) throws Exception Overrides io. Doc from io. Gets called after the
| |
| lookup | back to summary |
|---|---|
| protected abstract Future Kicks off a lookup for the given
struct {
ProtocolVersion client_version;
Random random;
SessionID session_id;
CipherSuite cipher_suites<2..2^16-2>;
CompressionMethod compression_methods<1..2^8-1>;
select (extensions_present) {
case false:
struct {};
case true:
Extension extensions<0..2^16-1>;
};
} ClientHello;
| |
| onLookupComplete | back to summary |
|---|---|
| protected abstract void onLookupComplete(ChannelHandlerContext ctx, Future<? extends T> future) throws Exception Called upon completion of the | |
| read | back to summary |
|---|---|
| public void read(ChannelHandlerContext ctx, ReadBufferAllocator readBufferAllocator) Overrides default io. Doc from io. Called once a read operation is made from the current registered
| |
| releaseHandshakeBuffer | back to summary |
|---|---|
| private void releaseHandshakeBuffer() | |
| select | back to summary |
|---|---|
| private void select(final ChannelHandlerContext ctx, Buffer clientHello) | |