Class HelidonRequestAdapter
-
- All Implemented Interfaces:
-
com.hexagonkt.http.model.HttpBase,com.hexagonkt.http.model.HttpMessage,com.hexagonkt.http.model.HttpRequestPort
public final class HelidonRequestAdapter implements HttpRequestPort
-
-
Field Summary
Fields Modifier and Type Field Description private final List<X509Certificate>certificateChainprivate final List<ContentType>acceptprivate final LongcontentLengthprivate final QueryParametersqueryParametersprivate final List<HttpPart>partsprivate final FormParametersformParametersprivate final HttpMethodmethodprivate final HttpProtocolprotocolprivate final Stringhostprivate final Integerportprivate final Stringpathprivate final List<Cookie>cookiesprivate final Objectbodyprivate final Headersheadersprivate final ContentTypecontentTypeprivate final Authorizationauthorization
-
Constructor Summary
Constructors Constructor Description HelidonRequestAdapter(Method methodName, ServerRequest req)
-
Method Summary
Modifier and Type Method Description List<X509Certificate>getCertificateChain()List<ContentType>getAccept()LonggetContentLength()QueryParametersgetQueryParameters()List<HttpPart>getParts()FormParametersgetFormParameters()HttpMethodgetMethod()HttpProtocolgetProtocol()StringgetHost()IntegergetPort()StringgetPath()List<Cookie>getCookies()ObjectgetBody()HeadersgetHeaders()ContentTypegetContentType()AuthorizationgetAuthorization()HttpRequestPortwith(Object body, Headers headers, ContentType contentType, HttpMethod method, HttpProtocol protocol, String host, Integer port, String path, QueryParameters queryParameters, List<HttpPart> parts, FormParameters formParameters, List<Cookie> cookies, List<ContentType> accept, Authorization authorization, List<X509Certificate> certificateChain)-
Methods inherited from class com.hexagonkt.http.model.HttpRequestPort
authorization, certificate, origin, partsMap, plus, plus, plus, plus, plus, plus, plus, plus, plus, 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
-
-
Method Detail
-
getCertificateChain
List<X509Certificate> getCertificateChain()
-
getAccept
List<ContentType> getAccept()
-
getContentLength
Long getContentLength()
-
getQueryParameters
QueryParameters getQueryParameters()
-
getParts
List<HttpPart> getParts()
-
getFormParameters
FormParameters getFormParameters()
-
getMethod
HttpMethod getMethod()
-
getProtocol
HttpProtocol getProtocol()
-
getHost
String getHost()
-
getPort
Integer getPort()
-
getPath
String getPath()
-
getCookies
List<Cookie> getCookies()
-
getBody
Object getBody()
-
getHeaders
Headers getHeaders()
-
getContentType
ContentType getContentType()
-
getAuthorization
Authorization getAuthorization()
-
with
HttpRequestPort with(Object body, Headers headers, ContentType contentType, HttpMethod method, HttpProtocol protocol, String host, Integer port, String path, QueryParameters queryParameters, List<HttpPart> parts, FormParameters formParameters, List<Cookie> cookies, List<ContentType> accept, Authorization authorization, List<X509Certificate> certificateChain)
-
-
-
-