package common
- Alphabetic
- Public
- Protected
Type Members
- final class CsvEntityStreamingSupport extends javadsl.common.CsvEntityStreamingSupport
- abstract class EntityStreamingSupport extends javadsl.common.EntityStreamingSupport
Entity streaming support trait allowing rendering and receiving incoming
from HTTP entities.Source[T, _]
Entity streaming support trait allowing rendering and receiving incoming
from HTTP entities.Source[T, _]
See JsonEntityStreamingSupport or CsvEntityStreamingSupport for default implementations.
- final class JsonEntityStreamingSupport extends javadsl.common.JsonEntityStreamingSupport
- class NameDefaultReceptacle[T] extends AnyRef
- class NameDefaultUnmarshallerReceptacle[T] extends AnyRef
- class NameOptionReceptacle[T] extends AnyRef
- class NameOptionUnmarshallerReceptacle[T] extends AnyRef
- class NameReceptacle[T] extends AnyRef
- class NameUnmarshallerReceptacle[T] extends AnyRef
- class RepeatedValueReceptacle[T] extends AnyRef
- class RepeatedValueUnmarshallerReceptacle[T] extends AnyRef
- class RequiredValueReceptacle[T] extends AnyRef
- class RequiredValueUnmarshallerReceptacle[T] extends AnyRef
- sealed abstract class StrictForm extends AnyRef
Read-only abstraction on top of
application/x-www-form-urlencoded
and multipart form data, allowing joint unmarshalling access to either kind, **if** you supply both, a akka.http.scaladsl.unmarshalling.FromStringUnmarshaller as well as a akka.http.scaladsl.unmarshalling.FromEntityUnmarshaller for the target typeT
.Read-only abstraction on top of
application/x-www-form-urlencoded
and multipart form data, allowing joint unmarshalling access to either kind, **if** you supply both, a akka.http.scaladsl.unmarshalling.FromStringUnmarshaller as well as a akka.http.scaladsl.unmarshalling.FromEntityUnmarshaller for the target typeT
. Note: In order to allow for random access to the field values streamed multipart form data are strictified! Don't use this abstraction on potentially unbounded forms (e.g. large file uploads).If you only need to consume one type of form (
application/x-www-form-urlencoded
*or* multipart) then simply unmarshal directly to the respective form abstraction (akka.http.scaladsl.model.FormData or akka.http.scaladsl.model.Multipart.FormData) rather than going through StrictForm.Simple usage example:
val strictFormFuture = Unmarshal(entity).to[StrictForm] val fooFieldUnmarshalled: Future[T] = strictFormFuture flatMap { form => Unmarshal(form field "foo").to[T] }
Value Members
- object EntityStreamingSupport
Entity streaming support, independent of used Json parsing library etc.
- object SSLContextFactory
- object StrictForm
- object ToNameReceptacleEnhancements extends ToNameReceptacleEnhancements