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.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)
Creates a new
ChannelOption for the given name or fail with an
IllegalArgumentException if a ChannelOption for the given name exists. |
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 | Field and Description |
---|---|
static ChannelOption<EpollMode> |
EpollChannelOption.EPOLL_MODE |
static ChannelOption<Boolean> |
EpollChannelOption.IP_FREEBIND |
static ChannelOption<Boolean> |
EpollChannelOption.TCP_CORK |
static ChannelOption<Integer> |
EpollChannelOption.TCP_DEFER_ACCEPT |
static ChannelOption<Integer> |
EpollChannelOption.TCP_FASTOPEN |
static ChannelOption<Integer> |
EpollChannelOption.TCP_KEEPCNT |
static ChannelOption<Integer> |
EpollChannelOption.TCP_KEEPIDLE |
static ChannelOption<Integer> |
EpollChannelOption.TCP_KEEPINTVL |
static ChannelOption<Map<InetAddress,byte[]>> |
EpollChannelOption.TCP_MD5SIG |
static ChannelOption<Long> |
EpollChannelOption.TCP_NOTSENT_LOWAT |
static ChannelOption<Boolean> |
EpollChannelOption.TCP_QUICKACK |
static ChannelOption<Integer> |
EpollChannelOption.TCP_USER_TIMEOUT |
Modifier and Type | Method and Description |
---|---|
Map<ChannelOption<?>,Object> |
EpollSocketChannelConfig.getOptions() |
Map<ChannelOption<?>,Object> |
EpollServerSocketChannelConfig.getOptions() |
Map<ChannelOption<?>,Object> |
EpollServerChannelConfig.getOptions() |
Map<ChannelOption<?>,Object> |
EpollDomainSocketChannelConfig.getOptions() |
Map<ChannelOption<?>,Object> |
EpollDatagramChannelConfig.getOptions() |
Map<ChannelOption<?>,Object> |
EpollChannelConfig.getOptions() |
Modifier and Type | Method and Description |
---|---|
<T> T |
EpollSocketChannelConfig.getOption(ChannelOption<T> option) |
<T> T |
EpollServerSocketChannelConfig.getOption(ChannelOption<T> option) |
<T> T |
EpollServerChannelConfig.getOption(ChannelOption<T> option) |
<T> T |
EpollDomainSocketChannelConfig.getOption(ChannelOption<T> option) |
<T> T |
EpollDatagramChannelConfig.getOption(ChannelOption<T> option) |
<T> T |
EpollChannelConfig.getOption(ChannelOption<T> option) |
<T> boolean |
EpollSocketChannelConfig.setOption(ChannelOption<T> option,
T value) |
<T> boolean |
EpollServerSocketChannelConfig.setOption(ChannelOption<T> option,
T value) |
<T> boolean |
EpollServerChannelConfig.setOption(ChannelOption<T> option,
T value) |
<T> boolean |
EpollDomainSocketChannelConfig.setOption(ChannelOption<T> option,
T value) |
<T> boolean |
EpollDatagramChannelConfig.setOption(ChannelOption<T> option,
T value) |
<T> boolean |
EpollChannelConfig.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 overriden 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> |
KQueueSocketChannelConfig.getOptions() |
Map<ChannelOption<?>,Object> |
KQueueServerSocketChannelConfig.getOptions() |
Map<ChannelOption<?>,Object> |
KQueueServerChannelConfig.getOptions() |
Map<ChannelOption<?>,Object> |
KQueueDomainSocketChannelConfig.getOptions() |
Map<ChannelOption<?>,Object> |
KQueueDatagramChannelConfig.getOptions() |
Map<ChannelOption<?>,Object> |
KQueueChannelConfig.getOptions() |
Modifier and Type | Method and Description |
---|---|
<T> T |
KQueueSocketChannelConfig.getOption(ChannelOption<T> option) |
<T> T |
KQueueServerSocketChannelConfig.getOption(ChannelOption<T> option) |
<T> T |
KQueueServerChannelConfig.getOption(ChannelOption<T> option) |
<T> T |
KQueueDomainSocketChannelConfig.getOption(ChannelOption<T> option) |
<T> T |
KQueueDatagramChannelConfig.getOption(ChannelOption<T> option) |
<T> T |
KQueueChannelConfig.getOption(ChannelOption<T> option) |
<T> boolean |
KQueueSocketChannelConfig.setOption(ChannelOption<T> option,
T value) |
<T> boolean |
KQueueServerSocketChannelConfig.setOption(ChannelOption<T> option,
T value) |
<T> boolean |
KQueueServerChannelConfig.setOption(ChannelOption<T> option,
T value) |
<T> boolean |
KQueueDomainSocketChannelConfig.setOption(ChannelOption<T> option,
T value) |
<T> boolean |
KQueueDatagramChannelConfig.setOption(ChannelOption<T> option,
T value) |
<T> boolean |
KQueueChannelConfig.setOption(ChannelOption<T> option,
T value) |
Modifier and Type | Class and Description |
---|---|
class |
RxtxChannelOption<T>
Option for configuring a serial port connection
|
Modifier and Type | Field and Description |
---|---|
static ChannelOption<Integer> |
RxtxChannelOption.BAUD_RATE |
static ChannelOption<RxtxChannelConfig.Databits> |
RxtxChannelOption.DATA_BITS |
static ChannelOption<Boolean> |
RxtxChannelOption.DTR |
static ChannelOption<RxtxChannelConfig.Paritybit> |
RxtxChannelOption.PARITY_BIT |
static ChannelOption<Integer> |
RxtxChannelOption.READ_TIMEOUT |
static ChannelOption<Boolean> |
RxtxChannelOption.RTS |
static ChannelOption<RxtxChannelConfig.Stopbits> |
RxtxChannelOption.STOP_BITS |
static ChannelOption<Integer> |
RxtxChannelOption.WAIT_TIME |
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> |
DefaultServerSocketChannelConfig.getOptions() |
Map<ChannelOption<?>,Object> |
DefaultDatagramChannelConfig.getOptions() |
Modifier and Type | Method and Description |
---|---|
<T> T |
DefaultSocketChannelConfig.getOption(ChannelOption<T> option) |
<T> T |
DefaultServerSocketChannelConfig.getOption(ChannelOption<T> option) |
<T> T |
DefaultDatagramChannelConfig.getOption(ChannelOption<T> option) |
<T> boolean |
DefaultSocketChannelConfig.setOption(ChannelOption<T> option,
T value) |
<T> boolean |
DefaultServerSocketChannelConfig.setOption(ChannelOption<T> option,
T value) |
<T> boolean |
DefaultDatagramChannelConfig.setOption(ChannelOption<T> option,
T value) |
Modifier and Type | Method and Description |
---|---|
Map<ChannelOption<?>,Object> |
DefaultOioSocketChannelConfig.getOptions() |
Map<ChannelOption<?>,Object> |
DefaultOioServerSocketChannelConfig.getOptions() |
Modifier and Type | Method and Description |
---|---|
<T> T |
DefaultOioSocketChannelConfig.getOption(ChannelOption<T> option) |
<T> T |
DefaultOioServerSocketChannelConfig.getOption(ChannelOption<T> option) |
<T> boolean |
DefaultOioSocketChannelConfig.setOption(ChannelOption<T> option,
T value) |
<T> boolean |
DefaultOioServerSocketChannelConfig.setOption(ChannelOption<T> option,
T value) |
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 |
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 |
---|---|
Map<ChannelOption<?>,Object> |
Http2StreamChannelBootstrap.options() |
Modifier and Type | Method and Description |
---|---|
<T> Http2StreamChannelBootstrap |
Http2StreamChannelBootstrap.option(ChannelOption<T> option,
T value)
Specify
ChannelOption s to be set on newly created channels. |
Copyright © 2008–2017 The Netty Project. All rights reserved.