case class PostRequest[Content, ContentType, Accept <: Coproduct](url: URL, content: Content, headers: List[(String, String)] = List.empty, charset: Charset = StandardCharsets.UTF_8) extends Client.RequestSyntax[Accept, Client.PostRequest[Content, ContentType, Accept]] with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, Client.RequestSyntax[Accept, Client.PostRequest[Content, ContentType, Accept]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PostRequest
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. RequestSyntax
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PostRequest(url: URL, content: Content, headers: List[(String, String)] = List.empty, charset: Charset = StandardCharsets.UTF_8)

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. macro def accept[AcceptTypes <: Coproduct](types: String*): Client.PostRequest[Content, ContentType, AcceptTypes]
  5. def accept[AcceptTypes <: Coproduct]: Client.PostRequest[Content, ContentType, AcceptTypes]
  6. def addFile[T, ContentType <: String](name: String, content: T, contentType: ContentType, filename: Option[String] = None)(implicit encoder: Encoder[T, ContentType]): Client.FormPostRequest[Accept, Right[Nothing, NonEmptyList[ValidatedNel[Throwable, FormElement]]]]
  7. def addParams(first: (String, String), rest: (String, String)*): Client.FormPostRequest[Accept, Right[Nothing, NonEmptyList[ValidatedNel[Throwable, FormElement]]]]
  8. def addQueryParams(params: (String, String)*): Client.PostRequest[Content, ContentType, Accept]
    Definition Classes
    RequestSyntax
  9. def addQueryParams(params: List[(String, String)]): Client.PostRequest[Content, ContentType, Accept]
    Definition Classes
    RequestSyntax
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def buildHeaders[HasUrl](rb: RequestBuilder[HasUrl, Nothing]): RequestBuilder[HasUrl, Nothing]
    Attributes
    protected[featherbed]
    Definition Classes
    RequestSyntax
  12. def buildRequest(implicit canBuild: Client.CanBuildRequest[Client.PostRequest[Content, ContentType, Accept]]): ValidatedNel[Throwable, Request]
    Attributes
    protected[featherbed]
    Definition Classes
    RequestSyntax
  13. val charset: Charset
    Definition Classes
    PostRequestRequestSyntax
  14. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. val content: Content
  16. def decodeResponse[T](rep: Response)(implicit decodeAll: DecodeAll[T, Accept]): Future[T]
    Attributes
    protected
    Definition Classes
    RequestSyntax
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  20. val headers: List[(String, String)]
    Definition Classes
    PostRequestRequestSyntax
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  25. def send[Error, Success]()(implicit canBuild: Client.CanBuildRequest[Client.PostRequest[Content, ContentType, Accept]], decodeAllError: DecodeAll[Error, Accept], decodeAllSuccess: DecodeAll[Success, Accept]): Future[Either[Error, Success]]
  26. def send[K]()(implicit canBuild: Client.CanBuildRequest[Client.PostRequest[Content, ContentType, Accept]], decodeAll: DecodeAll[K, Accept]): Future[K]
  27. def sendRequest[Error, Success](implicit canBuild: Client.CanBuildRequest[Client.PostRequest[Content, ContentType, Accept]], decodeAllSuccess: DecodeAll[Success, Accept], decodeAllError: DecodeAll[Error, Accept]): Future[Either[Error, Success]]
    Attributes
    protected
    Definition Classes
    RequestSyntax
  28. def sendRequest[K](implicit canBuild: Client.CanBuildRequest[Client.PostRequest[Content, ContentType, Accept]], decodeAll: DecodeAll[K, Accept]): Future[K]

    Send the request, decoding the response as K

    Send the request, decoding the response as K

    K

    The type to which the response will be decoded

    returns

    A future which will contain a validated response

    Attributes
    protected
    Definition Classes
    RequestSyntax
  29. def sendZip[Error, Success]()(implicit canBuild: Client.CanBuildRequest[Client.PostRequest[Content, ContentType, Accept]], decodeAllError: DecodeAll[Error, Accept], decodeAllSuccess: DecodeAll[Success, Accept]): Future[(Either[Error, Success], Response)]
  30. def sendZipRequest[Error, Success](implicit canBuild: Client.CanBuildRequest[Client.PostRequest[Content, ContentType, Accept]], decodeAllSuccess: DecodeAll[Success, Accept], decodeAllError: DecodeAll[Error, Accept]): Future[(Either[Error, Success], Response)]
    Attributes
    protected
    Definition Classes
    RequestSyntax
  31. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  32. val url: URL
    Definition Classes
    PostRequestRequestSyntax
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. def withCharset(charset: Charset): Client.PostRequest[Content, ContentType, Accept]
    Definition Classes
    PostRequestRequestSyntax
  37. def withContent[T, Type <: String](content: T, typ: Type)(implicit witness: Aux[typ.type]): Client.PostRequest[T, typ.type, Accept]
  38. def withHeader(name: String, value: String): Client.PostRequest[Content, ContentType, Accept]
    Definition Classes
    RequestSyntax
  39. def withHeaders(addHeaders: (String, String)*): Client.PostRequest[Content, ContentType, Accept]
    Definition Classes
    PostRequestRequestSyntax
  40. def withParams(first: (String, String), rest: (String, String)*): Client.FormPostRequest[Accept, Right[Nothing, NonEmptyList[ValidatedNel[Throwable, FormElement]]]]
  41. def withQuery(query: String): Client.PostRequest[Content, ContentType, Accept]
    Definition Classes
    RequestSyntax
  42. def withQueryParams(params: (String, String)*): Client.PostRequest[Content, ContentType, Accept]
    Definition Classes
    RequestSyntax
  43. def withQueryParams(params: List[(String, String)]): Client.PostRequest[Content, ContentType, Accept]
    Definition Classes
    RequestSyntax
  44. def withUrl(url: URL): Client.PostRequest[Content, ContentType, Accept]
    Definition Classes
    PostRequestRequestSyntax

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Client.RequestSyntax[Accept, Client.PostRequest[Content, ContentType, Accept]]

Inherited from AnyRef

Inherited from Any

Ungrouped