Object

sttp.client

quick

Related Doc: package client

Permalink

object quick extends SttpApi

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. quick
  2. SttpApi
  3. SttpExtensions
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. implicit class UriContext extends AnyRef

    Permalink
    Definition Classes
    SttpApi

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val DefaultReadTimeout: Duration

    Permalink
    Definition Classes
    SttpApi
  5. def asByteArray: ResponseAs[Either[String, Array[Byte]], Nothing]

    Permalink
    Definition Classes
    SttpApi
  6. def asByteArrayAlways: ResponseAs[Array[Byte], Nothing]

    Permalink
    Definition Classes
    SttpApi
  7. def asEither[L, R, S](onError: ResponseAs[L, S], onSuccess: ResponseAs[R, S]): ResponseAs[Either[L, R], S]

    Permalink
    Definition Classes
    SttpApi
  8. def asFile(file: File, overwrite: Boolean = false): ResponseAs[Either[String, File], Nothing]

    Permalink
    Definition Classes
    SttpExtensions
  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. def asParams(charset: String): ResponseAs[Either[String, Seq[(String, String)]], Nothing]

    Permalink

    Use the given charset by default, unless specified otherwise in the response headers.

    Use the given charset by default, unless specified otherwise in the response headers.

    Definition Classes
    SttpApi
  11. def asParams: ResponseAs[Either[String, Seq[(String, String)]], Nothing]

    Permalink

    Use the utf-8 charset by default, unless specified otherwise in the response headers.

    Use the utf-8 charset by default, unless specified otherwise in the response headers.

    Definition Classes
    SttpApi
  12. def asPath(path: Path, overwrite: Boolean = false): ResponseAs[Either[String, Path], Nothing]

    Permalink
    Definition Classes
    SttpExtensions
  13. def asStream[S]: ResponseAs[Either[String, S], S]

    Permalink
    Definition Classes
    SttpApi
  14. def asStreamAlways[S]: ResponseAs[S, S]

    Permalink
    Definition Classes
    SttpApi
  15. def asString(charset: String): ResponseAs[Either[String, String], Nothing]

    Permalink

    Use the given charset by default, unless specified otherwise in the response headers.

    Use the given charset by default, unless specified otherwise in the response headers.

    Definition Classes
    SttpApi
  16. def asString: ResponseAs[Either[String, String], Nothing]

    Permalink

    Use the utf-8 charset by default, unless specified otherwise in the response headers.

    Use the utf-8 charset by default, unless specified otherwise in the response headers.

    Definition Classes
    SttpApi
  17. def asStringAlways(charset: String): ResponseAs[String, Nothing]

    Permalink
    Definition Classes
    SttpApi
  18. def asStringAlways: ResponseAs[String, Nothing]

    Permalink

    Use the utf-8 charset by default, unless specified otherwise in the response headers.

    Use the utf-8 charset by default, unless specified otherwise in the response headers.

    Definition Classes
    SttpApi
  19. implicit lazy val backend: SttpBackend[Identity, Nothing]

    Permalink
  20. val basicRequest: RequestT[Empty, Either[String, String], Nothing]

    Permalink

    A starting request, with the following modifications comparing to emptyRequest:

    A starting request, with the following modifications comparing to emptyRequest:

    - Accept-Encoding set to gzip, deflate (handled automatically by the library)

    Definition Classes
    SttpApi
  21. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. val emptyRequest: RequestT[Empty, Either[String, String], Nothing]

    Permalink

    An empty request with no headers.

    An empty request with no headers.

    Definition Classes
    SttpApi
  23. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  25. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  26. def fromMetadata[T, S](f: (ResponseMetadata) ⇒ ResponseAs[T, S]): ResponseAs[T, S]

    Permalink
    Definition Classes
    SttpApi
  27. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  28. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  29. def ignore: ResponseAs[Unit, Nothing]

    Permalink
    Definition Classes
    SttpApi
  30. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  31. def multipart[B](name: String, b: B)(implicit arg0: BodySerializer[B]): Multipart

    Permalink

    Content type will be set to application/octet-stream, can be overridden later using the contentType method.

    Content type will be set to application/octet-stream, can be overridden later using the contentType method.

    Definition Classes
    SttpApi
  32. def multipart(name: String, fs: Seq[(String, String)], encoding: String): Multipart

    Permalink

    Encodes the given parameters as form data.

    Encodes the given parameters as form data.

    Content type will be set to application/x-www-form-urlencoded, can be overridden later using the contentType method.

    Definition Classes
    SttpApi
  33. def multipart(name: String, fs: Seq[(String, String)]): Multipart

    Permalink

    Encodes the given parameters as form data using utf-8.

    Encodes the given parameters as form data using utf-8.

    Content type will be set to application/x-www-form-urlencoded, can be overridden later using the contentType method.

    Definition Classes
    SttpApi
  34. def multipart(name: String, fs: Map[String, String], encoding: String): Multipart

    Permalink

    Encodes the given parameters as form data.

    Encodes the given parameters as form data.

    Content type will be set to application/x-www-form-urlencoded, can be overridden later using the contentType method.

    Definition Classes
    SttpApi
  35. def multipart(name: String, fs: Map[String, String]): Multipart

    Permalink

    Encodes the given parameters as form data using utf-8.

    Encodes the given parameters as form data using utf-8.

    Content type will be set to application/x-www-form-urlencoded, can be overridden later using the contentType method.

    Definition Classes
    SttpApi
  36. def multipart(name: String, data: InputStream): Multipart

    Permalink

    Content type will be set to application/octet-stream, can be overridden later using the contentType method.

    Content type will be set to application/octet-stream, can be overridden later using the contentType method.

    Definition Classes
    SttpApi
  37. def multipart(name: String, data: ByteBuffer): Multipart

    Permalink

    Content type will be set to application/octet-stream, can be overridden later using the contentType method.

    Content type will be set to application/octet-stream, can be overridden later using the contentType method.

    Definition Classes
    SttpApi
  38. def multipart(name: String, data: Array[Byte]): Multipart

    Permalink

    Content type will be set to application/octet-stream, can be overridden later using the contentType method.

    Content type will be set to application/octet-stream, can be overridden later using the contentType method.

    Definition Classes
    SttpApi
  39. def multipart(name: String, data: String, encoding: String): Multipart

    Permalink

    Content type will be set to text/plain with utf-8 encoding, can be overridden later using the contentType method.

    Content type will be set to text/plain with utf-8 encoding, can be overridden later using the contentType method.

    Definition Classes
    SttpApi
  40. def multipart(name: String, data: String): Multipart

    Permalink

    Content type will be set to text/plain with utf-8 encoding, can be overridden later using the contentType method.

    Content type will be set to text/plain with utf-8 encoding, can be overridden later using the contentType method.

    Definition Classes
    SttpApi
  41. def multipartFile(name: String, data: Path): Multipart

    Permalink

    Content type will be set to application/octet-stream, can be overridden later using the contentType method.

    Content type will be set to application/octet-stream, can be overridden later using the contentType method.

    File name will be set to the name of the file.

    Definition Classes
    SttpExtensions
  42. def multipartFile(name: String, data: File): Multipart

    Permalink

    Content type will be set to application/octet-stream, can be overridden later using the contentType method.

    Content type will be set to application/octet-stream, can be overridden later using the contentType method.

    File name will be set to the name of the file.

    Definition Classes
    SttpExtensions
  43. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  44. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  45. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  46. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  47. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  48. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from SttpApi

Inherited from SttpExtensions

Inherited from AnyRef

Inherited from Any

Ungrouped