Interface ChannelResolver

All Known Implementing Classes:
DefaultChannelResolver, MicronautNettyChannelResolver

public interface ChannelResolver
Channel resolver interface.
Since:
1.0
Author:
graemerocher
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional<io.netty.channel.Channel>
    resolveChannel(io.micronaut.http.HttpRequest<?> request)
    Resolve the backing netty channel.
    Optional<io.micronaut.http.server.netty.HttpContentProcessor>
    resolveContentProcessor(io.micronaut.http.HttpRequest<?> request)
    Resolve the content processor.
  • Method Details

    • resolveChannel

      Optional<io.netty.channel.Channel> resolveChannel(io.micronaut.http.HttpRequest<?> request)
      Resolve the backing netty channel.
      Parameters:
      request - The request
      Returns:
      The channel
    • resolveContentProcessor

      Optional<io.micronaut.http.server.netty.HttpContentProcessor> resolveContentProcessor(io.micronaut.http.HttpRequest<?> request)
      Resolve the content processor.
      Parameters:
      request - The request
      Returns:
      The processor