@Internal public interface NettyStreamedCustomizableResponseType extends NettyCustomizableResponseType
InputStream to the Netty context.| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getInputStream() |
default void |
process(MutableHttpResponse<?> response)
Modify the response before it is written to the client.
|
default io.netty.channel.ChannelFuture |
write(HttpRequest<?> request,
MutableHttpResponse<?> response,
io.netty.channel.ChannelHandlerContext context)
Write this instance to Netty.
|
InputStream getInputStream()
default io.netty.channel.ChannelFuture write(HttpRequest<?> request, MutableHttpResponse<?> response, io.netty.channel.ChannelHandlerContext context)
NettyCustomizableResponseTypewrite in interface NettyCustomizableResponseTyperequest - The requestresponse - The responsecontext - The Netty ChannelHandlerContextdefault void process(MutableHttpResponse<?> response)
CustomizableResponseTypeprocess in interface CustomizableResponseTyperesponse - The response to modify