Type Members
-
type
Endpoint[A, B] = (A) ⇒ Future[B]
-
implicit
class
InvariantFunctorSyntax[A, F[_]] extends AnyRef
-
-
trait
Path[A] extends Url[A]
-
implicit
class
PathOps[A] extends AnyRef
-
trait
QueryString[A] extends AnyRef
-
implicit
class
QueryStringOps[A] extends AnyRef
-
type
QueryStringParam[A] = (A) ⇒ String
-
-
-
-
type
Response[A] = (WSResponse) ⇒ Either[Throwable, A]
-
trait
Segment[A] extends AnyRef
-
implicit
class
SemigroupalSyntax[A, F[_]] extends AnyRef
-
trait
Url[A] extends AnyRef
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
-
-
def
Options: Method
-
-
-
-
final
def
asInstanceOf[T0]: T0
-
def
chainPaths[A, B](first: Path[A], second: Path[B])(implicit tupler: Tupler[A, B]): Path[Out]
-
def
clone(): AnyRef
-
def
combineQueryStrings[A, B](first: QueryString[A], second: QueryString[B])(implicit tupler: Tupler[A, B]): QueryString[Out]
-
implicit
def
dummyPathToUrl[A](p: Path[A]): Url[A]
-
-
-
def
emptyResponse(docs: Documentation): Response[Unit]
-
def
endpoint[A, B](request: Request[A], response: Response[B], summary: Documentation, description: Documentation): Endpoint[A, B]
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
-
def
finalize(): Unit
-
final
def
get[UrlP, HeadersP](url: Url[UrlP], headers: RequestHeaders[HeadersP])(implicit tuplerAC: Tupler[UrlP, HeadersP]): Request[Out]
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
def
header(name: String, docs: Documentation): (String, WSRequest) ⇒ WSRequest
-
-
implicit
lazy val
intSegment: Segment[Int]
-
final
def
isInstanceOf[T0]: Boolean
-
-
implicit
lazy val
longSegment: Segment[Long]
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
optHeader(name: String, docs: Documentation): (Option[String], WSRequest) ⇒ WSRequest
-
def
optQs[A](name: String, docs: Documentation)(implicit value: (A) ⇒ String): QueryString[Option[A]]
-
def
option[A](response: Response[A], notFoundDocs: Documentation): Response[Option[A]]
-
-
final
def
post[UrlP, BodyP, HeadersP, UrlAndBodyPTupled](url: Url[UrlP], entity: RequestEntity[BodyP], headers: RequestHeaders[HeadersP])(implicit tuplerAB: Tupler.Aux[UrlP, BodyP, UrlAndBodyPTupled], tuplerABC: Tupler[UrlAndBodyPTupled, HeadersP]): Request[Out]
-
def
qs[A](name: String, docs: Documentation)(implicit value: QueryStringParam[A]): QueryString[A]
-
-
-
-
def
request[A, B, C, AB](method: Method, url: Url[A], entity: RequestEntity[B], headers: RequestHeaders[C])(implicit tuplerAB: Tupler.Aux[A, B, AB], tuplerABC: Tupler[AB, C]): Request[Out]
-
def
segment[A](name: String, docs: Documentation)(implicit s: Segment[A]): Path[A]
-
def
staticPathSegment(segment: String): Path[Unit] with Serializable
-
implicit
lazy val
stringQueryString: QueryStringParam[String]
-
implicit
lazy val
stringSegment: Segment[String]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
textRequest(docs: Documentation): (String, WSRequest) ⇒ WSRequest
-
def
textResponse(docs: Documentation): Response[String]
-
def
toString(): String
-
-
def
urlWithQueryString[A, B](path: Path[A], qs: QueryString[B])(implicit tupler: Tupler[A, B]): Url[Out]
-
val
utf8Name: String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any
An interpreter for algebra.Endpoints that builds a client issuing requests using Play’s WSClient HTTP client.