@Internal public interface ChannelOptionFactory
Modifier and Type | Method and Description |
---|---|
default io.netty.channel.ChannelOption<?> |
channelOption(String name)
Creates a channel options.
|
default Object |
convertValue(io.netty.channel.ChannelOption<?> option,
Object value,
Environment env)
Converts the specified value given the channel option type.
|
default io.netty.channel.ChannelOption<?> channelOption(String name)
name
- The name of the option.default Object convertValue(io.netty.channel.ChannelOption<?> option, Object value, Environment env)
option
- The channel option.value
- The value to convert.env
- The environment use for the conversion.