Trait

com.nrinaudo.fetch

RequestEntityLike

Related Doc: package fetch

Permalink

trait RequestEntityLike[+Self <: RequestEntityLike[Self]] extends AnyRef

Self Type
Self
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RequestEntityLike
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def build(mediaType: MediaType, encoding: Encoding): Self

    Permalink

    Creates a new instance of this class with the specified values.

    Creates a new instance of this class with the specified values.

    Attributes
    protected
  2. abstract def encoding: Encoding

    Permalink

    Encoding in which the request entity should be transferred.

    Encoding in which the request entity should be transferred.

    Some but not all servers will accept encodings other than Encoding.Identity. When such is known to be the case, using Encoding.Gzip, for example, can yield significant performance gains.

  3. abstract def length: Option[Long]

    Permalink

    Length, in bytes, of the request entity.

    Length, in bytes, of the request entity.

    Note that this is different from the content length, which represents the number of bytes that will actually be transferred. This can be less than the entity's length if, for example, the gzip encoding is used.

  4. abstract def mediaType: MediaType

    Permalink

    Media type of the request entity.

  5. abstract def write(out: OutputStream): Unit

    Permalink

    Writes this request entity to the specified output stream.

    Writes this request entity to the specified output stream.

    Attributes
    protected

Concrete Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply(out: OutputStream): Unit

    Permalink

    Writes this request entity to the specified output stream, applying its transfer encoding if applicable.

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def contentLength: Option[Long]

    Permalink

    Number of bytes that will be transferred when this request entity is sent to a remote host.

  8. def deflate: Self

    Permalink

    Sets this request entity's transfer encoding to Encoding.Deflate.

  9. def encoding(value: Encoding): Self

    Permalink

    Sets this request entity's transfer encoding to the specified value.

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def gzip: Self

    Permalink

    Sets this request entity's transfer encoding to Encoding.Gzip.

  15. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  17. def mediaType(value: MediaType): Self

    Permalink

    Sets this request entity's media type.

  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped