Interface NettyStreamedCustomizableResponseType

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.slf4j.Logger LOG  
    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      java.io.InputStream getInputStream()  
      default void process​(io.micronaut.http.MutableHttpResponse<?> response)  
      default 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.
    • Field Detail

      • LOG

        static final org.slf4j.Logger LOG
    • Method Detail

      • getInputStream

        java.io.InputStream getInputStream()
      • write

        default io.netty.channel.ChannelFuture write​(io.micronaut.http.HttpRequest<?> request,
                                                     io.micronaut.http.MutableHttpResponse<?> response,
                                                     io.netty.channel.ChannelHandlerContext context)
        Description copied from interface: NettyCustomizableResponseType
        Write this instance to Netty.
        Specified by:
        write in interface NettyCustomizableResponseType
        Parameters:
        request - The request
        response - The response
        context - The Netty ChannelHandlerContext
        Returns:
        The netty future that completes when the response is fully written.
      • process

        default void process​(io.micronaut.http.MutableHttpResponse<?> response)
        Specified by:
        process in interface io.micronaut.http.server.types.CustomizableResponseType