Package 

Class HttpServerRequest

  • 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 HttpServerRequest
     implements HttpServerRequestPort
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      HttpServerRequest(HttpMethod method, HttpProtocol protocol, String host, Integer port, String path, QueryParameters queryParameters, Headers headers, Object body, List<HttpPart> parts, FormParameters formParameters, List<Cookie> cookies, ContentType contentType, List<X509Certificate> certificateChain, List<ContentType> accept, Long contentLength, Authorization authorization)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      HttpMethod getMethod()
      HttpProtocol getProtocol()
      String getHost()
      Integer getPort()
      String getPath()
      QueryParameters getQueryParameters()
      Headers getHeaders()
      Object getBody()
      List<HttpPart> getParts()
      FormParameters getFormParameters()
      List<Cookie> getCookies()
      ContentType getContentType()
      List<X509Certificate> getCertificateChain()
      List<ContentType> getAccept()
      Long getContentLength()
      Authorization getAuthorization()
      • Methods inherited from class com.hexagonkt.http.server.model.HttpServerRequestPort

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

        authorization, origin, partsMap, referer, url, userAgent
      • Methods inherited from class com.hexagonkt.http.model.HttpBase

        bodyString
      • Methods inherited from class com.hexagonkt.http.model.HttpMessage

        cookiesMap
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HttpServerRequest

        HttpServerRequest(HttpMethod method, HttpProtocol protocol, String host, Integer port, String path, QueryParameters queryParameters, Headers headers, Object body, List<HttpPart> parts, FormParameters formParameters, List<Cookie> cookies, ContentType contentType, List<X509Certificate> certificateChain, List<ContentType> accept, Long contentLength, Authorization authorization)