package model
- Alphabetic
- Public
- Protected
Type Members
- abstract class AttributeKey[T] extends AnyRef
- Annotations
- @DoNotInherit()
- final class AttributeKeys extends AnyRef
- abstract class Authority extends AnyRef
Represents a hostname, port and user info.
- trait BodyPartEntity extends HttpEntity
Marker-interface for entity types that can be used in a body part
- abstract class ContentRange extends AnyRef
- trait ContentType extends AnyRef
Represents an Http content-type.
Represents an Http content-type. A content-type consists of a media-type and an optional charset.
See ContentTypes for convenience access to often used values.
- abstract class ContentTypeRange extends AnyRef
A data structure that combines an acceptable media range and an acceptable charset range into one structure to be used with unmarshalling.
- final class ContentTypes extends AnyRef
Contains the set of predefined content-types for convenience.
Contains the set of predefined content-types for convenience.
If the
ContentType
you're looking for is not pre-defined here, you can obtain it from aMediaType
by using:MediaTypes.TEXT_HTML.toContentType()
- abstract class DateTime extends AnyRef
Immutable, fast and efficient Date + Time implementation without any dependencies.
Immutable, fast and efficient Date + Time implementation without any dependencies. Does not support TimeZones, all DateTime values are always GMT based. Note that this implementation discards milliseconds (i.e. rounds down to full seconds).
- final class FormData extends AnyRef
Simple model for
application/x-www-form-urlencoded
form data. - abstract class Host extends AnyRef
Represents a host in a URI or a Host header.
Represents a host in a URI or a Host header. The host can either be empty or be represented by an IPv4 or IPv6 address or by a host name.
- abstract class HttpCharset extends AnyRef
Represents a charset in Http.
Represents a charset in Http. See
HttpCharsets
for a set of predefined charsets and static constructors to create custom charsets.- See also
HttpCharsets for convenience access to often used values.
- abstract class HttpCharsetRange extends AnyRef
Represents an Http charset range.
Represents an Http charset range. This can either be
*
which matches all charsets or a specific charset.HttpCharsetRanges
contains static constructors for HttpCharsetRanges.- See also
HttpCharsetRanges for convenience access to often used values.
- final class HttpCharsetRanges extends AnyRef
Contains constructors to create a HttpCharsetRange.
- final class HttpCharsets extends AnyRef
Contains a set of predefined charsets.
- final class HttpEntities extends AnyRef
Constructors for HttpEntity instances
- trait HttpEntity extends AnyRef
Represents the entity of an Http message.
Represents the entity of an Http message. An entity consists of the content-type of the data and the actual data itself. Some subtypes of HttpEntity also define the content-length of the data.
An HttpEntity can be of several kinds:
- HttpEntity.Empty: the statically known empty entity
- HttpEntity.Strict: an entity containing already evaluated ByteString data
- HttpEntity.Default: the default entity which has a known length and which contains a stream of ByteStrings.
- HttpEntity.Chunked: represents an entity that is delivered using
Transfer-Encoding: chunked
- HttpEntity.CloseDelimited: an entity which doesn't have a fixed length but which is delimited by closing the connection.
- HttpEntity.IndefiniteLength: an entity which doesn't have a fixed length which can be used to construct BodyParts with indefinite length
Marker-interfaces denote which subclasses can be used in which context:
- RequestEntity: an entity type that can be used in an HttpRequest
- ResponseEntity: an entity type that can be used in an HttpResponse
- BodyPartEntity: an entity type that can be used in a BodyPart
- UniversalEntity: an entity type that can be used in every context
Use the static constructors in HttpEntities to construct instances.
Not meant for user extension.
- Annotations
- @DoNotInherit()
- See also
HttpEntities for javadsl convenience methods.
- abstract class HttpHeader extends AnyRef
The base type representing Http headers.
The base type representing Http headers. All actual header values will be instances of one of the subtypes defined in the
headers
packages. Unknown headers will be subtypes ofakka.http.javadsl.model.headers.RawHeader
. Not for user extension.- Annotations
- @DoNotInherit()
- trait HttpMessage extends AnyRef
The base type for an Http message (request or response).
The base type for an Http message (request or response).
INTERNAL API: this trait will be changed in binary-incompatible ways for classes that are derived from it! Do not implement this interface outside the Akka code base!
Binary compatibility is only maintained for callers of this trait’s interface.
- Annotations
- @DoNotInherit()
- abstract class HttpMethod extends AnyRef
Represents an HTTP request method.
Represents an HTTP request method. See
HttpMethods
for a set of predefined methods and static constructors to create custom ones.- See also
HttpMethods for convenience access to often used values.
- final class HttpMethods extends AnyRef
Contains static constants for predefined method types.
- abstract class HttpProtocol extends AnyRef
Represents an Http protocol (currently only HTTP/1.0 or HTTP/1.1).
Represents an Http protocol (currently only HTTP/1.0 or HTTP/1.1). See
HttpProtocols
for the predefined constants for the supported protocols.- See also
HttpProtocols for convenience access to often used values.
- final class HttpProtocols extends AnyRef
Contains constants of the supported Http protocols.
- abstract class HttpRequest extends HttpMessage with MessageTransformations[HttpRequest]
Represents an Http request.
- abstract class HttpResponse extends HttpMessage with MessageTransformations[HttpResponse]
Represents an Http response.
- abstract class MediaRange extends AnyRef
Represents an Http media-range.
Represents an Http media-range. A media-range either matches a single media-type or it matches all media-types of a given main-type. Each range can specify a qValue or other parameters.
- final class MediaRanges extends AnyRef
Contains a set of predefined media-ranges and static methods to create custom ones.
- trait MediaType extends AnyRef
- final class MediaTypes extends AnyRef
Contains the set of predefined media-types.
- trait Multipart extends AnyRef
The model of multipart content for media-types
multipart/\*
(general multipart content),multipart/form-data
andmultipart/byteranges
.The model of multipart content for media-types
multipart/\*
(general multipart content),multipart/form-data
andmultipart/byteranges
.The basic modelling classes for these media-types (akka.http.scaladsl.Multipart.General, Multipart.FormData and akka.http.scaladsl.Multipart.ByteRanges, respectively) are stream-based but each have a strict counterpart (namely akka.http.scaladsl.Multipart.General.Strict, akka.http.scaladsl.Multipart.FormData.Strict and akka.http.scaladsl.Multipart.ByteRanges.Strict).
- final class Multiparts extends AnyRef
Constructors for Multipart instances
- abstract class Query extends AnyRef
- abstract class RemoteAddress extends AnyRef
- final class RemoteAddresses extends AnyRef
- trait RequestEntity extends ResponseEntity
Marker-interface for entity types that can be used in a request
- abstract class RequestEntityAcceptance extends AnyRef
- See also
RequestEntityAcceptances for convenience access to often used values. Do not extend this to a concrete Java class, as implementation of RequestEntityAcceptation should only exist in Scala
- final class RequestEntityAcceptances extends AnyRef
- trait RequestResponseAssociation extends AnyRef
A marker trait for attribute values that should be (automatically) carried over from request to response.
- trait ResponseEntity extends HttpEntity
Marker-interface for entity types that can be used in a response
- final class ResponseFuture extends scaladsl.model.RequestResponseAssociation
An association for completing a future when the response arrives.
- trait SslSessionInfo extends AnyRef
- abstract class StatusCode extends AnyRef
Represents an Http status-code and message.
Represents an Http status-code and message. See
StatusCodes
for the set of predefined status-codes.- See also
StatusCodes for convenience access to often used values.
- final class StatusCodes extends AnyRef
Contains the set of predefined status-codes along with static methods to access and create custom status-codes.
- trait Trailer extends AnyRef
Trailing headers for HTTP/2 responses
- abstract class TransferEncoding extends AnyRef
- See also
TransferEncodings for convenience access to often used values.
- final class TransferEncodings extends AnyRef
- trait UniversalEntity extends RequestEntity with ResponseEntity with BodyPartEntity
Marker-interface for entity types that can be used in any context
- abstract class Uri extends AnyRef
Represents an Uri.
Represents an Uri. Use methods on the class to create modified copies of a given instance.
Value Members
- object ContentType
- object MediaType
Represents an Http media-type.
Represents an Http media-type. A media-type consists of a main-type and a sub-type.
See MediaTypes for convenience access to often used values.
- object ResponseFuture
- object SslSessionInfo
- object Trailer