@DefaultImplementation(value=io.micronaut.http.server.netty.DefaultHttpContentProcessorResolver.class) public interface HttpContentProcessorResolver
HttpContentProcessor
to use to process
the body of the request.Modifier and Type | Method and Description |
---|---|
HttpContentProcessor<?> |
resolve(NettyHttpRequest<?> request)
Resolves the processor for the given request.
|
HttpContentProcessor<?> |
resolve(NettyHttpRequest<?> request,
Argument<?> bodyType)
Resolves the processor for the given request and body argument.
|
HttpContentProcessor<?> |
resolve(NettyHttpRequest<?> request,
RouteMatch<?> route)
Resolves the processor for the given request and route.
|
@NonNull HttpContentProcessor<?> resolve(@NonNull NettyHttpRequest<?> request, @NonNull RouteMatch<?> route)
request
- The requestroute
- The matched route@NonNull HttpContentProcessor<?> resolve(@NonNull NettyHttpRequest<?> request, @NonNull Argument<?> bodyType)
request
- The requestbodyType
- The body argument@NonNull HttpContentProcessor<?> resolve(@NonNull NettyHttpRequest<?> request)
request
- The request