Class ChannelOption<T>

java.lang.Object
io.netty.util.AbstractConstant<ChannelOption<T>>
io.netty.channel.ChannelOption<T>
Type Parameters:
T - the type of the value which is valid for the ChannelOption
All Implemented Interfaces:
Constant<ChannelOption<T>>, Comparable<ChannelOption<T>>
Direct Known Subclasses:
Http2StreamChannelOption, NioChannelOption, SctpChannelOption, UnixChannelOption

public class ChannelOption<T> extends AbstractConstant<ChannelOption<T>>
A ChannelOption allows to configure a ChannelConfig in a type-safe way. Which ChannelOption is supported depends on the actual implementation of ChannelConfig and may depend on the nature of the transport it belongs to.