Package

com.softwaremill

sttp

Permalink

package sttp

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. sttp
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. sealed trait BasicRequestBody extends RequestBody[Nothing]

    Permalink
  2. sealed trait BasicResponseAs[T, +S] extends ResponseAs[T, S]

    Permalink
  3. type BodySerializer[B] = (B) ⇒ BasicRequestBody

    Permalink
  4. case class ByteArrayBody(b: Array[Byte], defaultContentType: Option[String] = ...) extends BasicRequestBody with Product with Serializable

    Permalink
  5. case class ByteBufferBody(b: ByteBuffer, defaultContentType: Option[String] = ...) extends BasicRequestBody with Product with Serializable

    Permalink
  6. case class Cookie(name: String, value: String, expires: Option[ZonedDateTime] = None, maxAge: Option[Long] = None, domain: Option[String] = None, path: Option[String] = None, secure: Boolean = false, httpOnly: Boolean = false) extends Product with Serializable

    Permalink
  7. type Empty[X] = None.type

    Permalink
  8. class FollowRedirectsBackend[R[_], S] extends SttpBackend[R, S]

    Permalink
  9. class FutureMonad extends MonadAsyncError[Future]

    Permalink
  10. class HttpURLConnectionBackend extends SttpBackend[Id, Nothing]

    Permalink
  11. type Id[X] = X

    Permalink
  12. case class InputStreamBody(b: InputStream, defaultContentType: Option[String] = ...) extends BasicRequestBody with Product with Serializable

    Permalink
  13. case class MappedResponseAs[T, T2, S](raw: BasicResponseAs[T, S], g: (T) ⇒ T2) extends ResponseAs[T2, S] with Product with Serializable

    Permalink
  14. final case class Method(m: String) extends AnyVal with Product with Serializable

    Permalink
  15. trait MonadAsyncError[R[_]] extends MonadError[R]

    Permalink
  16. trait MonadError[R[_]] extends AnyRef

    Permalink
  17. case class Multipart(name: String, body: BasicRequestBody, fileName: Option[String] = None, contentType: Option[String] = None, additionalHeaders: Map[String, String] = Map()) extends Product with Serializable

    Permalink
  18. case class MultipartBody(parts: Seq[Multipart]) extends RequestBody[Nothing] with Product with Serializable

    Permalink
  19. type PartialRequest[T, +S] = RequestT[Empty, T, S]

    Permalink
  20. case class PathBody(f: Path, defaultContentType: Option[String] = ...) extends BasicRequestBody with Product with Serializable

    Permalink
  21. type Request[T, +S] = RequestT[Id, T, S]

    Permalink
  22. sealed trait RequestBody[+S] extends AnyRef

    Permalink
  23. case class RequestOptions(followRedirects: Boolean, readTimeout: Duration) extends Product with Serializable

    Permalink
  24. case class RequestT[U[_], T, +S](method: U[Method], uri: U[Uri], body: RequestBody[S], headers: Seq[(String, String)], response: ResponseAs[T, S], options: RequestOptions, tags: Map[String, Any]) extends Product with Serializable

    Permalink
  25. case class Response[T](body: Either[String, T], code: Int, statusText: String, headers: Seq[(String, String)], history: List[Response[Unit]]) extends Product with Serializable

    Permalink
  26. sealed trait ResponseAs[T, +S] extends AnyRef

    Permalink
  27. case class ResponseAsFile(output: File, overwrite: Boolean) extends BasicResponseAs[File, Nothing] with Product with Serializable

    Permalink
  28. case class ResponseAsStream[T, S]()(implicit responseIsStream: =:=[S, T]) extends BasicResponseAs[T, S] with Product with Serializable

    Permalink
  29. case class ResponseAsString(encoding: String) extends BasicResponseAs[String, Nothing] with Product with Serializable

    Permalink
  30. class SpecifyAuthScheme[U[_], T, +S] extends AnyRef

    Permalink
  31. case class StreamBody[S](s: S) extends RequestBody[S] with Product with Serializable

    Permalink
  32. case class StringBody(s: String, encoding: String, defaultContentType: Option[String] = Some(TextPlainContentType)) extends BasicRequestBody with Product with Serializable

    Permalink
  33. trait SttpBackend[R[_], -S] extends AnyRef

    Permalink
  34. case class SttpBackendOptions(connectionTimeout: FiniteDuration, proxy: Option[Proxy]) extends Product with Serializable

    Permalink
  35. class TryBackend[-S] extends SttpBackend[Try, S]

    Permalink
  36. case class Uri(scheme: String, userInfo: Option[UserInfo], host: String, port: Option[Int], path: Seq[String], queryFragments: Seq[QueryFragment], fragment: Option[String]) extends Product with Serializable

    Permalink
  37. implicit final class UriContext extends AnyVal

    Permalink

Value Members

  1. object Cookie extends Serializable

    Permalink
  2. val DefaultReadTimeout: Duration

    Permalink
  3. object FollowRedirectsBackend

    Permalink
  4. object HttpURLConnectionBackend

    Permalink
  5. object IdMonad extends MonadError[Id]

    Permalink
  6. object IgnoreResponse extends BasicResponseAs[Unit, Nothing] with Product with Serializable

    Permalink
  7. object Method extends Serializable

    Permalink
  8. object NoBody extends RequestBody[Nothing] with Product with Serializable

    Permalink
  9. object RequestBody

    Permalink
  10. object ResponseAs

    Permalink
  11. object ResponseAsByteArray extends BasicResponseAs[Array[Byte], Nothing] with Product with Serializable

    Permalink
  12. object SttpBackendOptions extends Serializable

    Permalink
  13. object TryHttpURLConnectionBackend

    Permalink
  14. object TryMonad extends MonadError[Try]

    Permalink
  15. object Uri extends Serializable

    Permalink
  16. object UriInterpolator

    Permalink
  17. def asByteArray: ResponseAs[Array[Byte], Nothing]

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

    Permalink
  19. def asParams(encoding: String): ResponseAs[Seq[(String, String)], Nothing]

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

    Permalink
  21. def asPath(path: Path, overwrite: Boolean = false): ResponseAs[Path, Nothing]

    Permalink
  22. def asStream[S]: ResponseAs[S, S]

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

    Permalink
  24. def asString: ResponseAs[String, Nothing]

    Permalink
  25. val emptyRequest: RequestT[Empty, String, Nothing]

    Permalink
  26. def ignore: ResponseAs[Unit, Nothing]

    Permalink
  27. def multipart[B](name: String, b: B)(implicit arg0: BodySerializer[B]): Multipart

    Permalink
  28. def multipart(name: String, fs: Seq[(String, String)], encoding: String): Multipart

    Permalink
  29. def multipart(name: String, fs: Seq[(String, String)]): Multipart

    Permalink
  30. def multipart(name: String, fs: Map[String, String], encoding: String): Multipart

    Permalink
  31. def multipart(name: String, fs: Map[String, String]): Multipart

    Permalink
  32. def multipart(name: String, data: Path): Multipart

    Permalink
  33. def multipart(name: String, data: File): Multipart

    Permalink
  34. def multipart(name: String, data: InputStream): Multipart

    Permalink
  35. def multipart(name: String, data: ByteBuffer): Multipart

    Permalink
  36. def multipart(name: String, data: Array[Byte]): Multipart

    Permalink
  37. def multipart(name: String, data: String, encoding: String): Multipart

    Permalink
  38. def multipart(name: String, data: String): Multipart

    Permalink
  39. val sttp: RequestT[Empty, String, Nothing]

    Permalink
  40. package testing

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped