@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)
NettyCustomizableResponseType
write
in interface NettyCustomizableResponseType
request
- The requestresponse
- The responsecontext
- The Netty ChannelHandlerContext
default void process(MutableHttpResponse<?> response)
CustomizableResponseType
process
in interface CustomizableResponseType
response
- The response to modify