Trait

com.softwaremill.sttp

SttpApi

Related Doc: package sttp

Permalink

trait SttpApi extends SttpExtensions

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

Type Members

  1. implicit class UriContext extends AnyRef

    Permalink

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
  5. def asByteArray: ResponseAs[Array[Byte], Nothing]

    Permalink
  6. def asFile(file: File, overwrite: Boolean = false): ResponseAs[File, Nothing]

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

    Permalink
    Definition Classes
    Any
  8. def asParams(encoding: String): ResponseAs[Seq[(String, String)], Nothing]

    Permalink

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

  9. def asParams: ResponseAs[Seq[(String, String)], Nothing]

    Permalink

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

  10. def asStream[S]: ResponseAs[S, S]

    Permalink
  11. def asString(encoding: String): ResponseAs[String, Nothing]

    Permalink

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

  12. def asString: ResponseAs[String, Nothing]

    Permalink

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

  13. def clone(): AnyRef

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

    Permalink

    An empty request with no headers.

  15. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]

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

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

    Permalink
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. 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.

  23. 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.

  24. 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.

  25. 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.

  26. 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.

  27. 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.

  28. 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.

  29. 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.

  30. 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.

  31. 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.

  32. def multipartFile(name: String, file: 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
  33. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  36. val sttp: RequestT[Empty, 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)

  37. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from SttpExtensions

Inherited from AnyRef

Inherited from Any

Ungrouped