trait RestClient extends Loggable
Ordering
- Alphabetic
- By Inheritance
Inherited
- RestClient
- Loggable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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
- def actorSystemName: String
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val awaitTimeout: FiniteDuration
- def clearCookies: Unit
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def createActorSystem: ActorSystem
- def decodeResponse(response: HttpResponse): HttpResponse
- val defaultPassword: String
- val defaultUsername: String
-
def
doRequest(req: HttpRequest, cookieStorage: CookieMap, maxRedirects: Int = 20): Future[HttpResponse]
- Attributes
- protected
-
def
doRequestWithTimeout(req: HttpRequest, cookieStorage: CookieMap, timeout: FiniteDuration, maxRedirects: Int = 20): Future[HttpResponse]
- Attributes
- protected
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- implicit val executionContext: ExecutionContextExecutor
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- val flow: Flow[(HttpRequest, Unit), (Try[HttpResponse], Unit), NotUsed]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getCookieStorage: CookieMap
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def httpGet[R](path: String, params: Map[String, Any] = Map.empty, headers: Seq[HttpHeader] = iSeq(), cookieStorage: CookieMap = getCookieStorage)(implicit unmarshaller: FromResponseUnmarshaller[R]): Future[R]
- def httpGetAwait[R](path: String, params: Map[String, Any] = Map.empty, headers: Seq[HttpHeader] = iSeq())(implicit unmarshaller: FromResponseUnmarshaller[R]): R
- def httpGetWithTimeout[R](path: String, timeout: FiniteDuration, params: Map[String, Any] = Map.empty, headers: Seq[HttpHeader] = iSeq(), cookieStorage: CookieMap = getCookieStorage)(implicit unmarshaller: FromResponseUnmarshaller[R]): Future[R]
- def httpPost[T, R](method: HttpMethod, path: String, content: T, headers: Seq[HttpHeader] = iSeq(), cookieStorage: CookieMap = getCookieStorage)(implicit marshaller: Marshaller[T, RequestEntity], unmarshaller: FromResponseUnmarshaller[R]): Future[R]
- def httpPostAwait[T, R](method: HttpMethod, path: String, content: T, headers: Seq[HttpHeader] = iSeq())(implicit marshaller: Marshaller[T, RequestEntity], umarshaller: FromResponseUnmarshaller[R]): R
- def httpPostWithTimeout[T, R](method: HttpMethod, path: String, content: T, timeout: FiniteDuration, headers: Seq[HttpHeader] = iSeq(), cookieStorage: CookieMap = getCookieStorage)(implicit marshaller: Marshaller[T, RequestEntity], unmarshaller: FromResponseUnmarshaller[R]): Future[R]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def listenToWs(actor: ActorRef): Unit
-
lazy val
logger: Logger
- Attributes
- protected
- Definition Classes
- Loggable
-
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()
- lazy val port: Int
-
def
requestFailed(message: String, cause: Throwable, status: StatusCode = null, content: String = null, request: HttpRequest = null): Nothing
- Attributes
- protected
- def requestPath(uri: String): String
- val requestTimeout: FiniteDuration
- lazy val serverPath: String
- lazy val serverWsPath: String
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- implicit val system: ActorSystem
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- val urlDecoder: (String) ⇒ String
- val urlEncoder: (String) ⇒ String
-
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()