T
- The type to be handled@Internal public interface NettyCustomizableResponseTypeHandler<T> extends Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Modifier and Type | Method and Description |
---|---|
void |
handle(T object,
HttpRequest<?> request,
NettyMutableHttpResponse<?> response,
io.netty.channel.ChannelHandlerContext context)
Responsible for fully handling the response, including any closing of the channel.
|
boolean |
supports(Class<?> type) |
void handle(T object, HttpRequest<?> request, NettyMutableHttpResponse<?> response, io.netty.channel.ChannelHandlerContext context)
object
- The object to be handledrequest
- The native Netty requestresponse
- The mutable Micronaut responsecontext
- The channel contextboolean supports(Class<?> type)
type
- The type to check