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. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  30. implicit val executionContext: ExecutionContextExecutor
    Definition Classes
    RestClient
  31. def extractDeferredHash(headers: Seq[HttpHeader]): Option[String]
  32. def fallbackFilename(filename: String): String
    Definition Classes
    BasicMarshalling
  33. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  34. val flow: Flow[(HttpRequest, Unit), (Try[HttpResponse], Unit), NotUsed]
    Definition Classes
    RestClient
  35. implicit val generatedFileMarshaller: ToResponseMarshaller[GeneratedFile]
    Definition Classes
    BasicMarshalling
  36. def get[T <: Dto](viewClass: Class[T], id: Long, params: Map[String, Any] = Map.empty): T
  37. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  38. def getCookieStorage: CookieMap
    Definition Classes
    RestClient
  39. def getDefaultApiHeaders(cookies: CookieMap): List[HttpHeader with Product with Serializable]
  40. def getDtoFromJson[T <: Dto](viewClass: Class[T], value: JsValue): T
  41. def getDtoListFromJson[T <: Dto](viewClass: Class[T], jsValue: JsValue): List[T]
  42. def handleDeferredResponse[R](cookieStorage: CookieMap)(response: (R, Seq[HttpHeader]))(implicit umarshaller: FromResponseUnmarshaller[R]): Future[R]
  43. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  44. def httpGet[R](path: String, params: Map[String, Any], headers: Seq[HttpHeader], cookieStorage: CookieMap = getCookieStorage)(implicit unmarshaller: FromResponseUnmarshaller[R]): Future[R]
    Definition Classes
    CoreClientRestClient
  45. def httpGetAwait[R](path: String, params: Map[String, Any] = Map.empty, headers: Seq[HttpHeader] = iSeq())(implicit unmarshaller: FromResponseUnmarshaller[R]): R
    Definition Classes
    RestClient
  46. 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
  47. 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
  48. def initJsonConverter: JsonConverter

    Override this method in subclass to initialize

    Override this method in subclass to initialize

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