Package | Description |
---|---|
io.netty.bootstrap |
The helper classes with fluent API which enable an easy implementation of
typical client side and server side channel initialization.
|
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.epoll |
Optimized transport for linux which uses EPOLL Edge-Triggered Mode
for maximal performance.
|
io.netty.channel.kqueue |
BSD specific transport.
|
io.netty.channel.rxtx |
A serial and parallel port communication transport based on RXTX.
|
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.nio |
NIO-based socket channel
API implementation - recommended for a large number of connections (>= 1000).
|
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.udt |
UDT Transport.
|
io.netty.channel.unix |
Unix specific transport.
|
io.netty.handler.codec.http2 |
Handlers for sending and receiving HTTP/2 frames.
|
Modifier and Type | Method and Description |
---|---|
Map<ChannelOption<?>,Object> |
ServerBootstrapConfig.childOptions()
Returns a copy of the configured options which will be used for the child channels.
|
Map<ChannelOption<?>,Object> |
AbstractBootstrapConfig.options()
Returns a copy of the configured options.
|
Modifier and Type | Method and Description |
---|---|
<T> ServerBootstrap |
ServerBootstrap.childOption(ChannelOption<T> childOption,
T value)
Allow to specify a
ChannelOption which is used for the Channel instances once they get created
(after the acceptor accepted the Channel ). |
<T> B |
AbstractBootstrap.option(ChannelOption<T> option,
T value)
Allow to specify a
ChannelOption which is used for the Channel instances once they got
created. |
Modifier and Type | Method and Description |
---|---|
static <T> ChannelOption<T> |
ChannelOption.newInstance(String name)
Deprecated.
use
valueOf(String) . |
static <T> ChannelOption<T> |
ChannelOption.valueOf(Class<?> firstNameComponent,
String secondNameComponent)
|
static <T> ChannelOption<T> |
ChannelOption.valueOf(String name)
Returns the
ChannelOption of the specified name. |
Modifier and Type | Method and Description |
---|---|
Map<ChannelOption<?>,Object> |
DefaultChannelConfig.getOptions() |
Map<ChannelOption<?>,Object> |
ChannelConfig.getOptions()
Return all set
ChannelOption 's. |
protected Map<ChannelOption<?>,Object> |
DefaultChannelConfig.getOptions(Map<ChannelOption<?>,Object> result,
ChannelOption<?>... options) |
Modifier and Type | Method and Description |
---|---|
<T> T |
DefaultChannelConfig.getOption(ChannelOption<T> option) |
<T> T |
ChannelConfig.getOption(ChannelOption<T> option)
Return the value of the given
ChannelOption |
protected Map<ChannelOption<?>,Object> |
DefaultChannelConfig.getOptions(Map<ChannelOption<?>,Object> result,
ChannelOption<?>... options) |
<T> boolean |
DefaultChannelConfig.setOption(ChannelOption<T> option,
T value) |
<T> boolean |
ChannelConfig.setOption(ChannelOption<T> option,
T value)
Sets a configuration property with the specified name and value.
|
protected <T> void |
DefaultChannelConfig.validate(ChannelOption<T> option,
T value) |
Modifier and Type | Method and Description |
---|---|
protected Map<ChannelOption<?>,Object> |
DefaultChannelConfig.getOptions(Map<ChannelOption<?>,Object> result,
ChannelOption<?>... options) |
boolean |
DefaultChannelConfig.setOptions(Map<ChannelOption<?>,?> options) |
boolean |
ChannelConfig.setOptions(Map<ChannelOption<?>,?> options)
Sets the configuration properties from the specified
Map . |
Modifier and Type | Class and Description |
---|---|
class |
EpollChannelOption<T> |
Modifier and Type | Method and Description |
---|---|
Map<ChannelOption<?>,Object> |
EpollDatagramChannelConfig.getOptions() |
Map<ChannelOption<?>,Object> |
EpollDomainSocketChannelConfig.getOptions() |
Map<ChannelOption<?>,Object> |
EpollServerChannelConfig.getOptions() |
Map<ChannelOption<?>,Object> |
EpollSocketChannelConfig.getOptions() |
Map<ChannelOption<?>,Object> |
EpollDomainDatagramChannelConfig.getOptions() |
Map<ChannelOption<?>,Object> |
EpollChannelConfig.getOptions() |
Map<ChannelOption<?>,Object> |
EpollServerSocketChannelConfig.getOptions() |
Modifier and Type | Method and Description |
---|---|
<T> T |
EpollDatagramChannelConfig.getOption(ChannelOption<T> option) |
<T> T |
EpollDomainSocketChannelConfig.getOption(ChannelOption<T> option) |
<T> T |
EpollServerChannelConfig.getOption(ChannelOption<T> option) |
<T> T |
EpollSocketChannelConfig.getOption(ChannelOption<T> option) |
<T> T |
EpollDomainDatagramChannelConfig.getOption(ChannelOption<T> option) |
<T> T |
EpollChannelConfig.getOption(ChannelOption<T> option) |
<T> T |
EpollServerSocketChannelConfig.getOption(ChannelOption<T> option) |
<T> boolean |
EpollDatagramChannelConfig.setOption(ChannelOption<T> option,
T value) |
<T> boolean |
EpollDomainSocketChannelConfig.setOption(ChannelOption<T> option,
T value) |
<T> boolean |
EpollServerChannelConfig.setOption(ChannelOption<T> option,
T value) |
<T> boolean |
EpollSocketChannelConfig.setOption(ChannelOption<T> option,
T value) |
<T> boolean |
EpollDomainDatagramChannelConfig.setOption(ChannelOption<T> option,
T value) |
<T> boolean |
EpollChannelConfig.setOption(ChannelOption<T> option,
T value) |
<T> boolean |
EpollServerSocketChannelConfig.setOption(ChannelOption<T> option,
T value) |
Modifier and Type | Class and Description |
---|---|
class |
KQueueChannelOption<T> |
Modifier and Type | Field and Description |
---|---|
static ChannelOption<Boolean> |
KQueueChannelOption.RCV_ALLOC_TRANSPORT_PROVIDES_GUESS
If this is
true then the RecvByteBufAllocator.Handle#guess() will be overridden to always attempt
to read as many bytes as kqueue says are available. |
static ChannelOption<AcceptFilter> |
KQueueChannelOption.SO_ACCEPTFILTER |
static ChannelOption<Integer> |
KQueueChannelOption.SO_SNDLOWAT |
static ChannelOption<Boolean> |
KQueueChannelOption.TCP_NOPUSH |
Modifier and Type | Method and Description |
---|---|
Map<ChannelOption<?>,Object> |
KQueueDatagramChannelConfig.getOptions() |
Map<ChannelOption<?>,Object> |
KQueueSocketChannelConfig.getOptions() |
Map<ChannelOption<?>,Object> |
KQueueServerChannelConfig.getOptions() |
Map<ChannelOption<?>,Object> |
KQueueServerSocketChannelConfig.getOptions() |
Map<ChannelOption<?>,Object> |
KQueueChannelConfig.getOptions() |
Map<ChannelOption<?>,Object> |
KQueueDomainSocketChannelConfig.getOptions() |
Map<ChannelOption<?>,Object> |
KQueueDomainDatagramChannelConfig.getOptions() |
Modifier and Type | Method and Description |
---|---|
<T> T |
KQueueDatagramChannelConfig.getOption(ChannelOption<T> option) |
<T> T |
KQueueSocketChannelConfig.getOption(ChannelOption<T> option) |
<T> T |
KQueueServerChannelConfig.getOption(ChannelOption<T> option) |
<T> T |
KQueueServerSocketChannelConfig.getOption(ChannelOption<T> option) |
<T> T |
KQueueChannelConfig.getOption(ChannelOption<T> option) |
<T> T |
KQueueDomainSocketChannelConfig.getOption(ChannelOption<T> option) |
<T> T |
KQueueDomainDatagramChannelConfig.getOption(ChannelOption<T> option) |
<T> boolean |
KQueueDatagramChannelConfig.setOption(ChannelOption<T> option,
T value) |
<T> boolean |
KQueueSocketChannelConfig.setOption(ChannelOption<T> option,
T value) |
<T> boolean |
KQueueServerChannelConfig.setOption(ChannelOption<T> option,
T value) |
<T> boolean |
KQueueServerSocketChannelConfig.setOption(ChannelOption<T> option,
T value) |
<T> boolean |
KQueueChannelConfig.setOption(ChannelOption<T> option,
T value) |
<T> boolean |
KQueueDomainSocketChannelConfig.setOption(ChannelOption<T> option,
T value) |
<T> boolean |
KQueueDomainDatagramChannelConfig.setOption(ChannelOption<T> option,
T value) |
Modifier and Type | Class and Description |
---|---|
class |
RxtxChannelOption<T>
Deprecated.
this transport will be removed in the next major version.
|
Modifier and Type | Field and Description |
---|---|
static ChannelOption<Integer> |
RxtxChannelOption.BAUD_RATE
Deprecated.
|
static ChannelOption<RxtxChannelConfig.Databits> |
RxtxChannelOption.DATA_BITS
Deprecated.
|
static ChannelOption<Boolean> |
RxtxChannelOption.DTR
Deprecated.
|
static ChannelOption<RxtxChannelConfig.Paritybit> |
RxtxChannelOption.PARITY_BIT
Deprecated.
|
static ChannelOption<Integer> |
RxtxChannelOption.READ_TIMEOUT
Deprecated.
|
static ChannelOption<Boolean> |
RxtxChannelOption.RTS
Deprecated.
|
static ChannelOption<RxtxChannelConfig.Stopbits> |
RxtxChannelOption.STOP_BITS
Deprecated.
|
static ChannelOption<Integer> |
RxtxChannelOption.WAIT_TIME
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
SctpChannelOption<T>
Option for configuring the SCTP transport
|
Modifier and Type | Field and Description |
---|---|
static ChannelOption<Boolean> |
SctpChannelOption.SCTP_DISABLE_FRAGMENTS |
static ChannelOption<Boolean> |
SctpChannelOption.SCTP_EXPLICIT_COMPLETE |
static ChannelOption<Integer> |
SctpChannelOption.SCTP_FRAGMENT_INTERLEAVE |
static ChannelOption<com.sun.nio.sctp.SctpStandardSocketOptions.InitMaxStreams> |
SctpChannelOption.SCTP_INIT_MAXSTREAMS |
static ChannelOption<Boolean> |
SctpChannelOption.SCTP_NODELAY |
static ChannelOption<SocketAddress> |
SctpChannelOption.SCTP_PRIMARY_ADDR |
static ChannelOption<SocketAddress> |
SctpChannelOption.SCTP_SET_PEER_PRIMARY_ADDR |
Modifier and Type | Method and Description |
---|---|
Map<ChannelOption<?>,Object> |
DefaultSctpServerChannelConfig.getOptions() |
Map<ChannelOption<?>,Object> |
DefaultSctpChannelConfig.getOptions() |
Modifier and Type | Method and Description |
---|---|
<T> T |
DefaultSctpServerChannelConfig.getOption(ChannelOption<T> option) |
<T> T |
DefaultSctpChannelConfig.getOption(ChannelOption<T> option) |
<T> boolean |
DefaultSctpServerChannelConfig.setOption(ChannelOption<T> option,
T value) |
<T> boolean |
DefaultSctpChannelConfig.setOption(ChannelOption<T> option,
T value) |
Modifier and Type | Method and Description |
---|---|
Map<ChannelOption<?>,Object> |
DefaultSocketChannelConfig.getOptions() |
Map<ChannelOption<?>,Object> |
DefaultDatagramChannelConfig.getOptions() |
Map<ChannelOption<?>,Object> |
DefaultServerSocketChannelConfig.getOptions() |
Modifier and Type | Method and Description |
---|---|
<T> T |
DefaultSocketChannelConfig.getOption(ChannelOption<T> option) |
<T> T |
DefaultDatagramChannelConfig.getOption(ChannelOption<T> option) |
<T> T |
DefaultServerSocketChannelConfig.getOption(ChannelOption<T> option) |
<T> boolean |
DefaultSocketChannelConfig.setOption(ChannelOption<T> option,
T value) |
<T> boolean |
DefaultDatagramChannelConfig.setOption(ChannelOption<T> option,
T value) |
<T> boolean |
DefaultServerSocketChannelConfig.setOption(ChannelOption<T> option,
T value) |
Modifier and Type | Class and Description |
---|---|
class |
NioChannelOption<T>
Provides
ChannelOption over a given SocketOption which is then passed through the underlying
NetworkChannel . |
Modifier and Type | Method and Description |
---|---|
static <T> ChannelOption<T> |
NioChannelOption.of(SocketOption<T> option)
Returns a
ChannelOption for the given SocketOption . |
Modifier and Type | Method and Description |
---|---|
Map<ChannelOption<?>,Object> |
DefaultOioServerSocketChannelConfig.getOptions()
Deprecated.
|
Map<ChannelOption<?>,Object> |
DefaultOioSocketChannelConfig.getOptions()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
DefaultOioServerSocketChannelConfig.getOption(ChannelOption<T> option)
Deprecated.
|
<T> T |
DefaultOioSocketChannelConfig.getOption(ChannelOption<T> option)
Deprecated.
|
<T> boolean |
DefaultOioServerSocketChannelConfig.setOption(ChannelOption<T> option,
T value)
Deprecated.
|
<T> boolean |
DefaultOioSocketChannelConfig.setOption(ChannelOption<T> option,
T value)
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
UdtChannelOption<T>
Deprecated.
The UDT transport is no longer maintained and will be removed.
|
Modifier and Type | Field and Description |
---|---|
static ChannelOption<Integer> |
UdtChannelOption.PROTOCOL_RECEIVE_BUFFER_SIZE
Deprecated.
See
OptionUDT.Protocol_Receive_Buffer_Size . |
static ChannelOption<Integer> |
UdtChannelOption.PROTOCOL_SEND_BUFFER_SIZE
Deprecated.
See
OptionUDT.Protocol_Send_Buffer_Size . |
static ChannelOption<Integer> |
UdtChannelOption.SYSTEM_RECEIVE_BUFFER_SIZE
Deprecated.
See
OptionUDT.System_Receive_Buffer_Size . |
static ChannelOption<Integer> |
UdtChannelOption.SYSTEM_SEND_BUFFER_SIZE
Deprecated.
See
OptionUDT.System_Send_Buffer_Size . |
Modifier and Type | Method and Description |
---|---|
Map<ChannelOption<?>,Object> |
DefaultUdtServerChannelConfig.getOptions()
Deprecated.
|
Map<ChannelOption<?>,Object> |
DefaultUdtChannelConfig.getOptions()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
DefaultUdtServerChannelConfig.getOption(ChannelOption<T> option)
Deprecated.
|
<T> T |
DefaultUdtChannelConfig.getOption(ChannelOption<T> option)
Deprecated.
|
<T> boolean |
DefaultUdtServerChannelConfig.setOption(ChannelOption<T> option,
T value)
Deprecated.
|
<T> boolean |
DefaultUdtChannelConfig.setOption(ChannelOption<T> option,
T value)
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
GenericUnixChannelOption<T>
A generic socket option.
|
class |
IntegerUnixChannelOption
|
class |
RawUnixChannelOption
|
class |
UnixChannelOption<T> |
Modifier and Type | Field and Description |
---|---|
static ChannelOption<DomainSocketReadMode> |
UnixChannelOption.DOMAIN_SOCKET_READ_MODE |
static ChannelOption<Boolean> |
UnixChannelOption.SO_REUSEPORT |
Modifier and Type | Method and Description |
---|---|
<T> Http2StreamChannelBootstrap |
Http2StreamChannelBootstrap.option(ChannelOption<T> option,
T value)
Allow to specify a
ChannelOption which is used for the Http2StreamChannel instances once they got
created. |
Copyright © 2008–2024 The Netty Project. All rights reserved.