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). -
-
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> ServerBootstrapServerBootstrap. childOption(ChannelOption<T> childOption, T value)Allow to specify aChannelOptionwhich is used for theChannelinstances once they get created (after the acceptor accepted theChannel).<T> BAbstractBootstrap. option(ChannelOption<T> option, T value)Allow to specify aChannelOptionwhich is used for theChannelinstances 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 theChannelOptionof 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 default <T> TChannel. getOption(ChannelOption<T> option)Return the value of the givenChannelOption<T> TChannelConfig. getOption(ChannelOption<T> option)Return the value of the givenChannelOption<T> TDefaultChannelConfig. getOption(ChannelOption<T> option)protected Map<ChannelOption<?>,Object>DefaultChannelConfig. getOptions(Map<ChannelOption<?>,Object> result, ChannelOption<?>... options)default <T> booleanChannel. setOption(ChannelOption<T> option, T value)Sets a configuration property with the specified name and value.<T> booleanChannelConfig. setOption(ChannelOption<T> option, T value)Sets a configuration property with the specified name and value.<T> booleanDefaultChannelConfig. setOption(ChannelOption<T> option, T value)protected <T> voidDefaultChannelConfig. 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)booleanChannelConfig. setOptions(Map<ChannelOption<?>,?> options)Sets the configuration properties from the specifiedMap.booleanDefaultChannelConfig. 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> TDefaultDatagramChannelConfig. getOption(ChannelOption<T> option)<T> TDefaultServerSocketChannelConfig. getOption(ChannelOption<T> option)<T> TDefaultSocketChannelConfig. getOption(ChannelOption<T> option)<T> booleanDefaultDatagramChannelConfig. setOption(ChannelOption<T> option, T value)<T> booleanDefaultServerSocketChannelConfig. setOption(ChannelOption<T> option, T value)<T> booleanDefaultSocketChannelConfig. 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 classNioChannelOption<T>ProvidesChannelOptionover a givenSocketOptionwhich 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 aChannelOptionfor 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> TDefaultOioServerSocketChannelConfig. getOption(ChannelOption<T> option)Deprecated.<T> TDefaultOioSocketChannelConfig. getOption(ChannelOption<T> option)Deprecated.<T> booleanDefaultOioServerSocketChannelConfig. setOption(ChannelOption<T> option, T value)Deprecated.<T> booleanDefaultOioSocketChannelConfig. setOption(ChannelOption<T> option, T value)Deprecated.
-