Interface NettyCustomizableResponseType
-
- All Superinterfaces:
io.micronaut.http.server.types.CustomizableResponseType
- All Known Subinterfaces:
NettyFileCustomizableResponseType,NettyStreamedCustomizableResponseType
- All Known Implementing Classes:
NettyStreamedFileCustomizableResponseType,NettySystemFileCustomizableResponseType
@Internal public interface NettyCustomizableResponseType extends io.micronaut.http.server.types.CustomizableResponseTypeA special type that allows writing data in Netty.- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description io.netty.channel.ChannelFuturewrite(io.micronaut.http.HttpRequest<?> request, io.micronaut.http.MutableHttpResponse<?> response, io.netty.channel.ChannelHandlerContext context)Write this instance to Netty.
-
-
-
Method Detail
-
write
io.netty.channel.ChannelFuture write(io.micronaut.http.HttpRequest<?> request, io.micronaut.http.MutableHttpResponse<?> response, io.netty.channel.ChannelHandlerContext context)Write this instance to Netty.- Parameters:
request- The requestresponse- The responsecontext- The NettyChannelHandlerContext- Returns:
- The netty future that completes when the response is fully written.
-
-