spray.routing.directives

EncodingDirectives

trait EncodingDirectives extends AnyRef

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. EncodingDirectives
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def compressResponse(magnet: CompressResponseMagnet): Directive0

    Wraps its inner Route with response compression, using the specified encoders in the given order of preference.

    Wraps its inner Route with response compression, using the specified encoders in the given order of preference. If no encoders are specifically given Gzip, Deflate and NoEncoding are used in this order, depending on what the client accepts.

  9. def compressResponseIfRequested(magnet: RefFactoryMagnet): Directive0

    Wraps its inner Route with response compression if and only if the client specifically requests compression with an Accept-Encoding header.

  10. def decodeRequest(decoder: Decoder): Directive0

    Wraps its inner Route with decoding support using the given Decoder.

  11. def decompressRequest(first: Decoder, more: Decoder*): Directive0

    Decompresses the incoming request if it is encoded with one of the given encoders.

    Decompresses the incoming request if it is encoded with one of the given encoders. If the request encoding doesn't match one of the given encoders the request is rejected with an UnsupportedRequestEncodingRejection.

  12. def decompressRequest(): Directive0

    Decompresses the incoming request if it is GZip or Deflate encoded.

    Decompresses the incoming request if it is GZip or Deflate encoded. Uncompressed requests are passed on to the inner route unchanged.

  13. def encodeResponse(magnet: EncodeResponseMagnet): Directive0

    Wraps its inner Route with encoding support using the given Encoder.

  14. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. def requestEncodedWith(encoding: HttpEncoding): Directive0

    Rejects the request with an UnsupportedRequestEncodingRejection if its encoding doesn't match the given one.

  24. def responseEncodingAccepted(encoding: HttpEncoding): Directive0

    Rejects the request with an UnacceptedResponseEncodingRejection if the given encoding is not accepted for the response.

  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  26. def toString(): String

    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped