Package 

Class NettyRequestAdapter

  • All Implemented Interfaces:
    com.hexagonkt.http.model.HttpBase , com.hexagonkt.http.model.HttpMessage , com.hexagonkt.http.model.HttpRequest , com.hexagonkt.http.server.model.HttpServerRequestPort

    
    public final class NettyRequestAdapter
     implements HttpServerRequestPort
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final List<ContentType> accept
      private final Long contentLength
      private final HttpFields<QueryParameter> queryParameters
      private final List<HttpPartPort> parts
      private final HttpFields<FormParameter> formParameters
      private final HttpMethod method
      private final HttpProtocol protocol
      private final String host
      private final Integer port
      private final String path
      private final List<HttpCookie> cookies
      private final Object body
      private final HttpFields<Header> headers
      private final ContentType contentType
      private final List<X509Certificate> certificateChain
    • Constructor Summary

      Constructors 
      Constructor Description
      NettyRequestAdapter(HttpMethod methodName, FullHttpRequest req, List<X509Certificate> certificateChain, InetSocketAddress address)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      List<ContentType> getAccept()
      Long getContentLength()
      HttpFields<QueryParameter> getQueryParameters()
      List<HttpPartPort> getParts()
      HttpFields<FormParameter> getFormParameters()
      HttpMethod getMethod()
      HttpProtocol getProtocol()
      String getHost()
      Integer getPort()
      String getPath()
      List<HttpCookie> getCookies()
      Object getBody()
      HttpFields<Header> getHeaders()
      ContentType getContentType()
      List<X509Certificate> getCertificateChain()
      • Methods inherited from class com.hexagonkt.http.model.HttpMessage

        bodyString
      • Methods inherited from class com.hexagonkt.http.server.netty.NettyRequestAdapter

        certificate
      • Methods inherited from class com.hexagonkt.http.model.HttpRequest

        cookiesMap
      • Methods inherited from class com.hexagonkt.http.server.model.HttpServerRequestPort

        origin, partsMap, referer, url, userAgent
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait