Scala wrapper around Netty cookies.
Adapt cookies of a Message to a mutable Map where cookies are indexed by their name.
Message headers map.
Message headers map.
Header names are case-insensitive. For example, get("accept") is the same as get("Accept").
The map is a multi-map. Use getAll() to get all values for a key. Use add() to append a key-value.
The compression level to use. If passed the default value (-1) then use TextualContentCompressor which will compress text-like content-types with the default compression level (6). Otherwise, use HttpContentCompressor for all content-types with specified compression level.
Trait HttpMuxHandler is used for service-loading HTTP handlers.
A service that dispatches incoming requests to registered handlers.
A service that dispatches incoming requests to registered handlers. In order to choose which handler to dispatch the request to, we take the path of the request and match it with the patterns of the pre-registered handlers. The pattern matching follows these rules:
NOTE: When multiple pattern matches exist, the longest pattern wins.
A Transport with close behavior managed by ConnectionManager.
Mutable-Map-backed HeaderMap
Map-backed ParamMap.
Rich HttpMessage
Rich HttpMessage
Base class for Request and Response. There are both input and output methods, though only one set of methods should be used.
HttpMessage-backed HeaderMap.
Request parameter map.
Request parameter map.
This is a multi-map. Use getAll() get all values for a key.
Rich HttpRequest.
Rich HttpRequest.
Use RequestProxy to created an even richer subclass.
HttpRequest-backed param map.
HttpRequest-backed param map. Handle parameters in the URL and form encoded body. Multipart forms are not supported (not needed, could be abusive).
This map is a multi-map. Use getAll() to get all values for a key.
Proxy for Request.
Proxy for Request. This can be used to create a richer request class that wraps Request.
Rich HttpResponse
Ed.
Ed. note: I'm not sure how parameterizing on REQUEST <: Request works safely, ever. This is a big typesafety bug: the codec is blindly casting Requests to REQUEST.
Setting aggregateChunks to false disables the aggregator, and consequently lifts the restriction on request size.
the underlying HTTP CodecFactory
if true, the client pipeline collects HttpChunks into the body of each HttpResponse
Convert exceptions to BadHttpRequests
Adds the host headers to the org.jboss.netty.handler.codec.http.HttpRequest for TLS-enabled requests.
Empty ParamMap
Singleton default multiplex service
Scala aliases for HttpMethod.
Scala aliases for HttpMethod. Java users should use Netty's HttpMethod.
Factory for com.twitter.finagle.http.RequestBuilder instances
A SPNEGO HTTP authenticator as defined in https://tools.ietf.org/html/rfc4559, which gets its credentials from a provided CredentialSource...
A SPNEGO HTTP authenticator as defined in https://tools.ietf.org/html/rfc4559, which gets its credentials from a provided CredentialSource... usually JAAS.
Scala aliases for HttpResponseStatus.
Scala aliases for HttpResponseStatus. Java users should use Netty's HttpResponseStatus.
Scala aliases for HttpVersion.
Scala aliases for HttpVersion. Java users should use Netty's HttpVersion
Adapt cookies of a Message to a mutable Map where cookies are indexed by their name. Requests use the Cookie header and Responses use the Set-Cookie header. If a cookie is added to the CookieMap, a header is automatically added to the Message. You can add the same cookie more than once. Use getAll to retrieve all of them, otherwise only the first one is returned. If a cookie is removed from the CookieMap, a header is automatically removed from the message.