Packages

trait WabaseHttpClient extends RestClient with JsonConverterProvider with BasicJsonMarshalling with QuereaseProvider

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WabaseHttpClient
  2. QuereaseProvider
  3. BasicJsonMarshalling
  4. BasicMarshalling
  5. OptionMarshalling
  6. SprayJsonSupport
  7. JsonConverterProvider
  8. RestClient
  9. Loggable
  10. AnyRef
  11. 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() @HotSpotIntrinsicCandidate()
  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. def doRequest(req: HttpRequest): Future[HttpResponse]
    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. 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[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  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() @HotSpotIntrinsicCandidate()
  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
    WabaseHttpClientRestClient
  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
    WabaseHttpClientRestClient
  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
    WabaseHttpClientJsonConverterProvider
  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
    Definition Classes
    WabaseHttpClientQuereaseProvider
  52. def initQuereaseIo: AppQuereaseIo[Dto]
    Attributes
    protected
    Definition Classes
    QuereaseProvider
  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 lazy val jsonConverter: JsonConverter[_]
    Definition Classes
    JsonConverterProvider
  56. def list[T <: Dto](viewClass: Class[T], params: Map[String, Any]): List[T]
  57. implicit val listOfMapsMarshaller: ToEntityMarshaller[List[Map[String, Any]]]
    Definition Classes
    BasicJsonMarshalling
  58. def listRaw[T <: Dto](viewClass: Class[T], params: Map[String, Any]): String
  59. def listenToWs(actor: ActorRef): Unit
    Definition Classes
    RestClient
  60. lazy val logger: Logger
    Attributes
    protected
    Definition Classes
    Loggable
  61. def login(username: String = defaultUsername, password: String = defaultPassword): String
  62. implicit val mapMarshaller: ToEntityMarshaller[Map[String, Any]]
    Definition Classes
    BasicJsonMarshalling
  63. def mapUnmarshaller(implicit jsonUnmarshaller: FromEntityUnmarshaller[JsValue]): FromEntityUnmarshaller[Map[String, Any]]
    Definition Classes
    BasicJsonMarshalling
  64. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  65. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  66. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  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 final lazy val qe: AppQuerease
    Definition Classes
    QuereaseProvider
  71. implicit final lazy val qio: AppQuereaseIo[Dto]
    Definition Classes
    QuereaseProvider
  72. def requestFailed(message: String, cause: Throwable, status: StatusCode = null, content: String = null, request: HttpRequest = null): Nothing
    Attributes
    protected
    Definition Classes
    RestClient
  73. def requestPath(uri: String): String
    Definition Classes
    RestClient
  74. val requestTimeout: FiniteDuration
    Definition Classes
    RestClient
  75. def save[T <: DtoWithId](dto: T): T
  76. lazy val serverPath: String
    Definition Classes
    RestClient
  77. lazy val serverWsPath: String
    Definition Classes
    RestClient
  78. implicit def sprayJsValueByteStringUnmarshaller[T]: FromByteStringUnmarshaller[JsValue]
    Definition Classes
    SprayJsonSupport
  79. implicit def sprayJsValueMarshaller(implicit printer: JsonPrinter): ToEntityMarshaller[JsValue]
    Definition Classes
    SprayJsonSupport
  80. implicit def sprayJsValueUnmarshaller: FromEntityUnmarshaller[JsValue]
    Definition Classes
    SprayJsonSupport
  81. implicit def sprayJsonByteStringUnmarshaller[T](implicit reader: RootJsonReader[T]): FromByteStringUnmarshaller[T]
    Definition Classes
    SprayJsonSupport
  82. implicit def sprayJsonMarshaller[T](implicit writer: RootJsonWriter[T], printer: JsonPrinter): ToEntityMarshaller[T]
    Definition Classes
    SprayJsonSupport
  83. implicit def sprayJsonMarshallerConverter[T](writer: RootJsonWriter[T])(implicit printer: JsonPrinter): ToEntityMarshaller[T]
    Definition Classes
    SprayJsonSupport
  84. implicit def sprayJsonSourceReader[T](implicit reader: RootJsonReader[T], support: EntityStreamingSupport): FromEntityUnmarshaller[Source[T, NotUsed]]
    Definition Classes
    SprayJsonSupport
  85. implicit def sprayJsonUnmarshaller[T](implicit reader: RootJsonReader[T]): FromEntityUnmarshaller[T]
    Definition Classes
    SprayJsonSupport
  86. implicit def sprayJsonUnmarshallerConverter[T](reader: RootJsonReader[T]): FromEntityUnmarshaller[T]
    Definition Classes
    SprayJsonSupport
  87. implicit val streamedFileMarshaller: ToResponseMarshaller[StreamedFile]
    Definition Classes
    BasicMarshalling
  88. def stripAccents(s: String): String
    Definition Classes
    BasicMarshalling
  89. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  90. implicit val system: ActorSystem
    Definition Classes
    RestClient
  91. implicit def toResponseOptionMarshaller[A](implicit m: ToResponseMarshaller[A]): ToResponseMarshaller[Option[A]]
    Definition Classes
    OptionMarshalling
  92. def toString(): String
    Definition Classes
    AnyRef → Any
  93. val urlDecoder: (String) ⇒ String
    Definition Classes
    RestClient
  94. val urlEncoder: (String) ⇒ String
    Definition Classes
    RestClient
  95. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  96. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  97. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from QuereaseProvider

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