package ws
- Alphabetic
- By Inheritance
- ws
- WSBodyWritables
- XMLBodyWritables
- JsonBodyWritables
- DefaultBodyWritables
- WSBodyReadables
- XMLBodyReadables
- JsonBodyReadables
- DefaultBodyReadables
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
trait
WSBodyReadables extends DefaultBodyReadables with JsonBodyReadables with XMLBodyReadables
JSON, XML and Multipart Form Data Readables used for Play-WS bodies.
-
trait
WSBodyWritables extends DefaultBodyWritables with JsonBodyWritables with XMLBodyWritables
JSON, XML and Multipart Form Data Writables used for Play-WS bodies.
-
trait
WSClient extends Closeable
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.
-
trait
WSRequest extends StandaloneWSRequest with WSBodyWritables
A WS Request builder.
-
trait
WSResponse extends StandaloneWSResponse with WSBodyReadables
A WS Response that can use Play specific classes.
Value Members
-
def
body(objectMapper: ObjectMapper): BodyWritable[JsonNode]
- Definition Classes
- JsonBodyWritables
-
implicit
val
bodyWritableOf_Multipart: BodyWritable[Source[Part[Source[ByteString, _]], _]]
- Definition Classes
- WSBodyWritables
-
implicit
val
readableAsByteArray: BodyReadable[Array[Byte]]
- Definition Classes
- DefaultBodyReadables
-
implicit
val
readableAsByteBuffer: BodyReadable[ByteBuffer]
- Definition Classes
- DefaultBodyReadables
-
implicit
val
readableAsByteString: BodyReadable[ByteString]
- Definition Classes
- DefaultBodyReadables
-
implicit
val
readableAsJson: BodyReadable[JsValue]
- Definition Classes
- JsonBodyReadables
-
implicit
val
readableAsSource: BodyReadable[Source[ByteString, _]]
- Definition Classes
- DefaultBodyReadables
-
implicit
val
readableAsString: BodyReadable[String]
- Definition Classes
- DefaultBodyReadables
-
implicit
val
readableAsXml: BodyReadable[Elem]
- Definition Classes
- XMLBodyReadables
-
implicit
val
writableOf_File: BodyWritable[File]
- Definition Classes
- DefaultBodyWritables
-
implicit
val
writableOf_InputStream: BodyWritable[Supplier[InputStream]]
- Definition Classes
- DefaultBodyWritables
-
implicit
val
writableOf_Source: BodyWritable[Source[ByteString, _]]
- Definition Classes
- DefaultBodyWritables
-
implicit
val
writeableOf_ByteArray: BodyWritable[Array[Byte]]
- Definition Classes
- DefaultBodyWritables
-
implicit
val
writeableOf_ByteBuffer: BodyWritable[ByteBuffer]
- Definition Classes
- DefaultBodyWritables
-
implicit
val
writeableOf_Bytes: BodyWritable[ByteString]
- Definition Classes
- DefaultBodyWritables
-
implicit
val
writeableOf_Document: BodyWritable[Document]
- Definition Classes
- XMLBodyWritables
-
implicit
val
writeableOf_JsValue: BodyWritable[JsValue]
- Definition Classes
- JsonBodyWritables
-
implicit
val
writeableOf_NodeBuffer: BodyWritable[NodeBuffer]
- Definition Classes
- XMLBodyWritables
-
implicit
def
writeableOf_NodeSeq[C <: NodeSeq]: BodyWritable[C]
- Definition Classes
- XMLBodyWritables
-
implicit
val
writeableOf_String: BodyWritable[String]
- Definition Classes
- DefaultBodyWritables
-
implicit
val
writeableOf_StringBuilder: BodyWritable[StringBuilder]
- Definition Classes
- DefaultBodyWritables
-
implicit
val
writeableOf_WsBody: BodyWritable[WSBody]
- Definition Classes
- DefaultBodyWritables
-
implicit
val
writeableOf_urlEncodedForm: BodyWritable[Map[String, Seq[String]]]
- Definition Classes
- DefaultBodyWritables
-
implicit
val
writeableOf_urlEncodedSimpleForm: BodyWritable[Map[String, String]]
- Definition Classes
- DefaultBodyWritables
- object WSBodyReadables extends WSBodyReadables
- object WSBodyWritables extends WSBodyWritables