Package io.micronaut.spring.web.reactive
Class DefaultChannelResolver
java.lang.Object
io.micronaut.spring.web.reactive.DefaultChannelResolver
- All Implemented Interfaces:
ChannelResolver
Default implementation of
ChannelResolver
.- Since:
- 1.0
- Author:
- graemerocher
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionOptional<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.
-
Constructor Details
-
DefaultChannelResolver
public DefaultChannelResolver()
-
-
Method Details
-
resolveChannel
Description copied from interface:ChannelResolver
Resolve the backing netty channel.- Specified by:
resolveChannel
in interfaceChannelResolver
- 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 interfaceChannelResolver
- Parameters:
request
- The request- Returns:
- The processor
-