Packages

trait Coder extends Encoder with Decoder

Marker trait for A combined Encoder and Decoder

Source
Coder.scala
Linear Supertypes
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Coder
  2. Decoder
  3. Encoder
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def decoderFlow: Flow[ByteString, ByteString, NotUsed]
    Definition Classes
    Decoder
  2. abstract def encoding: HttpEncoding
    Definition Classes
    Decoder
  3. abstract def maxBytesPerChunk: Int
    Definition Classes
    Decoder
  4. abstract def messageFilter: (HttpMessage) => Boolean
    Definition Classes
    Encoder
  5. abstract def withMaxBytesPerChunk(maxBytesPerChunk: Int): Decoder
    Definition Classes
    Decoder
  6. abstract def newCompressor: Compressor
    Definition Classes
    Encoder
    Annotations
    @InternalApi() @deprecated
    Deprecated

    (Since version 10.2.0) newCompressor is internal API

Concrete Value Members

  1. def decode(input: ByteString)(implicit mat: Materializer): Future[ByteString]
    Definition Classes
    Decoder
  2. def decodeData[T](t: T)(implicit mapper: DataMapper[T]): T
    Definition Classes
    Decoder
  3. def decodeMessage(message: HttpMessage): Self
    Definition Classes
    Decoder
  4. def encodeAsync(input: ByteString)(implicit mat: Materializer): Future[ByteString]
    Definition Classes
    Encoder
  5. def encodeData[T](t: T)(implicit mapper: DataMapper[T]): T
    Definition Classes
    Encoder
  6. def encodeMessage(message: HttpMessage): Self
    Definition Classes
    Encoder
  7. def encoderFlow: Flow[ByteString, ByteString, NotUsed]
    Definition Classes
    Encoder

Deprecated Value Members

  1. def encode(input: ByteString): ByteString
    Definition Classes
    Encoder
    Annotations
    @InternalApi() @deprecated
    Deprecated

    (Since version 10.2.0) synchronous compression with encode is not supported in the future any more, use encodeAsync instead

  2. def newEncodeTransformer(): GraphStage[FlowShape[ByteString, ByteString]]
    Definition Classes
    Encoder
    Annotations
    @InternalApi() @deprecated
    Deprecated

    (Since version 10.2.0) newEncodeTransformer is internal API