play.api.mvc

HttpConnection

Related Doc: package mvc

object HttpConnection extends Enumeration

The connection semantics for the result.

Source
Results.scala
Linear Supertypes
Enumeration, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. HttpConnection
  2. Enumeration
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type Connection = Value

  2. class Val extends Value with Serializable

    Attributes
    protected
    Definition Classes
    Enumeration
    Annotations
    @SerialVersionUID()
  3. abstract class Value extends Ordered[Value] with Serializable

    Definition Classes
    Enumeration
    Annotations
    @SerialVersionUID()
  4. class ValueSet extends AbstractSet[Value] with SortedSet[Value] with SortedSetLike[Value, ValueSet] with Serializable

    Definition Classes
    Enumeration

Value Members

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

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

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

    Definition Classes
    AnyRef → Any
  4. val Close: Value

    Close the connection once the response body has been sent.

    Close the connection once the response body has been sent.

    This will take precedence to any Connection header specified in the request.

    No buffering of the response will be attempted. This means if the result contains no Content-Length header, none will be calculated.

  5. val KeepAlive: Value

    Prefer to keep the connection alive.

    Prefer to keep the connection alive.

    If no Content-Length header is present, and no Transfer-Encoding header is present, then the body will be buffered for a maximum of one chunk from the enumerator, in an attempt to calculate the content length. If the enumerator contains more than one chunk, then the body will be sent chunked if the client is using HTTP 1.1, or the body will be sent as is, but the connection will be closed after the body is sent.

    There are cases where the connection won't be kept alive. These are as follows:

    - The protocol the client is using is HTTP 1.0 and the client hasn't sent a Connection: keep-alive header. - The client has sent a Connection: close header. - There is no Content-Length or Transfer-Encoding header present, the enumerator contains more than one chunk, and the protocol the client is using is HTTP 1.0, hence chunked encoding can't be used as a fallback.

  6. final def Value(i: Int, name: String): Value

    Attributes
    protected
    Definition Classes
    Enumeration
  7. final def Value(name: String): Value

    Attributes
    protected
    Definition Classes
    Enumeration
  8. final def Value(i: Int): Value

    Attributes
    protected
    Definition Classes
    Enumeration
  9. final def Value: Value

    Attributes
    protected
    Definition Classes
    Enumeration
  10. final def apply(x: Int): Value

    Definition Classes
    Enumeration
  11. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  12. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Definition Classes
    Any
  19. final def maxId: Int

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

    Definition Classes
    AnyRef
  21. var nextId: Int

    Attributes
    protected
    Definition Classes
    Enumeration
  22. var nextName: Iterator[String]

    Attributes
    protected
    Definition Classes
    Enumeration
  23. final def notify(): Unit

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

    Definition Classes
    AnyRef
  25. def readResolve(): AnyRef

    Attributes
    protected
    Definition Classes
    Enumeration
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  27. def toString(): String

    Definition Classes
    Enumeration → AnyRef → Any
  28. def values: ValueSet

    Definition Classes
    Enumeration
  29. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def withName(s: String): Value

    Definition Classes
    Enumeration

Inherited from Enumeration

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped