class PlayHTTPLayer extends HTTPLayer
Implementation of the HTTP layer which uses the Play web service implementation.
It makes no sense to move the HTTPLayer implementation to the contrib package, because the complete Silhouette module is bound to Play's HTTP implementation. So this layer exists only for mocking purpose.
- Alphabetic
- By Inheritance
- PlayHTTPLayer
- HTTPLayer
- ExecutionContextProvider
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
PlayHTTPLayer(client: WSClient)(implicit executionContext: ExecutionContext)
- client
Play's WS client implementation.
- executionContext
The execution context to handle the asynchronous operations.
Type Members
-
type
Request = WSRequest
The type of the request.
The type of the request.
- Definition Classes
- PlayHTTPLayer → HTTPLayer
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
implicit
val
executionContext: ExecutionContext
The execution context to handle the asynchronous operations.
The execution context to handle the asynchronous operations.
- Definition Classes
- PlayHTTPLayer → ExecutionContextProvider
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
url(url: String): Request
Prepare a new request.
Prepare a new request. You can then construct it by chaining calls.
- url
The URL to request.
- Definition Classes
- PlayHTTPLayer → HTTPLayer
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()