< Back
 

# Packages

-  package root
  Definition Classes
    root
-  package uk
  Definition Classes
    root
-  package gov
  Definition Classes
    uk
-  package hmrc
  Definition Classes
    gov
-  package play
  Definition Classes
    hmrc
-  package http
  Definition Classes
    play
-  package ws
  Definition Classes
    http
-  package default
  Definition Classes
    ws
- WSDelete
- WSExecute
- WSGet
- WSHttp
- WSHttpResponse
- WSPatch
- WSPost
- WSProxy
- WSProxyConfiguration
- WSPut
- WSRequest
- WSRequestBuilder

t

uk.gov.hmrc.play.http.ws

# WSHttp 

###

#### trait WSHttp extends WSGet with WSPut with WSPost with WSDelete with WSPatch

Linear Supertypes
WSPatch, default.WSPatch, PatchHttpTransport, CorePatch, WSDelete, default.WSDelete, DeleteHttpTransport, CoreDelete, WSPost, default.WSPost, PostHttpTransport, CorePost, WSPut, default.WSPut, PutHttpTransport, CorePut, WSGet, WSRequest, default.WSGet, WSExecute, WSRequestBuilder, Request, GetHttpTransport, CoreGet, AnyRef, Any
 
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. WSHttp
2. WSPatch
3. WSPatch
4. PatchHttpTransport
5. CorePatch
6. WSDelete
7. WSDelete
8. DeleteHttpTransport
9. CoreDelete
10. WSPost
11. WSPost
12. PostHttpTransport
13. CorePost
14. WSPut
15. WSPut
16. PutHttpTransport
17. CorePut
18. WSGet
19. WSRequest
20. WSGet
21. WSExecute
22. WSRequestBuilder
23. Request
24. GetHttpTransport
25. CoreGet
26. AnyRef
27. Any

1. Hide All
2. Show All

Visibility

1. Public
2. All

### Abstract Value Members

1.  abstract def DELETE[O](url: String, headers: Seq[(String, String)] = Seq.empty)(implicit rds: HttpReads[O], hc: HeaderCarrier, ec: ExecutionContext): Future[O]
   Definition Classes
     CoreDelete
2.  abstract def GET[A](url: String, queryParams: Seq[(String, String)] = Seq.empty, headers: Seq[(String, String)] = Seq.empty)(implicit rds: HttpReads[A], hc: HeaderCarrier, ec: ExecutionContext): Future[A]
   Definition Classes
     CoreGet
3.  abstract def PATCH[I, O](url: String, body: I, headers: Seq[(String, String)] = Seq.empty)(implicit wts: Writes[I], rds: HttpReads[O], hc: HeaderCarrier, ec: ExecutionContext): Future[O]
   Definition Classes
     CorePatch
4.  abstract def POST[I, O](url: String, body: I, headers: Seq[(String, String)] = Seq.empty)(implicit wts: Writes[I], rds: HttpReads[O], hc: HeaderCarrier, ec: ExecutionContext): Future[O]
   Definition Classes
     CorePost
5.  abstract def POSTEmpty[O](url: String, headers: Seq[(String, String)] = Seq.empty)(implicit rds: HttpReads[O], hc: HeaderCarrier, ec: ExecutionContext): Future[O]
   Definition Classes
     CorePost
6.  abstract def POSTForm[O](url: String, body: Map[String, Seq[String]], headers: Seq[(String, String)] = Seq.empty)(implicit rds: HttpReads[O], hc: HeaderCarrier, ec: ExecutionContext): Future[O]
   Definition Classes
     CorePost
7.  abstract def POSTString[O](url: String, body: String, headers: Seq[(String, String)] = Seq.empty)(implicit rds: HttpReads[O], hc: HeaderCarrier, ec: ExecutionContext): Future[O]
   Definition Classes
     CorePost
8.  abstract def PUT[I, O](url: String, body: I, headers: Seq[(String, String)] = Seq.empty)(implicit wts: Writes[I], rds: HttpReads[O], hc: HeaderCarrier, ec: ExecutionContext): Future[O]
   Definition Classes
     CorePut
9.  abstract def PUTString[O](url: String, body: String, headers: Seq[(String, String)] = Seq.empty)(implicit rds: HttpReads[O], hc: HeaderCarrier, ec: ExecutionContext): Future[O]
   Definition Classes
     CorePut
10.  abstract def configuration: Config
    Attributes
      protected
    Definition Classes
      WSRequestBuilder
11.  abstract def wsClient: WSClient
    Attributes
      protected
    Definition Classes
      WSRequestBuilder

### Concrete 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 DELETE[O](url: URL, headers: Seq[(String, String)])(implicit rds: HttpReads[O], hc: HeaderCarrier, ec: ExecutionContext): Future[O]
   Definition Classes
     CoreDelete
5.  final def DELETE[O](url: URL)(implicit rds: HttpReads[O], hc: HeaderCarrier, ec: ExecutionContext): Future[O]
   Definition Classes
     CoreDelete
6.  def GET[A](url: URL, headers: Seq[(String, String)])(implicit rds: HttpReads[A], hc: HeaderCarrier, ec: ExecutionContext): Future[A]
   Definition Classes
     CoreGet
7.  final def GET[A](url: URL)(implicit rds: HttpReads[A], hc: HeaderCarrier, ec: ExecutionContext): Future[A]
   Definition Classes
     CoreGet
8.  def PATCH[I, O](url: URL, body: I, headers: Seq[(String, String)])(implicit wts: Writes[I], rds: HttpReads[O], hc: HeaderCarrier, ec: ExecutionContext): Future[O]
   Definition Classes
     CorePatch
9.  final def PATCH[I, O](url: URL, body: I)(implicit wts: Writes[I], rds: HttpReads[O], hc: HeaderCarrier, ec: ExecutionContext): Future[O]
   Definition Classes
     CorePatch
10.  def POST[I, O](url: URL, body: I, headers: Seq[(String, String)])(implicit wts: Writes[I], rds: HttpReads[O], hc: HeaderCarrier, ec: ExecutionContext): Future[O]
    Definition Classes
      CorePost
11.  final def POST[I, O](url: URL, body: I)(implicit wts: Writes[I], rds: HttpReads[O], hc: HeaderCarrier, ec: ExecutionContext): Future[O]
    Definition Classes
      CorePost
12.  def POSTEmpty[O](url: URL, headers: Seq[(String, String)])(implicit rds: HttpReads[O], hc: HeaderCarrier, ec: ExecutionContext): Future[O]
    Definition Classes
      CorePost
13.  final def POSTEmpty[O](url: URL)(implicit rds: HttpReads[O], hc: HeaderCarrier, ec: ExecutionContext): Future[O]
    Definition Classes
      CorePost
14.  def POSTForm[O](url: URL, body: Map[String, Seq[String]], headers: Seq[(String, String)])(implicit rds: HttpReads[O], hc: HeaderCarrier, ec: ExecutionContext): Future[O]
    Definition Classes
      CorePost
15.  final def POSTForm[O](url: URL, body: Map[String, Seq[String]])(implicit rds: HttpReads[O], hc: HeaderCarrier, ec: ExecutionContext): Future[O]
    Definition Classes
      CorePost
16.  def POSTString[O](url: URL, body: String, headers: Seq[(String, String)])(implicit rds: HttpReads[O], hc: HeaderCarrier, ec: ExecutionContext): Future[O]
    Definition Classes
      CorePost
17.  final def POSTString[O](url: URL, body: String)(implicit rds: HttpReads[O], hc: HeaderCarrier, ec: ExecutionContext): Future[O]
    Definition Classes
      CorePost
18.  def PUT[I, O](url: URL, body: I, headers: Seq[(String, String)])(implicit wts: Writes[I], rds: HttpReads[O], hc: HeaderCarrier, ec: ExecutionContext): Future[O]
    Definition Classes
      CorePut
19.  final def PUT[I, O](url: URL, body: I)(implicit wts: Writes[I], rds: HttpReads[O], hc: HeaderCarrier, ec: ExecutionContext): Future[O]
    Definition Classes
      CorePut
20.  def PUTString[O](url: URL, body: String, headers: Seq[(String, String)])(implicit rds: HttpReads[O], hc: HeaderCarrier, ec: ExecutionContext): Future[O]
    Definition Classes
      CorePut
21.  final def PUTString[O](url: URL, body: String)(implicit rds: HttpReads[O], hc: HeaderCarrier, ec: ExecutionContext): Future[O]
    Definition Classes
      CorePut
22.  final def asInstanceOf[T0]: T0
    Definition Classes
      Any
23.  def buildRequest[A](url: String, headers: Seq[(String, String)])(implicit hc: HeaderCarrier): play.api.libs.ws.WSRequest
    Definition Classes
      WSRequest → WSRequestBuilder
24.  def clone(): AnyRef
    Attributes
      protected[lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( ... ) @native()
25.  def doDelete(url: String, headers: Seq[(String, String)])(implicit hc: HeaderCarrier, ec: ExecutionContext): Future[HttpResponse]
    Definition Classes
      WSDelete → DeleteHttpTransport
26.  def doEmptyPost[A](url: String, headers: Seq[(String, String)])(implicit hc: HeaderCarrier, ec: ExecutionContext): Future[HttpResponse]
    Definition Classes
      WSPost → PostHttpTransport
27.  def doFormPost(url: String, body: Map[String, Seq[String]], headers: Seq[(String, String)])(implicit hc: HeaderCarrier, ec: ExecutionContext): Future[HttpResponse]
    Definition Classes
      WSPost → PostHttpTransport
28.  def doGet(url: String, headers: Seq[(String, String)])(implicit hc: HeaderCarrier, ec: ExecutionContext): Future[HttpResponse]
    Definition Classes
      WSGet → GetHttpTransport
29.  def doPatch[A](url: String, body: A, headers: Seq[(String, String)])(implicit rds: Writes[A], hc: HeaderCarrier, ec: ExecutionContext): Future[HttpResponse]
    Definition Classes
      WSPatch → PatchHttpTransport
30.  def doPost[A](url: String, body: A, headers: Seq[(String, String)])(implicit rds: Writes[A], hc: HeaderCarrier, ec: ExecutionContext): Future[HttpResponse]
    Definition Classes
      WSPost → PostHttpTransport
31.  def doPostString(url: String, body: String, headers: Seq[(String, String)])(implicit hc: HeaderCarrier, ec: ExecutionContext): Future[HttpResponse]
    Definition Classes
      WSPost → PostHttpTransport
32.  def doPut[A](url: String, body: A, headers: Seq[(String, String)])(implicit rds: Writes[A], hc: HeaderCarrier, ec: ExecutionContext): Future[HttpResponse]
    Definition Classes
      WSPut → PutHttpTransport
33.  def doPutString(url: String, body: String, headers: Seq[(String, String)])(implicit hc: HeaderCarrier, ec: ExecutionContext): Future[HttpResponse]
    Definition Classes
      WSPut → PutHttpTransport
34.  final def eq(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
35.  def equals(arg0: Any): Boolean
    Definition Classes
      AnyRef → Any
36.  def finalize(): Unit
    Attributes
      protected[lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( classOf[java.lang.Throwable] )
37.  final def getClass(): Class[_]
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
38.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
39.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
40.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
41.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
42.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
43.  final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
      AnyRef
44.  def toString(): String
    Definition Classes
      AnyRef → Any
45.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
46.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
47.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... ) @native()
48.  def withEmptyBody(request: play.api.libs.ws.WSRequest): play.api.libs.ws.WSRequest
    Definition Classes
      WSPost → WSPost

### Inherited from WSPatch

### Inherited from default.WSPatch

### Inherited from PatchHttpTransport

### Inherited from CorePatch

### Inherited from WSDelete

### Inherited from default.WSDelete

### Inherited from DeleteHttpTransport

### Inherited from CoreDelete

### Inherited from WSPost

### Inherited from default.WSPost

### Inherited from PostHttpTransport

### Inherited from CorePost

### Inherited from WSPut

### Inherited from default.WSPut

### Inherited from PutHttpTransport

### Inherited from CorePut

### Inherited from WSGet

### Inherited from WSRequest

### Inherited from default.WSGet

### Inherited from WSExecute

### Inherited from WSRequestBuilder

### Inherited from Request

### Inherited from GetHttpTransport

### Inherited from CoreGet

### Inherited from AnyRef

### Inherited from Any

### Ungrouped