play.api.libs.ws.ning

NingWSRequest

case class NingWSRequest(client: NingWSClient, method: String, auth: Option[(String, String, WSAuthScheme)], calc: Option[WSSignatureCalculator], headers: Map[String, Seq[String]], body: WSBody, builder: RequestBuilder) extends WSRequest with Product with Serializable

A WS Request.

Source
NingWS.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, WSRequest, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. NingWSRequest
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. WSRequest
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new NingWSRequest(client: NingWSClient, method: String, auth: Option[(String, String, WSAuthScheme)], calc: Option[WSSignatureCalculator], headers: Map[String, Seq[String]], body: WSBody, builder: RequestBuilder)

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. def allHeaders: Map[String, Seq[String]]

    Return the current headers of the request being constructed

    Return the current headers of the request being constructed

    Definition Classes
    NingWSRequestWSRequest
  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. val builder: RequestBuilder

  7. val client: NingWSClient

  8. def clone(): AnyRef

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

    Definition Classes
    AnyRef
  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def getBody: Option[Array[Byte]]

    Get the body.

    Get the body.

    Will only return the body if the body exists in memory, will not return it if it's a stream.

    Definition Classes
    NingWSRequestWSRequest
  12. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  13. def header(name: String): Option[String]

    Retrieve an HTTP header.

    Retrieve an HTTP header.

    Definition Classes
    NingWSRequestWSRequest
  14. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  15. val method: String

    The HTTP method.

    The HTTP method.

    Definition Classes
    NingWSRequestWSRequest
  16. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  19. def queryString: Map[String, Seq[String]]

    Return the current query string parameters

    Return the current query string parameters

    Definition Classes
    NingWSRequestWSRequest
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  21. def url: String

    The URL

    The URL

    Definition Classes
    NingWSRequestWSRequest
  22. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def addHeader(name: String, value: String): NingWSRequest

    Add an HTTP header (used for headers with multiple values).

    Add an HTTP header (used for headers with multiple values).

    Definition Classes
    NingWSRequestWSRequest
    Annotations
    @deprecated
    Deprecated

    (Since version 2.3.0) This will be a protected method, please use WSRequestHolder

  2. def build: Request

    Annotations
    @deprecated
    Deprecated

    (Since version 2.3.0) This will be a protected method, please use WSRequestHolder

  3. def setBody(byteArray: Array[Byte]): NingWSRequest

    Annotations
    @deprecated
    Deprecated

    (Since version 2.3.0) This will be a protected method, please use WSRequestHolder

  4. def setBody(bodyGenerator: BodyGenerator): NingWSRequest

    Annotations
    @deprecated
    Deprecated

    (Since version 2.3.0) This will be a protected method, please use WSRequestHolder

  5. def setBody(s: String): NingWSRequest

    Annotations
    @deprecated
    Deprecated

    (Since version 2.3.0) This will be a protected method, please use WSRequestHolder

  6. def setFollowRedirects(followRedirects: Boolean): NingWSRequest

    Annotations
    @deprecated
    Deprecated

    (Since version 2.3.0) This will be a protected method, please use WSRequestHolder

  7. def setHeader(name: String, value: String): NingWSRequest

    Set an HTTP header.

    Set an HTTP header.

    Definition Classes
    NingWSRequestWSRequest
    Annotations
    @deprecated
    Deprecated

    (Since version 2.3.0) This will be a protected method, please use WSRequestHolder

  8. def setHeaders(hdrs: Map[String, Seq[String]]): NingWSRequest

    Defines the request headers.

    Defines the request headers.

    Definition Classes
    NingWSRequestWSRequest
    Annotations
    @deprecated
    Deprecated

    (Since version 2.3.0) This will be a protected method, please use WSRequestHolder

  9. def setHeaders(hdrs: Map[String, Collection[String]]): NingWSRequest

    Defines the request headers.

    Defines the request headers.

    Definition Classes
    NingWSRequestWSRequest
    Annotations
    @deprecated
    Deprecated

    (Since version 2.3.0) This will be a protected method, please use WSRequestHolder

  10. def setHeaders(hdrs: FluentCaseInsensitiveStringsMap): NingWSRequest

    Defines the request headers.

    Defines the request headers.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.3.0) This will be a protected method, please use WSRequestHolder

  11. def setPerRequestConfig(config: PerRequestConfig): NingWSRequest

    Annotations
    @deprecated
    Deprecated

    (Since version 2.3.0) This will be a protected method, please use WSRequestHolder

  12. def setProxyServer(proxyServer: com.ning.http.client.ProxyServer): NingWSRequest

    Annotations
    @deprecated
    Deprecated

    (Since version 2.3.0) This will be a protected method, please use WSRequestHolder

  13. def setQueryString(queryString: Map[String, Seq[String]]): NingWSRequest

    Defines the query string.

    Defines the query string.

    Definition Classes
    NingWSRequestWSRequest
    Annotations
    @deprecated
    Deprecated

    (Since version 2.3.0) This will be a protected method, please use WSRequestHolder

  14. def setUrl(url: String): NingWSRequest

    Defines the URL.

    Defines the URL.

    Definition Classes
    NingWSRequestWSRequest
    Annotations
    @deprecated
    Deprecated

    (Since version 2.3.0) This will be a protected method, please use WSRequestHolder

  15. def setVirtualHost(virtualHost: String): NingWSRequest

    Annotations
    @deprecated
    Deprecated

    (Since version 2.3.0) This will be a protected method, please use WSRequestHolder

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from WSRequest

Inherited from AnyRef

Inherited from Any

Ungrouped