NettyRequestAdapter

class NettyRequestAdapter(    methodName: HttpMethod,     req: HttpRequest,     val certificateChain: List<X509Certificate>,     channel: Channel,     nettyHeaders: HttpHeaders) : HttpRequestPort

Constructors

Link copied to clipboard
constructor(methodName: HttpMethod, req: HttpRequest, certificateChain: List<X509Certificate>, channel: Channel, nettyHeaders: HttpHeaders)

Properties

Link copied to clipboard
open override val accept: List<ContentType>
Link copied to clipboard
open override val authorization: Authorization?
Link copied to clipboard
open override val body: Any
Link copied to clipboard
Link copied to clipboard
open override val contentLength: Long
Link copied to clipboard
open override val contentType: ContentType?
Link copied to clipboard
open override val cookies: List<Cookie>
Link copied to clipboard
open override val formParameters: Parameters
Link copied to clipboard
open override val headers: Headers
Link copied to clipboard
open override val host: String
Link copied to clipboard
open override val method: HttpMethod
Link copied to clipboard
open override val parts: List<HttpPart>
Link copied to clipboard
open override val path: String
Link copied to clipboard
open override val pathParameters: Map<String, Any>
Link copied to clipboard
open override val pathPattern: PathPattern? = null
Link copied to clipboard
open override val port: Int
Link copied to clipboard
open override val protocol: HttpProtocol
Link copied to clipboard
open override val queryParameters: Parameters

Functions

Link copied to clipboard
Link copied to clipboard
open fun bodyString(): String
Link copied to clipboard
Link copied to clipboard
open fun cookiesMap(): Map<String, Cookie>
Link copied to clipboard
open fun origin(): String?
Link copied to clipboard
open fun partsMap(): Map<String, HttpPart>
Link copied to clipboard
open operator fun plus(cookie: Cookie): HttpRequestPort
open operator fun plus(headers: Headers): HttpRequestPort
open operator fun plus(header: HttpField): HttpRequestPort
open operator fun plus(part: HttpPart): HttpRequestPort
Link copied to clipboard
open fun referer(): String?
Link copied to clipboard
open fun uri(): URI
Link copied to clipboard
open fun userAgent(): String?
Link copied to clipboard
open override fun with(    body: Any,     headers: Headers,     contentType: ContentType?,     method: HttpMethod,     protocol: HttpProtocol,     host: String,     port: Int,     path: String,     queryParameters: Parameters,     parts: List<HttpPart>,     formParameters: Parameters,     cookies: List<Cookie>,     accept: List<ContentType>,     authorization: Authorization?,     certificateChain: List<X509Certificate>,     pathPattern: PathPattern?,     pathParameters: Map<String, Any>): HttpRequestPort