Packages

trait CoreClient extends RestClient with JsonConverterProvider with BasicJsonMarshalling

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CoreClient
  2. BasicJsonMarshalling
  3. BasicMarshalling
  4. SprayJsonSupport
  5. JsonConverterProvider
  6. RestClient
  7. Loggable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class GeneratedFile(name: String, contentType: ContentType, content: Array[Byte], contentDispositionType: ContentDispositionType = ContentDispositionTypes.attachment) extends Product with Serializable
    Definition Classes
    BasicMarshalling
  2. case class StreamedFile(name: String, contentType: ContentType, content: Source[ByteString, Any], contentDispositionType: ContentDispositionType = ContentDispositionTypes.attachment) extends Product with Serializable
    Definition Classes
    BasicMarshalling
  3. class CookieMap extends AnyRef
    Definition Classes
    RestClient

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. lazy val CSRFCookieName: String
  5. lazy val CSRFHeaderName: String
  6. implicit val ContentTypeUnmarshaller: FromEntityUnmarshaller[ContentType]
    Definition Classes
    BasicMarshalling
  7. implicit val HeadersUnmarshaller: FromResponseUnmarshaller[Seq[HttpHeader]]
    Definition Classes
    BasicMarshalling
  8. implicit val SourceUnmarshaller: FromEntityUnmarshaller[Source[ByteString, Any]]
    Definition Classes
    BasicMarshalling
  9. implicit val StatusCodeUnmarshaller: FromResponseUnmarshaller[StatusCode]
    Definition Classes
    BasicMarshalling
  10. implicit def TupleUnmarshaller[A, B, P](implicit ma: Unmarshaller[P, A], mb: Unmarshaller[P, B]): Unmarshaller[P, (A, B)]
    Definition Classes
    BasicMarshalling
  11. implicit val UnitUnmarshaller: FromResponseUnmarshaller[Unit]
    Definition Classes
    BasicMarshalling
  12. def actorSystemName: String
    Definition Classes
    RestClient
  13. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  14. val awaitTimeout: FiniteDuration
    Definition Classes
    RestClient
  15. def clearCookies: Unit
    Definition Classes
    RestClient
  16. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  17. def combinedWithEC[A, B, C](marshal: (ExecutionContext) ⇒ (A) ⇒ B)(implicit m2: Marshaller[B, C]): Marshaller[A, C]
    Definition Classes
    BasicMarshalling
  18. def contentDisposition(fileName: String, dispositionType: ContentDispositionType): List[RawHeader]
    Definition Classes
    BasicMarshalling
  19. def count[T <: Dto](viewClass: Class[T], params: Map[String, Any]): Int
  20. def createActorSystem: ActorSystem
    Definition Classes
    RestClient
  21. def decodeResponse(response: HttpResponse): HttpResponse
    Definition Classes
    RestClient
  22. val defaultPassword: String
    Definition Classes
    RestClient
  23. val defaultUsername: String
    Definition Classes
    RestClient
  24. val deferredActor: ActorRef
  25. def deferredResultUri(hash: String): String
  26. def delete[T <: Dto](viewClass: Class[T], id: Long): Unit
  27. def doRequest(req: HttpRequest, cookieStorage: CookieMap, maxRedirects: Int = 20): Future[HttpResponse]
    Attributes
    protected
    Definition Classes
    RestClient
  28. def doRequestWithTimeout(req: HttpRequest, cookieStorage: CookieMap, timeout: FiniteDuration, maxRedirects: Int = 20): Future[HttpResponse]
    Attributes
    protected
    Definition Classes
    RestClient
  29. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  31. implicit val executionContext: ExecutionContextExecutor
    Definition Classes
    RestClient
  32. def extractDeferredHash(headers: Seq[HttpHeader]): Option[String]
  33. def fallbackFilename(filename: String): String
    Definition Classes
    BasicMarshalling
  34. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  35. val flow: Flow[(HttpRequest, Unit), (Try[HttpResponse], Unit), NotUsed]
    Definition Classes
    RestClient
  36. implicit val generatedFileMarshaller: ToResponseMarshaller[GeneratedFile]
    Definition Classes
    BasicMarshalling
  37. def get[T <: Dto](viewClass: Class[T], id: Long, params: Map[String, Any] = Map.empty): T
  38. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  39. def getCookieStorage: CookieMap
    Definition Classes
    RestClient
  40. def getDefaultApiHeaders(cookies: CookieMap): List[HttpHeader with Product with Serializable]
  41. def getDtoFromJson[T <: Dto](viewClass: Class[T], value: JsValue): T
  42. def getDtoListFromJson[T <: Dto](viewClass: Class[T], jsValue: JsValue): List[T]
  43. def handleDeferredResponse[R](cookieStorage: CookieMap)(response: (R, Seq[HttpHeader]))(implicit umarshaller: FromResponseUnmarshaller[R]): Future[R]
  44. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  45. def httpGet[R](path: String, params: Map[String, Any], headers: Seq[HttpHeader], cookieStorage: CookieMap = getCookieStorage)(implicit unmarshaller: FromResponseUnmarshaller[R]): Future[R]
    Definition Classes
    CoreClientRestClient
  46. def httpGetAwait[R](path: String, params: Map[String, Any] = Map.empty, headers: Seq[HttpHeader] = iSeq())(implicit unmarshaller: FromResponseUnmarshaller[R]): R
    Definition Classes
    RestClient
  47. 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]
    Definition Classes
    RestClient
  48. def httpPost[T, R](method: HttpMethod, path: String, content: T, headers: Seq[HttpHeader], cookieStorage: CookieMap = getCookieStorage)(implicit marshaller: Marshaller[T, MessageEntity], unmarshaller: FromResponseUnmarshaller[R]): Future[R]
    Definition Classes
    CoreClientRestClient
  49. def httpPostAwait[T, R](method: HttpMethod, path: String, content: T, headers: Seq[HttpHeader] = iSeq())(implicit marshaller: Marshaller[T, RequestEntity], umarshaller: FromResponseUnmarshaller[R]): R
    Definition Classes
    RestClient
  50. 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]
    Definition Classes
    RestClient
  51. def initJsonConverter: JsonConverter

    Override this method in subclass to initialize

    Override this method in subclass to initialize

    jsonConverter
    Attributes
    protected
    Definition Classes
    CoreClientJsonConverterProvider
  52. def initQuerease: AppQuerease

    Override this method in subclass.

    Override this method in subclass. Method usage instead of direct

    val qe: AppQuerease

    initialization ensures that this.qe and subclass qe have the same instance val qe: AppQuerease }}} have the same instance

    Attributes
    protected
  53. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  54. implicit def jsObjectUnmarshaller(implicit jsonUnmarshaller: FromEntityUnmarshaller[JsValue]): Unmarshaller[HttpEntity, JsObject]
    Definition Classes
    BasicJsonMarshalling
  55. final val jsonConverter: JsonConverter
    Definition Classes
    JsonConverterProvider
  56. def list[T <: Dto](viewClass: Class[T], params: Map[String, Any]): List[T]
  57. def listRaw[T <: Dto](viewClass: Class[T], params: Map[String, Any]): String
  58. def listenToWs(actor: ActorRef): Unit
    Definition Classes
    RestClient
  59. lazy val logger: Logger
    Attributes
    protected
    Definition Classes
    Loggable
  60. def login(username: String = defaultUsername, password: String = defaultPassword): String
  61. implicit def mapFutureMarshaller: ToEntityMarshaller[Future[Map[String, Any]]]
    Definition Classes
    BasicJsonMarshalling
  62. implicit val mapListMarshaller: ToEntityMarshaller[List[Map[String, Any]]]
    Definition Classes
    BasicJsonMarshalling
  63. implicit val mapMarshaller: ToEntityMarshaller[Map[String, Any]]
    Definition Classes
    BasicJsonMarshalling
  64. implicit def mapUnmarshaller(implicit jsonUnmarshaller: FromEntityUnmarshaller[JsValue]): FromEntityUnmarshaller[Map[String, Any]]
    Definition Classes
    BasicJsonMarshalling
  65. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  66. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  67. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  68. implicit def optionMarshaller[A](implicit m: ToResponseMarshaller[A]): ToResponseMarshaller[Option[A]]
    Definition Classes
    BasicMarshalling
  69. implicit def optionUnmarshaller[T](implicit unm: FromResponseUnmarshaller[T]): FromResponseUnmarshaller[Option[T]]
    Definition Classes
    BasicMarshalling
  70. def pathForDto[T <: Dto](clzz: Class[T], id: jLong): String
  71. def pathForDtoCount[T <: Dto](clzz: Class[T]): String
  72. lazy val port: Int
    Definition Classes
    RestClient
  73. implicit lazy val qe: AppQuerease
  74. def requestFailed(message: String, cause: Throwable, status: StatusCode = null, content: String = null, request: HttpRequest = null): Nothing
    Attributes
    protected
    Definition Classes
    RestClient
  75. def requestPath(uri: String): String
    Definition Classes
    RestClient
  76. val requestTimeout: FiniteDuration
    Definition Classes
    RestClient
  77. def save[T <: DtoWithId](dto: T): T
  78. lazy val serverPath: String
    Definition Classes
    RestClient
  79. lazy val serverWsPath: String
    Definition Classes
    RestClient
  80. implicit def sprayJsValueByteStringUnmarshaller[T]: FromByteStringUnmarshaller[JsValue]
    Definition Classes
    SprayJsonSupport
  81. implicit def sprayJsValueMarshaller(implicit printer: JsonPrinter): ToEntityMarshaller[JsValue]
    Definition Classes
    SprayJsonSupport
  82. implicit def sprayJsValueUnmarshaller: FromEntityUnmarshaller[JsValue]
    Definition Classes
    SprayJsonSupport
  83. implicit def sprayJsonByteStringUnmarshaller[T](implicit reader: RootJsonReader[T]): FromByteStringUnmarshaller[T]
    Definition Classes
    SprayJsonSupport
  84. implicit def sprayJsonMarshaller[T](implicit writer: RootJsonWriter[T], printer: JsonPrinter): ToEntityMarshaller[T]
    Definition Classes
    SprayJsonSupport
  85. implicit def sprayJsonMarshallerConverter[T](writer: RootJsonWriter[T])(implicit printer: JsonPrinter): ToEntityMarshaller[T]
    Definition Classes
    SprayJsonSupport
  86. implicit def sprayJsonSourceReader[T](implicit reader: RootJsonReader[T], support: EntityStreamingSupport): FromEntityUnmarshaller[Source[T, NotUsed]]
    Definition Classes
    SprayJsonSupport
  87. implicit def sprayJsonUnmarshaller[T](implicit reader: RootJsonReader[T]): FromEntityUnmarshaller[T]
    Definition Classes
    SprayJsonSupport
  88. implicit def sprayJsonUnmarshallerConverter[T](reader: RootJsonReader[T]): FromEntityUnmarshaller[T]
    Definition Classes
    SprayJsonSupport
  89. implicit val streamedFileMarshaller: ToResponseMarshaller[StreamedFile]
    Definition Classes
    BasicMarshalling
  90. def stripAccents(s: String): String
    Definition Classes
    BasicMarshalling
  91. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  92. implicit val system: ActorSystem
    Definition Classes
    RestClient
  93. def toString(): String
    Definition Classes
    AnyRef → Any
  94. val urlDecoder: (String) ⇒ String
    Definition Classes
    RestClient
  95. val urlEncoder: (String) ⇒ String
    Definition Classes
    RestClient
  96. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  97. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  98. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from BasicJsonMarshalling

Inherited from BasicMarshalling

Inherited from SprayJsonSupport

Inherited from JsonConverterProvider

Inherited from RestClient

Inherited from Loggable

Inherited from AnyRef

Inherited from Any

Ungrouped