Packages

trait CoreClient extends RestClient with JsonConverterProvider with BasicJsonMarshalling

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

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(classOf[java.lang.CloneNotSupportedException]) @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, timeout: FiniteDuration, maxRedirects: Int = 20): Future[HttpResponse]
    Attributes
    protected
    Definition Classes
    RestClient
  28. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. def equals(arg0: AnyRef): 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 def fromResponseOptionUnmarshaller[T](implicit unm: FromResponseUnmarshaller[T]): FromResponseUnmarshaller[Option[T]]
    Definition Classes
    OptionMarshalling
  36. implicit def futureMapMarshaller: ToEntityMarshaller[Future[Map[String, Any]]]
    Definition Classes
    BasicJsonMarshalling
  37. implicit val generatedFileMarshaller: ToResponseMarshaller[GeneratedFile]
    Definition Classes
    BasicMarshalling
  38. def get[T <: Dto](viewClass: Class[T], id: Long, params: Map[String, Any] = Map.empty): T
  39. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  40. def getCookieStorage: CookieMap
    Definition Classes
    RestClient
  41. def getDefaultApiHeaders(cookies: CookieMap): List[HttpHeader with Product with Serializable]
  42. def getDtoFromJson[T <: Dto](viewClass: Class[T], value: JsValue): T
  43. def getDtoListFromJson[T <: Dto](viewClass: Class[T], jsValue: JsValue): List[T]
  44. def handleDeferredResponse[R](cookieStorage: CookieMap)(response: (R, Seq[HttpHeader]))(implicit umarshaller: FromResponseUnmarshaller[R]): Future[R]
  45. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  46. def httpGet[R](path: String, params: Map[String, Any], headers: Seq[HttpHeader], cookieStorage: CookieMap = getCookieStorage, timeout: FiniteDuration)(implicit unmarshaller: FromResponseUnmarshaller[R]): Future[R]
    Definition Classes
    CoreClientRestClient
  47. def httpGetAwait[R](path: String, params: Map[String, Any] = Map.empty, headers: Seq[HttpHeader] = iSeq())(implicit unmarshaller: FromResponseUnmarshaller[R]): R
    Definition Classes
    RestClient
  48. def httpPost[T, R](method: HttpMethod, path: String, content: T, headers: Seq[HttpHeader], cookieStorage: CookieMap = getCookieStorage, timeout: FiniteDuration)(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 initJsonConverter: JsonConverter

    Override this method in subclass to initialize

    Override this method in subclass to initialize

    jsonConverter
    Attributes
    protected
    Definition Classes
    CoreClientJsonConverterProvider
  51. 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
  52. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  53. implicit def jsObjectUnmarshaller(implicit jsonUnmarshaller: FromEntityUnmarshaller[JsValue]): Unmarshaller[HttpEntity, JsObject]
    Definition Classes
    BasicJsonMarshalling
  54. final val jsonConverter: JsonConverter
    Definition Classes
    JsonConverterProvider
  55. def list[T <: Dto](viewClass: Class[T], params: Map[String, Any]): List[T]
  56. implicit val listOfMapsMarshaller: ToEntityMarshaller[List[Map[String, Any]]]
    Definition Classes
    BasicJsonMarshalling
  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 val mapMarshaller: ToEntityMarshaller[Map[String, Any]]
    Definition Classes
    BasicJsonMarshalling
  62. def mapUnmarshaller(implicit jsonUnmarshaller: FromEntityUnmarshaller[JsValue]): FromEntityUnmarshaller[Map[String, Any]]
    Definition Classes
    BasicJsonMarshalling
  63. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  64. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  65. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  66. def pathForDto[T <: Dto](clzz: Class[T], id: jLong): String
  67. def pathForDtoCount[T <: Dto](clzz: Class[T]): String
  68. lazy val port: Int
    Definition Classes
    RestClient
  69. implicit lazy val qe: AppQuerease
  70. def requestFailed(message: String, cause: Throwable, status: StatusCode = null, content: String = null, request: HttpRequest = null): Nothing
    Attributes
    protected
    Definition Classes
    RestClient
  71. def requestPath(uri: String): String
    Definition Classes
    RestClient
  72. val requestTimeout: FiniteDuration
    Definition Classes
    RestClient
  73. def save[T <: DtoWithId](dto: T): T
  74. lazy val serverPath: String
    Definition Classes
    RestClient
  75. lazy val serverWsPath: String
    Definition Classes
    RestClient
  76. implicit def sprayJsValueByteStringUnmarshaller[T]: FromByteStringUnmarshaller[JsValue]
    Definition Classes
    SprayJsonSupport
  77. implicit def sprayJsValueMarshaller(implicit printer: JsonPrinter): ToEntityMarshaller[JsValue]
    Definition Classes
    SprayJsonSupport
  78. implicit def sprayJsValueUnmarshaller: FromEntityUnmarshaller[JsValue]
    Definition Classes
    SprayJsonSupport
  79. implicit def sprayJsonByteStringUnmarshaller[T](implicit reader: RootJsonReader[T]): FromByteStringUnmarshaller[T]
    Definition Classes
    SprayJsonSupport
  80. implicit def sprayJsonMarshaller[T](implicit writer: RootJsonWriter[T], printer: JsonPrinter): ToEntityMarshaller[T]
    Definition Classes
    SprayJsonSupport
  81. implicit def sprayJsonMarshallerConverter[T](writer: RootJsonWriter[T])(implicit printer: JsonPrinter): ToEntityMarshaller[T]
    Definition Classes
    SprayJsonSupport
  82. implicit def sprayJsonSourceReader[T](implicit reader: RootJsonReader[T], support: EntityStreamingSupport): FromEntityUnmarshaller[Source[T, NotUsed]]
    Definition Classes
    SprayJsonSupport
  83. implicit def sprayJsonUnmarshaller[T](implicit reader: RootJsonReader[T]): FromEntityUnmarshaller[T]
    Definition Classes
    SprayJsonSupport
  84. implicit def sprayJsonUnmarshallerConverter[T](reader: RootJsonReader[T]): FromEntityUnmarshaller[T]
    Definition Classes
    SprayJsonSupport
  85. implicit val streamedFileMarshaller: ToResponseMarshaller[StreamedFile]
    Definition Classes
    BasicMarshalling
  86. def stripAccents(s: String): String
    Definition Classes
    BasicMarshalling
  87. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  88. implicit val system: ActorSystem
    Definition Classes
    RestClient
  89. implicit def toResponseOptionMarshaller[A](implicit m: ToResponseMarshaller[A]): ToResponseMarshaller[Option[A]]
    Definition Classes
    OptionMarshalling
  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(classOf[java.lang.InterruptedException])
  94. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  95. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from BasicJsonMarshalling

Inherited from BasicMarshalling

Inherited from OptionMarshalling

Inherited from SprayJsonSupport

Inherited from JsonConverterProvider

Inherited from RestClient

Inherited from Loggable

Inherited from AnyRef

Inherited from Any

Ungrouped