Class DefaultChannelResolver

java.lang.Object
io.micronaut.spring.web.reactive.DefaultChannelResolver
All Implemented Interfaces:
ChannelResolver

@Singleton public class DefaultChannelResolver extends Object implements ChannelResolver
Default implementation of ChannelResolver.
Since:
1.0
Author:
graemerocher
  • Constructor Details

    • DefaultChannelResolver

      public DefaultChannelResolver()
  • Method Details

    • resolveChannel

      public Optional<io.netty.channel.Channel> resolveChannel(io.micronaut.http.HttpRequest<?> request)
      Description copied from interface: ChannelResolver
      Resolve the backing netty channel.
      Specified by:
      resolveChannel in interface ChannelResolver
      Parameters:
      request - The request
      Returns:
      The channel
    • resolveContentProcessor

      public Optional<io.micronaut.http.server.netty.HttpContentProcessor> resolveContentProcessor(io.micronaut.http.HttpRequest<?> request)
      Description copied from interface: ChannelResolver
      Resolve the content processor.
      Specified by:
      resolveContentProcessor in interface ChannelResolver
      Parameters:
      request - The request
      Returns:
      The processor