Uses of Class
io.netty.channel.ChannelOption
-
Packages that use ChannelOption 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.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.unix Unix specific transport.io.netty.handler.codec.http2 Handlers for sending and receiving HTTP/2 frames. -
-
Uses of ChannelOption in io.netty.bootstrap
Methods in io.netty.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.netty.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.netty.channel
Methods in io.netty.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.netty.channel that return types with arguments of type ChannelOption Modifier and Type Method Description Map<ChannelOption<?>,Object>
ChannelConfig. getOptions()
Return all setChannelOption
's.Map<ChannelOption<?>,Object>
DefaultChannelConfig. getOptions()
protected Map<ChannelOption<?>,Object>
DefaultChannelConfig. getOptions(Map<ChannelOption<?>,Object> result, ChannelOption<?>... options)
Methods in io.netty.channel with parameters of type ChannelOption Modifier and Type Method Description <T> T
ChannelConfig. getOption(ChannelOption<T> option)
Return the value of the givenChannelOption
<T> T
DefaultChannelConfig. getOption(ChannelOption<T> option)
protected Map<ChannelOption<?>,Object>
DefaultChannelConfig. getOptions(Map<ChannelOption<?>,Object> result, ChannelOption<?>... options)
<T> boolean
ChannelConfig. setOption(ChannelOption<T> option, T value)
Sets a configuration property with the specified name and value.<T> boolean
DefaultChannelConfig. setOption(ChannelOption<T> option, T value)
protected <T> void
DefaultChannelConfig. validate(ChannelOption<T> option, T value)
Method parameters in io.netty.channel with type arguments of type ChannelOption Modifier and Type Method Description protected Map<ChannelOption<?>,Object>
DefaultChannelConfig. getOptions(Map<ChannelOption<?>,Object> result, ChannelOption<?>... options)
boolean
ChannelConfig. setOptions(Map<ChannelOption<?>,?> options)
Sets the configuration properties from the specifiedMap
.boolean
DefaultChannelConfig. setOptions(Map<ChannelOption<?>,?> options)
-
Uses of ChannelOption in io.netty.channel.socket
Methods in io.netty.channel.socket that return types with arguments of type ChannelOption Modifier and Type Method Description Map<ChannelOption<?>,Object>
DefaultDatagramChannelConfig. getOptions()
Map<ChannelOption<?>,Object>
DefaultServerSocketChannelConfig. getOptions()
Map<ChannelOption<?>,Object>
DefaultSocketChannelConfig. getOptions()
Methods in io.netty.channel.socket with parameters of type ChannelOption Modifier and Type Method Description <T> T
DefaultDatagramChannelConfig. getOption(ChannelOption<T> option)
<T> T
DefaultServerSocketChannelConfig. getOption(ChannelOption<T> option)
<T> T
DefaultSocketChannelConfig. getOption(ChannelOption<T> option)
<T> boolean
DefaultDatagramChannelConfig. setOption(ChannelOption<T> option, T value)
<T> boolean
DefaultServerSocketChannelConfig. setOption(ChannelOption<T> option, T value)
<T> boolean
DefaultSocketChannelConfig. setOption(ChannelOption<T> option, T value)
-
Uses of ChannelOption in io.netty.channel.socket.nio
Subclasses of ChannelOption in io.netty.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.netty.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
. -
Uses of ChannelOption in io.netty.channel.socket.oio
Methods in io.netty.channel.socket.oio that return types with arguments of type ChannelOption Modifier and Type Method Description Map<ChannelOption<?>,Object>
DefaultOioServerSocketChannelConfig. getOptions()
Deprecated.Map<ChannelOption<?>,Object>
DefaultOioSocketChannelConfig. getOptions()
Deprecated.Methods in io.netty.channel.socket.oio with parameters of type ChannelOption Modifier and Type Method 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. -
Uses of ChannelOption in io.netty.channel.unix
Subclasses of ChannelOption in io.netty.channel.unix Modifier and Type Class Description class
UnixChannelOption<T>
Fields in io.netty.channel.unix declared as ChannelOption Modifier and Type Field Description static ChannelOption<DomainSocketReadMode>
UnixChannelOption. DOMAIN_SOCKET_READ_MODE
static ChannelOption<Boolean>
UnixChannelOption. SO_REUSEPORT
-
Uses of ChannelOption in io.netty.handler.codec.http2
Methods in io.netty.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.
-