Class KQueueChannelOptionFactory
java.lang.Object
io.micronaut.http.netty.channel.converters.KQueueChannelOptionFactory
- All Implemented Interfaces:
- TypeConverterRegistrar,- ChannelOptionFactory
@Internal
@Prototype
@Requires(classes=io.netty.channel.kqueue.KQueue.class,
          condition=KQueueAvailabilityCondition.class)
public class KQueueChannelOptionFactory
extends Object
implements ChannelOptionFactory, TypeConverterRegistrar
Creates channel options.
- Author:
- croudet
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionio.netty.channel.ChannelOption<?>channelOption(String name) Creates a channel options.convertValue(io.netty.channel.ChannelOption<?> option, Object value, Environment env) Converts the specified value given the channel option type.voidregister(MutableConversionService conversionService) Interface for registrars ofTypeConverterinstances.
- 
Constructor Details- 
KQueueChannelOptionFactorypublic KQueueChannelOptionFactory()
 
- 
- 
Method Details- 
channelOptionDescription copied from interface:ChannelOptionFactoryCreates a channel options.- Specified by:
- channelOptionin interface- ChannelOptionFactory
- Parameters:
- name- The name of the option.
- Returns:
- A channel option.
 
- 
convertValueDescription copied from interface:ChannelOptionFactoryConverts the specified value given the channel option type.- Specified by:
- convertValuein interface- ChannelOptionFactory
- Parameters:
- option- The channel option.
- value- The value to convert.
- env- The environment use for the conversion.
- Returns:
- The converted value.
 
- 
registerDescription copied from interface:TypeConverterRegistrarInterface for registrars ofTypeConverterinstances.- Specified by:
- registerin interface- TypeConverterRegistrar
- Parameters:
- conversionService- The- ConversionService
 
 
-