Class AbstractNettyHttpRequest<B>

java.lang.Object
io.netty.util.DefaultAttributeMap
io.micronaut.http.netty.AbstractNettyHttpRequest<B>
Type Parameters:
B - The body
All Implemented Interfaces:
AttributeHolder, MutableAttributeHolder, HttpMessage<B>, HttpRequest<B>, NettyHttpRequestBuilder, io.netty.util.AttributeMap
Direct Known Subclasses:
NettyHttpRequest

@Internal public abstract class AbstractNettyHttpRequest<B> extends io.netty.util.DefaultAttributeMap implements HttpRequest<B>, NettyHttpRequestBuilder
Abstract implementation of HttpRequest for Netty.
Since:
1.0
Author:
Graeme Rocher
  • Field Details

    • STREAM_ID

      public static final io.netty.util.AsciiString STREAM_ID
    • HTTP2_SCHEME

      public static final io.netty.util.AsciiString HTTP2_SCHEME
    • nettyRequest

      protected final io.netty.handler.codec.http.HttpRequest nettyRequest
    • conversionService

      protected final ConversionService conversionService
    • httpMethod

      protected final HttpMethod httpMethod
    • uri

      protected final URI uri
    • httpMethodName

      protected final String httpMethodName
  • Constructor Details

    • AbstractNettyHttpRequest

      public AbstractNettyHttpRequest(io.netty.handler.codec.http.HttpRequest nettyRequest, ConversionService conversionService)
      Parameters:
      nettyRequest - The Http netty request
      conversionService - The conversion service
  • Method Details