Package

play.api.libs

ws

Permalink

package ws

Provides implicit type classes when you import the package.

Source
package.scala
Linear Supertypes
WSBodyWritables, XMLBodyWritables, JsonBodyWritables, DefaultBodyWritables, WSBodyReadables, XMLBodyReadables, JsonBodyReadables, DefaultBodyReadables, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ws
  2. WSBodyWritables
  3. XMLBodyWritables
  4. JsonBodyWritables
  5. DefaultBodyWritables
  6. WSBodyReadables
  7. XMLBodyReadables
  8. JsonBodyReadables
  9. DefaultBodyReadables
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait WSBodyReadables extends DefaultBodyReadables with JsonBodyReadables with XMLBodyReadables

    Permalink

    JSON, XML and Multipart Form Data Readables used for Play-WS bodies.

  2. trait WSBodyWritables extends DefaultBodyWritables with JsonBodyWritables with XMLBodyWritables

    Permalink

    JSON, XML and Multipart Form Data Writables used for Play-WS bodies.

  3. trait WSClient extends Closeable

    Permalink

    A Play specific WS client that can use Play specific classes in the request and response building.

    A Play specific WS client that can use Play specific classes in the request and response building.

    Typically, access this class through dependency injection, i.e.

    class MyService @Inject()(ws: WSClient) {
      val response: Future[WSResponse] = ws.url("http://example.com").get()
    }

    Please see the documentation at https://www.playframework.com/documentation/latest/ScalaWS for more details.

  4. trait WSRequest extends StandaloneWSRequest with WSBodyWritables

    Permalink

    A WS Request builder.

  5. trait WSResponse extends StandaloneWSResponse with WSBodyReadables

    Permalink

    A WS Response that can use Play specific classes.

Value Members

  1. object WSBodyReadables extends WSBodyReadables

    Permalink
  2. object WSBodyWritables extends WSBodyWritables

    Permalink
  3. package ahc

    Permalink
  4. def body(objectMapper: ObjectMapper): BodyWritable[JsonNode]

    Permalink
    Definition Classes
    JsonBodyWritables
  5. implicit val bodyWritableOf_Multipart: BodyWritable[Source[Part[Source[ByteString, _]], _]]

    Permalink
    Definition Classes
    WSBodyWritables
  6. implicit val readableAsByteArray: BodyReadable[Array[Byte]]

    Permalink
    Definition Classes
    DefaultBodyReadables
  7. implicit val readableAsByteBuffer: BodyReadable[ByteBuffer]

    Permalink
    Definition Classes
    DefaultBodyReadables
  8. implicit val readableAsByteString: BodyReadable[ByteString]

    Permalink
    Definition Classes
    DefaultBodyReadables
  9. implicit val readableAsJson: BodyReadable[JsValue]

    Permalink
    Definition Classes
    JsonBodyReadables
  10. implicit val readableAsSource: BodyReadable[Source[ByteString, _]]

    Permalink
    Definition Classes
    DefaultBodyReadables
  11. implicit val readableAsString: BodyReadable[String]

    Permalink
    Definition Classes
    DefaultBodyReadables
  12. implicit val readableAsXml: BodyReadable[Elem]

    Permalink
    Definition Classes
    XMLBodyReadables
  13. implicit val writableOf_File: BodyWritable[File]

    Permalink
    Definition Classes
    DefaultBodyWritables
  14. implicit val writableOf_InputStream: BodyWritable[Supplier[InputStream]]

    Permalink
    Definition Classes
    DefaultBodyWritables
  15. implicit val writableOf_Source: BodyWritable[Source[ByteString, _]]

    Permalink
    Definition Classes
    DefaultBodyWritables
  16. implicit val writeableOf_ByteArray: BodyWritable[Array[Byte]]

    Permalink
    Definition Classes
    DefaultBodyWritables
  17. implicit val writeableOf_ByteBuffer: BodyWritable[ByteBuffer]

    Permalink
    Definition Classes
    DefaultBodyWritables
  18. implicit val writeableOf_Bytes: BodyWritable[ByteString]

    Permalink
    Definition Classes
    DefaultBodyWritables
  19. implicit val writeableOf_Document: BodyWritable[Document]

    Permalink
    Definition Classes
    XMLBodyWritables
  20. implicit val writeableOf_JsValue: BodyWritable[JsValue]

    Permalink
    Definition Classes
    JsonBodyWritables
  21. implicit val writeableOf_NodeBuffer: BodyWritable[NodeBuffer]

    Permalink
    Definition Classes
    XMLBodyWritables
  22. implicit def writeableOf_NodeSeq[C <: NodeSeq]: BodyWritable[C]

    Permalink
    Definition Classes
    XMLBodyWritables
  23. implicit val writeableOf_String: BodyWritable[String]

    Permalink
    Definition Classes
    DefaultBodyWritables
  24. implicit val writeableOf_StringBuilder: BodyWritable[StringBuilder]

    Permalink
    Definition Classes
    DefaultBodyWritables
  25. implicit val writeableOf_WsBody: BodyWritable[WSBody]

    Permalink
    Definition Classes
    DefaultBodyWritables
  26. implicit val writeableOf_urlEncodedForm: BodyWritable[Map[String, Seq[String]]]

    Permalink
    Definition Classes
    DefaultBodyWritables
  27. implicit val writeableOf_urlEncodedSimpleForm: BodyWritable[Map[String, String]]

    Permalink
    Definition Classes
    DefaultBodyWritables

Inherited from WSBodyWritables

Inherited from XMLBodyWritables

Inherited from JsonBodyWritables

Inherited from DefaultBodyWritables

Inherited from WSBodyReadables

Inherited from XMLBodyReadables

Inherited from JsonBodyReadables

Inherited from DefaultBodyReadables

Inherited from AnyRef

Inherited from Any

Ungrouped