Uses of Class
io.netty5.channel.ChannelOption
-
Packages that use ChannelOption Package Description io.netty5.bootstrap The helper classes with fluent API which enable an easy implementation of typical client side and server side channel initialization.io.netty5.channel The core channel API which is asynchronous and event-driven abstraction of various transports such as a NIO Channel.io.netty5.channel.epoll Optimized transport for linux which uses EPOLL Edge-Triggered Mode for maximal performance.io.netty5.channel.kqueue BSD specific transport.io.netty5.channel.socket.nio NIO-based socket channel API implementation - recommended for a large number of connections (>= 1000).io.netty5.channel.unix Unix specific transport.io.netty5.handler.codec.http2 Handlers for sending and receiving HTTP/2 frames. -
-
Uses of ChannelOption in io.netty5.bootstrap
Methods in io.netty5.bootstrap that return types with arguments of type ChannelOption Modifier and Type Method 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.Methods in io.netty5.bootstrap with parameters of type ChannelOption Modifier and Type Method Description <T> ServerBootstrap
ServerBootstrap. childOption(ChannelOption<T> childOption, T value)
Allow to specify aChannelOption
which is used for theChannel
instances once they get created (after the acceptor accepted theChannel
).<T> B
AbstractBootstrap. option(ChannelOption<T> option, T value)
Allow to specify aChannelOption
which is used for theChannel
instances once they got created. -
Uses of ChannelOption in io.netty5.channel
Methods in io.netty5.channel that return ChannelOption Modifier and Type Method Description static <T> ChannelOption<T>
ChannelOption. newInstance(String name)
Deprecated.usevalueOf(String)
.static <T> ChannelOption<T>
ChannelOption. valueOf(Class<?> firstNameComponent, String secondNameComponent)
static <T> ChannelOption<T>
ChannelOption. valueOf(String name)
Returns theChannelOption
of the specified name.Methods in io.netty5.channel that return types with arguments of type ChannelOption Modifier and Type Method Description protected static Set<ChannelOption<?>>
AbstractChannel. newSupportedIdentityOptionsSet(ChannelOption<?>... options)
Methods in io.netty5.channel with parameters of type ChannelOption Modifier and Type Method Description protected <T> T
AbstractChannel. getExtendedOption(ChannelOption<T> option)
Override to add support for moreChannelOption
s.<T> T
AbstractChannel. getOption(ChannelOption<T> option)
<T> T
Channel. getOption(ChannelOption<T> option)
Return the value of the givenChannelOption
protected boolean
AbstractChannel. isExtendedOptionSupported(ChannelOption<?> option)
Override to add support for moreChannelOption
s.boolean
AbstractChannel. isOptionSupported(ChannelOption<?> option)
boolean
Channel. isOptionSupported(ChannelOption<?> option)
protected static Set<ChannelOption<?>>
AbstractChannel. newSupportedIdentityOptionsSet(ChannelOption<?>... options)
protected <T> void
AbstractChannel. setExtendedOption(ChannelOption<T> option, T value)
Override to add support for moreChannelOption
s.<T> Channel
AbstractChannel. setOption(ChannelOption<T> option, T value)
<T> Channel
Channel. setOption(ChannelOption<T> option, T value)
Sets a configuration property with the specified name and value.protected <T> void
AbstractChannel. validate(ChannelOption<T> option, T value)
-
Uses of ChannelOption in io.netty5.channel.epoll
Subclasses of ChannelOption in io.netty5.channel.epoll Modifier and Type Class Description class
EpollChannelOption<T>
Fields in io.netty5.channel.epoll declared as ChannelOption Modifier and Type Field Description static ChannelOption<Boolean>
EpollChannelOption. IP_FREEBIND
static ChannelOption<Boolean>
EpollChannelOption. IP_RECVORIGDSTADDR
static ChannelOption<Boolean>
EpollChannelOption. IP_TRANSPARENT
static ChannelOption<Integer>
EpollChannelOption. MAX_DATAGRAM_PAYLOAD_SIZE
static ChannelOption<Integer>
EpollChannelOption. SO_BUSY_POLL
static ChannelOption<Boolean>
EpollChannelOption. TCP_CORK
static ChannelOption<Integer>
EpollChannelOption. TCP_DEFER_ACCEPT
static ChannelOption<Integer>
EpollChannelOption. TCP_FASTOPEN
Deprecated.UseTCP_FASTOPEN
instead.static ChannelOption<Boolean>
EpollChannelOption. TCP_FASTOPEN_CONNECT
Deprecated.UseTCP_FASTOPEN_CONNECT
instead.static ChannelOption<EpollTcpInfo>
EpollChannelOption. TCP_INFO
Returns theTCP_INFO
for the current socket.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
static ChannelOption<Boolean>
EpollChannelOption. UDP_GRO
Methods in io.netty5.channel.epoll with parameters of type ChannelOption Modifier and Type Method Description protected <T> T
EpollDatagramChannel. getExtendedOption(ChannelOption<T> option)
protected <T> T
EpollServerSocketChannel. getExtendedOption(ChannelOption<T> option)
protected <T> T
EpollSocketChannel. getExtendedOption(ChannelOption<T> option)
protected boolean
EpollDatagramChannel. isExtendedOptionSupported(ChannelOption<?> option)
protected boolean
EpollServerSocketChannel. isExtendedOptionSupported(ChannelOption<?> option)
protected boolean
EpollSocketChannel. isExtendedOptionSupported(ChannelOption<?> option)
protected <T> void
EpollDatagramChannel. setExtendedOption(ChannelOption<T> option, T value)
protected <T> void
EpollServerSocketChannel. setExtendedOption(ChannelOption<T> option, T value)
protected <T> void
EpollSocketChannel. setExtendedOption(ChannelOption<T> option, T value)
-
Uses of ChannelOption in io.netty5.channel.kqueue
Subclasses of ChannelOption in io.netty5.channel.kqueue Modifier and Type Class Description class
KQueueChannelOption<T>
Fields in io.netty5.channel.kqueue declared as ChannelOption Modifier and Type Field Description static ChannelOption<AcceptFilter>
KQueueChannelOption. SO_ACCEPTFILTER
static ChannelOption<Integer>
KQueueChannelOption. SO_SNDLOWAT
static ChannelOption<Boolean>
KQueueChannelOption. TCP_NOPUSH
Methods in io.netty5.channel.kqueue with parameters of type ChannelOption Modifier and Type Method Description protected <T> T
KQueueDatagramChannel. getExtendedOption(ChannelOption<T> option)
protected <T> T
KQueueServerSocketChannel. getExtendedOption(ChannelOption<T> option)
protected <T> T
KQueueSocketChannel. getExtendedOption(ChannelOption<T> option)
protected boolean
KQueueDatagramChannel. isExtendedOptionSupported(ChannelOption<?> option)
protected boolean
KQueueServerSocketChannel. isExtendedOptionSupported(ChannelOption<?> option)
protected boolean
KQueueSocketChannel. isExtendedOptionSupported(ChannelOption<?> option)
protected <T> void
KQueueDatagramChannel. setExtendedOption(ChannelOption<T> option, T value)
protected <T> void
KQueueServerSocketChannel. setExtendedOption(ChannelOption<T> option, T value)
protected <T> void
KQueueSocketChannel. setExtendedOption(ChannelOption<T> option, T value)
-
Uses of ChannelOption in io.netty5.channel.socket.nio
Subclasses of ChannelOption in io.netty5.channel.socket.nio Modifier and Type Class Description class
NioChannelOption<T>
ProvidesChannelOption
over a givenSocketOption
which is then passed through the underlyingNetworkChannel
.Methods in io.netty5.channel.socket.nio that return ChannelOption Modifier and Type Method Description static <T> ChannelOption<T>
NioChannelOption. of(SocketOption<T> option)
Returns aChannelOption
for the givenSocketOption
.Methods in io.netty5.channel.socket.nio with parameters of type ChannelOption Modifier and Type Method Description protected <T> T
NioDatagramChannel. getExtendedOption(ChannelOption<T> option)
protected <T> T
NioServerSocketChannel. getExtendedOption(ChannelOption<T> option)
protected <T> T
NioSocketChannel. getExtendedOption(ChannelOption<T> option)
protected boolean
NioDatagramChannel. isExtendedOptionSupported(ChannelOption<?> option)
protected boolean
NioServerSocketChannel. isExtendedOptionSupported(ChannelOption<?> option)
protected boolean
NioSocketChannel. isExtendedOptionSupported(ChannelOption<?> option)
protected <T> void
NioDatagramChannel. setExtendedOption(ChannelOption<T> option, T value)
protected <T> void
NioServerSocketChannel. setExtendedOption(ChannelOption<T> option, T value)
protected <T> void
NioSocketChannel. setExtendedOption(ChannelOption<T> option, T value)
-
Uses of ChannelOption in io.netty5.channel.unix
Subclasses of ChannelOption in io.netty5.channel.unix Modifier and Type Class Description class
GenericUnixChannelOption<T>
A generic socket option.class
IntegerUnixChannelOption
class
RawUnixChannelOption
class
UnixChannelOption<T>
Fields in io.netty5.channel.unix declared as ChannelOption Modifier and Type Field Description static ChannelOption<DomainSocketReadMode>
UnixChannelOption. DOMAIN_SOCKET_READ_MODE
static ChannelOption<PeerCredentials>
UnixChannelOption. SO_PEERCRED
Returns the unix credentials (uid, gid, pid) of the peer SO_PEERCREDstatic ChannelOption<Boolean>
UnixChannelOption. SO_REUSEPORT
-
Uses of ChannelOption in io.netty5.handler.codec.http2
Methods in io.netty5.handler.codec.http2 with parameters of type ChannelOption Modifier and Type Method Description <T> Http2StreamChannelBootstrap
Http2StreamChannelBootstrap. option(ChannelOption<T> option, T value)
Allow to specify aChannelOption
which is used for theHttp2StreamChannel
instances once they got created.
-