spray.http.HttpEntity

NonEmpty

case class NonEmpty extends HttpEntity with Product with Serializable

Models a non-empty entity. The buffer array is guaranteed to have a size greater than zero. CAUTION: Even though the byte array is directly exposed for performance reasons all instances of this class are assumed to be immutable! spray never modifies the buffer contents after an HttpEntity.NonEmpty instance has been created. If you modify the buffer contents by writing to the array things WILL BREAK!

Linear Supertypes
Serializable, Serializable, Product, Equals, HttpEntity, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. NonEmpty
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. HttpEntity
  7. AnyRef
  8. 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 asString(defaultCharset: HttpCharset): String

    Definition Classes
    NonEmptyHttpEntity
  8. def asString: String

    Definition Classes
    NonEmptyHttpEntity
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. val contentType: ContentType

  11. val data: HttpData.NonEmpty

    Definition Classes
    NonEmptyHttpEntity
  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def flatMap(f: (NonEmpty) ⇒ HttpEntity): HttpEntity

    Definition Classes
    NonEmptyHttpEntity
  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. def isEmpty: Boolean

    Definition Classes
    NonEmptyHttpEntity
  17. final def isInstanceOf[T0]: Boolean

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

    Definition Classes
    AnyRef
  19. def nonEmpty: Boolean

    Definition Classes
    HttpEntity
  20. final def notify(): Unit

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

    Definition Classes
    AnyRef
  22. def orElse(other: HttpEntity): HttpEntity

    Definition Classes
    NonEmptyHttpEntity
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  24. def toOption: Some[NonEmpty]

    Definition Classes
    NonEmptyHttpEntity
  25. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from HttpEntity

Inherited from AnyRef

Inherited from Any

Ungrouped