-
- 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
-
-
Field Summary
Fields Modifier and Type Field Description private final HttpMethodmethodprivate final HttpProtocolprotocolprivate final Stringhostprivate final Integerportprivate final Stringpathprivate final QueryParametersqueryParametersprivate final Headersheadersprivate final Objectbodyprivate final List<HttpPart>partsprivate final FormParametersformParametersprivate final List<Cookie>cookiesprivate final ContentTypecontentTypeprivate final List<X509Certificate>certificateChainprivate final List<ContentType>acceptprivate final LongcontentLengthprivate final Authorizationauthorization
-
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)
-
Method Summary
Modifier and Type Method Description HttpMethodgetMethod()HttpProtocolgetProtocol()StringgetHost()IntegergetPort()StringgetPath()QueryParametersgetQueryParameters()HeadersgetHeaders()ObjectgetBody()List<HttpPart>getParts()FormParametersgetFormParameters()List<Cookie>getCookies()ContentTypegetContentType()List<X509Certificate>getCertificateChain()List<ContentType>getAccept()LonggetContentLength()AuthorizationgetAuthorization()-
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)
-
-
Method Detail
-
getMethod
HttpMethod getMethod()
-
getProtocol
HttpProtocol getProtocol()
-
getHost
String getHost()
-
getPort
Integer getPort()
-
getPath
String getPath()
-
getQueryParameters
QueryParameters getQueryParameters()
-
getHeaders
Headers getHeaders()
-
getBody
Object getBody()
-
getParts
List<HttpPart> getParts()
-
getFormParameters
FormParameters getFormParameters()
-
getCookies
List<Cookie> getCookies()
-
getContentType
ContentType getContentType()
-
getCertificateChain
List<X509Certificate> getCertificateChain()
-
getAccept
List<ContentType> getAccept()
-
getContentLength
Long getContentLength()
-
getAuthorization
Authorization getAuthorization()
-
-
-
-