Package | Description |
---|---|
io.netty.buffer |
Abstraction of a byte buffer - the fundamental data structure
to represent a low-level binary and text message.
|
io.netty.channel |
The core channel API which is asynchronous and event-driven abstraction of
various transports such as a
NIO Channel.
|
io.netty.channel.local |
A virtual transport that enables the communication between the two
parties in the same virtual machine.
|
io.netty.channel.sctp |
Abstract SCTP socket interfaces which extend the core channel API.
|
io.netty.channel.socket |
Abstract TCP and UDP socket interfaces which extend the core channel API.
|
io.netty.channel.socket.oio |
Old blocking I/O based socket channel API implementation - recommended for
a small number of connections (< 1000).
|
io.netty.channel.unix |
Unix specific transport.
|
io.netty.handler.codec |
Extensible decoder and its common implementations which deal with the
packet fragmentation and reassembly issue found in a stream-based transport
such as TCP/IP.
|
io.netty.handler.codec.base64 | |
io.netty.handler.codec.http |
Encoder, decoder and their related message types for HTTP.
|
io.netty.handler.codec.http.multipart |
HTTP multipart support.
|
io.netty.handler.codec.http.websocketx |
Encoder, decoder, handshakers and their related message types for
Web Socket data frames.
|
io.netty.handler.codec.http2 |
Handlers for sending and receiving HTTP/2 frames.
|
io.netty.handler.codec.mqtt |
Encoder, decoder and different Message Types for MQTT.
|
io.netty.handler.codec.redis |
Encoder, decoder for Redis.
|
io.netty.handler.codec.spdy |
Encoder, decoder, session handler and their related message types for the SPDY protocol.
|
io.netty.handler.ssl |
SSL ·
TLS implementation based on
SSLEngine |
io.netty.handler.stream |
Writes very large data stream asynchronously neither spending a lot of
memory nor getting
OutOfMemoryError . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractByteBufAllocator
Skeletal
ByteBufAllocator implementation to extend. |
class |
PooledByteBufAllocator |
class |
UnpooledByteBufAllocator
Simplistic
ByteBufAllocator implementation that does not pool anything. |
Modifier and Type | Field and Description |
---|---|
private ByteBufAllocator |
CompositeByteBuf.alloc |
private ByteBufAllocator |
UnpooledDirectByteBuf.alloc |
private ByteBufAllocator |
UnpooledUnsafeDirectByteBuf.alloc |
private ByteBufAllocator |
EmptyByteBuf.alloc |
private ByteBufAllocator |
UnpooledHeapByteBuf.alloc |
private static ByteBufAllocator |
Unpooled.ALLOC |
private ByteBufAllocator |
ReadOnlyByteBufferBuf.allocator |
private ByteBufAllocator |
PooledByteBuf.allocator |
private ByteBufAllocator |
FixedCompositeByteBuf.allocator |
static ByteBufAllocator |
ByteBufAllocator.DEFAULT |
(package private) static ByteBufAllocator |
ByteBufUtil.DEFAULT_ALLOCATOR |
Modifier and Type | Method and Description |
---|---|
ByteBufAllocator |
AbstractPooledDerivedByteBuf.alloc() |
abstract ByteBufAllocator |
ByteBuf.alloc()
Returns the
ByteBufAllocator which created this buffer. |
ByteBufAllocator |
ReadOnlyByteBufferBuf.alloc() |
ByteBufAllocator |
CompositeByteBuf.alloc() |
ByteBufAllocator |
PooledByteBuf.alloc() |
ByteBufAllocator |
AbstractUnpooledSlicedByteBuf.alloc() |
ByteBufAllocator |
UnpooledDirectByteBuf.alloc() |
ByteBufAllocator |
ReadOnlyByteBuf.alloc()
Deprecated.
|
ByteBufAllocator |
WrappedByteBuf.alloc() |
ByteBufAllocator |
DuplicatedByteBuf.alloc()
Deprecated.
|
ByteBufAllocator |
FixedCompositeByteBuf.alloc() |
ByteBufAllocator |
UnpooledUnsafeDirectByteBuf.alloc() |
ByteBufAllocator |
WrappedCompositeByteBuf.alloc() |
ByteBufAllocator |
EmptyByteBuf.alloc() |
ByteBufAllocator |
SwappedByteBuf.alloc()
Deprecated.
|
ByteBufAllocator |
UnpooledHeapByteBuf.alloc() |
Modifier and Type | Method and Description |
---|---|
static ByteBuf |
ByteBufUtil.encodeString(ByteBufAllocator alloc,
java.nio.CharBuffer src,
java.nio.charset.Charset charset)
Encode the given
CharBuffer using the given Charset into a new ByteBuf which
is allocated via the ByteBufAllocator . |
static ByteBuf |
ByteBufUtil.encodeString(ByteBufAllocator alloc,
java.nio.CharBuffer src,
java.nio.charset.Charset charset,
int extraCapacity)
Encode the given
CharBuffer using the given Charset into a new ByteBuf which
is allocated via the ByteBufAllocator . |
(package private) static ByteBuf |
ByteBufUtil.encodeString0(ByteBufAllocator alloc,
boolean enforceHeap,
java.nio.CharBuffer src,
java.nio.charset.Charset charset,
int extraCapacity) |
(package private) static UnpooledUnsafeDirectByteBuf |
UnsafeByteBufUtil.newUnsafeDirectByteBuf(ByteBufAllocator alloc,
int initialCapacity,
int maxCapacity) |
static ByteBuf |
ByteBufUtil.readBytes(ByteBufAllocator alloc,
ByteBuf buffer,
int length)
Read the given amount of bytes into a new
ByteBuf that is allocated from the ByteBufAllocator . |
static ByteBuf |
ByteBufUtil.writeAscii(ByteBufAllocator alloc,
java.lang.CharSequence seq)
|
static ByteBuf |
ByteBufUtil.writeUtf8(ByteBufAllocator alloc,
java.lang.CharSequence seq)
|
Constructor and Description |
---|
CompositeByteBuf(ByteBufAllocator alloc) |
CompositeByteBuf(ByteBufAllocator alloc,
boolean direct,
int maxNumComponents) |
CompositeByteBuf(ByteBufAllocator alloc,
boolean direct,
int maxNumComponents,
ByteBuf... buffers) |
CompositeByteBuf(ByteBufAllocator alloc,
boolean direct,
int maxNumComponents,
ByteBuf[] buffers,
int offset,
int len) |
CompositeByteBuf(ByteBufAllocator alloc,
boolean direct,
int maxNumComponents,
java.lang.Iterable<ByteBuf> buffers) |
EmptyByteBuf(ByteBufAllocator alloc) |
EmptyByteBuf(ByteBufAllocator alloc,
java.nio.ByteOrder order) |
FixedCompositeByteBuf(ByteBufAllocator allocator,
ByteBuf... buffers) |
ReadOnlyByteBufferBuf(ByteBufAllocator allocator,
java.nio.ByteBuffer buffer) |
ReadOnlyUnsafeDirectByteBuf(ByteBufAllocator allocator,
java.nio.ByteBuffer buffer) |
UnpooledDirectByteBuf(ByteBufAllocator alloc,
java.nio.ByteBuffer initialBuffer,
int maxCapacity)
Creates a new direct buffer by wrapping the specified initial buffer.
|
UnpooledDirectByteBuf(ByteBufAllocator alloc,
int initialCapacity,
int maxCapacity)
Creates a new direct buffer.
|
UnpooledHeapByteBuf(ByteBufAllocator alloc,
byte[] initialArray,
int maxCapacity)
Creates a new heap buffer with an existing byte array.
|
UnpooledHeapByteBuf(ByteBufAllocator alloc,
int initialCapacity,
int maxCapacity)
Creates a new heap buffer with a newly allocated byte array.
|
UnpooledUnsafeDirectByteBuf(ByteBufAllocator alloc,
java.nio.ByteBuffer initialBuffer,
int maxCapacity)
Creates a new direct buffer by wrapping the specified initial buffer.
|
UnpooledUnsafeDirectByteBuf(ByteBufAllocator alloc,
java.nio.ByteBuffer initialBuffer,
int maxCapacity,
boolean doFree) |
UnpooledUnsafeDirectByteBuf(ByteBufAllocator alloc,
int initialCapacity,
int maxCapacity)
Creates a new direct buffer.
|
UnpooledUnsafeHeapByteBuf(ByteBufAllocator alloc,
int initialCapacity,
int maxCapacity)
Creates a new heap buffer with a newly allocated byte array.
|
UnpooledUnsafeNoCleanerDirectByteBuf(ByteBufAllocator alloc,
int initialCapacity,
int maxCapacity) |
WrappedUnpooledUnsafeDirectByteBuf(ByteBufAllocator alloc,
long memoryAddress,
int size,
boolean doFree) |
Modifier and Type | Field and Description |
---|---|
private ByteBufAllocator |
DefaultChannelConfig.allocator |
Modifier and Type | Field and Description |
---|---|
static ChannelOption<ByteBufAllocator> |
ChannelOption.ALLOCATOR |
Modifier and Type | Method and Description |
---|---|
ByteBufAllocator |
AbstractChannelHandlerContext.alloc() |
ByteBufAllocator |
CombinedChannelDuplexHandler.DelegatingChannelHandlerContext.alloc() |
ByteBufAllocator |
Channel.alloc()
Return the assigned
ByteBufAllocator which will be used to allocate ByteBuf s. |
ByteBufAllocator |
AbstractChannel.alloc() |
ByteBufAllocator |
ChannelHandlerContext.alloc()
Return the assigned
ByteBufAllocator which will be used to allocate ByteBuf s. |
ByteBufAllocator |
ChannelConfig.getAllocator()
Returns
ByteBufAllocator which is used for the channel
to allocate buffers. |
ByteBufAllocator |
DefaultChannelConfig.getAllocator() |
Modifier and Type | Method and Description |
---|---|
ByteBuf |
DefaultMaxBytesRecvByteBufAllocator.HandleImpl.allocate(ByteBufAllocator alloc) |
ByteBuf |
RecvByteBufAllocator.Handle.allocate(ByteBufAllocator alloc)
Deprecated.
Creates a new receive buffer whose capacity is probably large enough to read all inbound data and small
enough not to waste its space.
|
ByteBuf |
RecvByteBufAllocator.DelegatingHandle.allocate(ByteBufAllocator alloc) |
ByteBuf |
DefaultMaxMessagesRecvByteBufAllocator.MaxMessageHandle.allocate(ByteBufAllocator alloc) |
ChannelConfig |
ChannelConfig.setAllocator(ByteBufAllocator allocator)
Set the
ByteBufAllocator which is used for the channel
to allocate buffers. |
ChannelConfig |
DefaultChannelConfig.setAllocator(ByteBufAllocator allocator) |
Modifier and Type | Class and Description |
---|---|
(package private) class |
PreferHeapByteBufAllocator
Wraps another
ByteBufAllocator and use heapbuffers everywhere except when a direct buffer is explicit
requested. |
Modifier and Type | Field and Description |
---|---|
private ByteBufAllocator |
PreferHeapByteBufAllocator.allocator |
Constructor and Description |
---|
PreferHeapByteBufAllocator(ByteBufAllocator allocator) |
Modifier and Type | Method and Description |
---|---|
SctpChannelConfig |
DefaultSctpChannelConfig.setAllocator(ByteBufAllocator allocator) |
SctpChannelConfig |
SctpChannelConfig.setAllocator(ByteBufAllocator allocator) |
SctpServerChannelConfig |
SctpServerChannelConfig.setAllocator(ByteBufAllocator allocator) |
SctpServerChannelConfig |
DefaultSctpServerChannelConfig.setAllocator(ByteBufAllocator allocator) |
Modifier and Type | Method and Description |
---|---|
DatagramChannelConfig |
DatagramChannelConfig.setAllocator(ByteBufAllocator allocator) |
ServerSocketChannelConfig |
DefaultServerSocketChannelConfig.setAllocator(ByteBufAllocator allocator) |
SocketChannelConfig |
SocketChannelConfig.setAllocator(ByteBufAllocator allocator) |
ServerSocketChannelConfig |
ServerSocketChannelConfig.setAllocator(ByteBufAllocator allocator) |
DatagramChannelConfig |
DefaultDatagramChannelConfig.setAllocator(ByteBufAllocator allocator) |
SocketChannelConfig |
DefaultSocketChannelConfig.setAllocator(ByteBufAllocator allocator) |
Modifier and Type | Method and Description |
---|---|
OioSocketChannelConfig |
OioSocketChannelConfig.setAllocator(ByteBufAllocator allocator) |
OioServerSocketChannelConfig |
OioServerSocketChannelConfig.setAllocator(ByteBufAllocator allocator) |
OioSocketChannelConfig |
DefaultOioSocketChannelConfig.setAllocator(ByteBufAllocator allocator) |
OioServerSocketChannelConfig |
DefaultOioServerSocketChannelConfig.setAllocator(ByteBufAllocator allocator) |
Modifier and Type | Method and Description |
---|---|
protected abstract ByteBufAllocator |
SocketWritableByteChannel.alloc() |
Modifier and Type | Method and Description |
---|---|
DomainSocketChannelConfig |
DomainSocketChannelConfig.setAllocator(ByteBufAllocator allocator) |
Modifier and Type | Method and Description |
---|---|
ByteBufAllocator |
ReplayingDecoderByteBuf.alloc() |
Modifier and Type | Method and Description |
---|---|
ByteBuf |
ByteToMessageDecoder.Cumulator.cumulate(ByteBufAllocator alloc,
ByteBuf cumulation,
ByteBuf in)
|
(package private) static ByteBuf |
ByteToMessageDecoder.expandCumulation(ByteBufAllocator alloc,
ByteBuf cumulation,
int readable) |
Modifier and Type | Method and Description |
---|---|
static ByteBuf |
Base64.decode(ByteBuf src,
int off,
int len,
Base64Dialect dialect,
ByteBufAllocator allocator) |
(package private) ByteBuf |
Base64.Decoder.decode(ByteBuf src,
int off,
int len,
ByteBufAllocator allocator,
Base64Dialect dialect) |
static ByteBuf |
Base64.encode(ByteBuf src,
int off,
int len,
boolean breakLines,
Base64Dialect dialect,
ByteBufAllocator allocator) |
Modifier and Type | Method and Description |
---|---|
HttpContent |
HttpChunkedInput.readChunk(ByteBufAllocator allocator) |
Modifier and Type | Method and Description |
---|---|
HttpContent |
HttpPostRequestEncoder.readChunk(ByteBufAllocator allocator)
Returns the next available HttpChunk.
|
Modifier and Type | Method and Description |
---|---|
WebSocketFrame |
WebSocketChunkedInput.readChunk(ByteBufAllocator allocator)
Fetches a chunked data from the stream.
|
Modifier and Type | Method and Description |
---|---|
(package private) void |
DefaultHttp2FrameReader.HeadersBlockBuilder.addFragment(ByteBuf fragment,
ByteBufAllocator alloc,
boolean endOfHeaders)
Adds a fragment to the block.
|
protected FullHttpMessage |
InboundHttp2ToHttpAdapter.newMessage(Http2Stream stream,
Http2Headers headers,
boolean validateHttpHeaders,
ByteBufAllocator alloc)
Create a new
FullHttpMessage based upon the current connection parameters |
static FullHttpRequest |
HttpConversionUtil.toFullHttpRequest(int streamId,
Http2Headers http2Headers,
ByteBufAllocator alloc,
boolean validateHttpHeaders)
Create a new object to contain the request data
|
static FullHttpResponse |
HttpConversionUtil.toHttpResponse(int streamId,
Http2Headers http2Headers,
ByteBufAllocator alloc,
boolean validateHttpHeaders)
Create a new object to contain the response data
|
Modifier and Type | Method and Description |
---|---|
(package private) static ByteBuf |
MqttEncoder.doEncode(ByteBufAllocator byteBufAllocator,
MqttMessage message)
This is the main encoding method.
|
private static ByteBuf |
MqttEncoder.encodeConnAckMessage(ByteBufAllocator byteBufAllocator,
MqttConnAckMessage message) |
private static ByteBuf |
MqttEncoder.encodeConnectMessage(ByteBufAllocator byteBufAllocator,
MqttConnectMessage message) |
private static ByteBuf |
MqttEncoder.encodeMessageWithOnlySingleByteFixedHeader(ByteBufAllocator byteBufAllocator,
MqttMessage message) |
private static ByteBuf |
MqttEncoder.encodeMessageWithOnlySingleByteFixedHeaderAndMessageId(ByteBufAllocator byteBufAllocator,
MqttMessage message) |
private static ByteBuf |
MqttEncoder.encodePublishMessage(ByteBufAllocator byteBufAllocator,
MqttPublishMessage message) |
private static ByteBuf |
MqttEncoder.encodeSubAckMessage(ByteBufAllocator byteBufAllocator,
MqttSubAckMessage message) |
private static ByteBuf |
MqttEncoder.encodeSubscribeMessage(ByteBufAllocator byteBufAllocator,
MqttSubscribeMessage message) |
private static ByteBuf |
MqttEncoder.encodeUnsubscribeMessage(ByteBufAllocator byteBufAllocator,
MqttUnsubscribeMessage message) |
Modifier and Type | Method and Description |
---|---|
private void |
RedisEncoder.writeArrayHeader(ByteBufAllocator allocator,
ArrayHeaderRedisMessage msg,
java.util.List<java.lang.Object> out)
Write array header only without body.
|
private void |
RedisEncoder.writeArrayHeader(ByteBufAllocator allocator,
boolean isNull,
long length,
java.util.List<java.lang.Object> out) |
private void |
RedisEncoder.writeArrayMessage(ByteBufAllocator allocator,
ArrayRedisMessage msg,
java.util.List<java.lang.Object> out)
Write full constructed array message.
|
private static void |
RedisEncoder.writeBulkStringContent(ByteBufAllocator allocator,
BulkStringRedisContent msg,
java.util.List<java.lang.Object> out) |
private void |
RedisEncoder.writeBulkStringHeader(ByteBufAllocator allocator,
BulkStringHeaderRedisMessage msg,
java.util.List<java.lang.Object> out) |
private static void |
RedisEncoder.writeErrorMessage(ByteBufAllocator allocator,
ErrorRedisMessage msg,
java.util.List<java.lang.Object> out) |
private void |
RedisEncoder.writeFullBulkStringMessage(ByteBufAllocator allocator,
FullBulkStringRedisMessage msg,
java.util.List<java.lang.Object> out) |
private void |
RedisEncoder.writeIntegerMessage(ByteBufAllocator allocator,
IntegerRedisMessage msg,
java.util.List<java.lang.Object> out) |
private void |
RedisEncoder.writeRedisMessage(ByteBufAllocator allocator,
RedisMessage msg,
java.util.List<java.lang.Object> out) |
private static void |
RedisEncoder.writeSimpleStringMessage(ByteBufAllocator allocator,
SimpleStringRedisMessage msg,
java.util.List<java.lang.Object> out) |
private static void |
RedisEncoder.writeString(ByteBufAllocator allocator,
byte type,
java.lang.String content,
java.util.List<java.lang.Object> out) |
Modifier and Type | Method and Description |
---|---|
private static FullHttpRequest |
SpdyHttpDecoder.createHttpRequest(SpdyHeadersFrame requestFrame,
ByteBufAllocator alloc) |
private static FullHttpResponse |
SpdyHttpDecoder.createHttpResponse(SpdyHeadersFrame responseFrame,
ByteBufAllocator alloc,
boolean validateHeaders) |
(package private) void |
SpdyHeaderBlockRawDecoder.decode(ByteBufAllocator alloc,
ByteBuf headerBlock,
SpdyHeadersFrame frame) |
(package private) abstract void |
SpdyHeaderBlockDecoder.decode(ByteBufAllocator alloc,
ByteBuf headerBlock,
SpdyHeadersFrame frame)
Decodes a SPDY Header Block, adding the Name/Value pairs to the given Headers frame.
|
(package private) void |
SpdyHeaderBlockZlibDecoder.decode(ByteBufAllocator alloc,
ByteBuf headerBlock,
SpdyHeadersFrame frame) |
private int |
SpdyHeaderBlockZlibDecoder.decompress(ByteBufAllocator alloc,
SpdyHeadersFrame frame) |
private ByteBuf |
SpdyHeaderBlockJZlibEncoder.encode(ByteBufAllocator alloc) |
private ByteBuf |
SpdyHeaderBlockZlibEncoder.encode(ByteBufAllocator alloc,
int len) |
ByteBuf |
SpdyHeaderBlockZlibEncoder.encode(ByteBufAllocator alloc,
SpdyHeadersFrame frame) |
ByteBuf |
SpdyHeaderBlockRawEncoder.encode(ByteBufAllocator alloc,
SpdyHeadersFrame frame) |
(package private) abstract ByteBuf |
SpdyHeaderBlockEncoder.encode(ByteBufAllocator alloc,
SpdyHeadersFrame frame) |
ByteBuf |
SpdyHeaderBlockJZlibEncoder.encode(ByteBufAllocator alloc,
SpdyHeadersFrame frame) |
ByteBuf |
SpdyFrameEncoder.encodeDataFrame(ByteBufAllocator allocator,
int streamId,
boolean last,
ByteBuf data) |
ByteBuf |
SpdyFrameEncoder.encodeGoAwayFrame(ByteBufAllocator allocator,
int lastGoodStreamId,
int statusCode) |
ByteBuf |
SpdyFrameEncoder.encodeHeadersFrame(ByteBufAllocator allocator,
int streamId,
boolean last,
ByteBuf headerBlock) |
ByteBuf |
SpdyFrameEncoder.encodePingFrame(ByteBufAllocator allocator,
int id) |
ByteBuf |
SpdyFrameEncoder.encodeRstStreamFrame(ByteBufAllocator allocator,
int streamId,
int statusCode) |
ByteBuf |
SpdyFrameEncoder.encodeSettingsFrame(ByteBufAllocator allocator,
SpdySettingsFrame spdySettingsFrame) |
ByteBuf |
SpdyFrameEncoder.encodeSynReplyFrame(ByteBufAllocator allocator,
int streamId,
boolean last,
ByteBuf headerBlock) |
ByteBuf |
SpdyFrameEncoder.encodeSynStreamFrame(ByteBufAllocator allocator,
int streamId,
int associatedToStreamId,
byte priority,
boolean last,
boolean unidirectional,
ByteBuf headerBlock) |
ByteBuf |
SpdyFrameEncoder.encodeWindowUpdateFrame(ByteBufAllocator allocator,
int streamId,
int deltaWindowSize) |
private void |
SpdyHeaderBlockZlibDecoder.ensureBuffer(ByteBufAllocator alloc) |
Modifier and Type | Method and Description |
---|---|
private static ByteBuf |
PemX509Certificate.append(ByteBufAllocator allocator,
boolean useDirect,
PemEncoded encoded,
int count,
ByteBuf pem)
Appends the
PemEncoded value to the ByteBuf (last arg) and returns it. |
private static ByteBuf |
PemX509Certificate.append(ByteBufAllocator allocator,
boolean useDirect,
java.security.cert.X509Certificate cert,
int count,
ByteBuf pem)
Appends the
X509Certificate value to the ByteBuf (last arg) and returns it. |
private static ByteBuf |
PemX509Certificate.newBuffer(ByteBufAllocator allocator,
boolean useDirect,
int initialCapacity) |
javax.net.ssl.SSLEngine |
DelegatingSslContext.newEngine(ByteBufAllocator alloc) |
javax.net.ssl.SSLEngine |
JdkSslContext.newEngine(ByteBufAllocator alloc) |
abstract javax.net.ssl.SSLEngine |
SslContext.newEngine(ByteBufAllocator alloc)
Creates a new
SSLEngine . |
javax.net.ssl.SSLEngine |
DelegatingSslContext.newEngine(ByteBufAllocator alloc,
java.lang.String peerHost,
int peerPort) |
javax.net.ssl.SSLEngine |
JdkSslContext.newEngine(ByteBufAllocator alloc,
java.lang.String peerHost,
int peerPort) |
abstract javax.net.ssl.SSLEngine |
SslContext.newEngine(ByteBufAllocator alloc,
java.lang.String peerHost,
int peerPort)
Creates a new
SSLEngine using advisory peer information. |
SslHandler |
SslContext.newHandler(ByteBufAllocator alloc)
Creates a new
SslHandler . |
SslHandler |
SslContext.newHandler(ByteBufAllocator alloc,
java.lang.String peerHost,
int peerPort)
Creates a new
SslHandler with advisory peer information. |
(package private) static ByteBuf |
SslUtils.toBase64(ByteBufAllocator allocator,
ByteBuf src)
Same as
Base64.encode(ByteBuf, boolean) but allows the use of a custom ByteBufAllocator . |
(package private) static PemEncoded |
PemPrivateKey.toPEM(ByteBufAllocator allocator,
boolean useDirect,
java.security.PrivateKey key)
Creates a
PemEncoded value from the PrivateKey . |
(package private) static PemEncoded |
PemX509Certificate.toPEM(ByteBufAllocator allocator,
boolean useDirect,
java.security.cert.X509Certificate... chain)
Creates a
PemEncoded value from the X509Certificate s. |
private javax.net.ssl.SSLEngineResult |
SslHandler.wrap(ByteBufAllocator alloc,
javax.net.ssl.SSLEngine engine,
ByteBuf in,
ByteBuf out) |
Modifier and Type | Method and Description |
---|---|
ByteBuf |
ChunkedFile.readChunk(ByteBufAllocator allocator) |
ByteBuf |
ChunkedNioFile.readChunk(ByteBufAllocator allocator) |
B |
ChunkedInput.readChunk(ByteBufAllocator allocator)
Fetches a chunked data from the stream.
|
ByteBuf |
ChunkedNioStream.readChunk(ByteBufAllocator allocator) |
ByteBuf |
ChunkedStream.readChunk(ByteBufAllocator allocator) |