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, HttpFields<QueryParameter> queryParameters, HttpFields<Header> headers, Object body, List<HttpPart> parts, HttpFields<FormParameter> formParameters, List<HttpCookie> cookies, ContentType contentType, List<X509Certificate> certificateChain, List<ContentType> accept, Long contentLength)
    • 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()
      HttpFields<QueryParameter> getQueryParameters()
      HttpFields<Header> getHeaders()
      Object getBody()
      List<HttpPart> getParts()
      HttpFields<FormParameter> getFormParameters()
      List<HttpCookie> getCookies()
      ContentType getContentType()
      List<X509Certificate> getCertificateChain()
      List<ContentType> getAccept()
      Long getContentLength()
      • Methods inherited from class com.hexagonkt.http.server.model.HttpServerRequestPort

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

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

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

        origin, partsMap, referer, url, userAgent
      • 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, HttpFields<QueryParameter> queryParameters, HttpFields<Header> headers, Object body, List<HttpPart> parts, HttpFields<FormParameter> formParameters, List<HttpCookie> cookies, ContentType contentType, List<X509Certificate> certificateChain, List<ContentType> accept, Long contentLength)