Class

featherbed.request.RequestTypes

PostRequest

Related Doc: package RequestTypes

Permalink

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)

    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. macro def accept[AcceptTypes <: Coproduct](types: String*): Client.PostRequest[Content, ContentType, AcceptTypes]

    Permalink
  5. def accept[AcceptTypes <: Coproduct]: Client.PostRequest[Content, ContentType, AcceptTypes]

    Permalink
  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]]]]

    Permalink
  7. def addParams(first: (String, String), rest: (String, String)*): Client.FormPostRequest[Accept, Right[Nothing, NonEmptyList[ValidatedNel[Throwable, FormElement]]]]

    Permalink
  8. def addQueryParams(params: (String, String)*): Client.PostRequest[Content, ContentType, Accept]

    Permalink
    Definition Classes
    RequestSyntax
  9. def addQueryParams(params: List[(String, String)]): Client.PostRequest[Content, ContentType, Accept]

    Permalink
    Definition Classes
    RequestSyntax
  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. def buildHeaders[HasUrl](rb: RequestBuilder[HasUrl, Nothing]): RequestBuilder[HasUrl, Nothing]

    Permalink
    Attributes
    protected[featherbed]
    Definition Classes
    RequestSyntax
  12. def buildRequest(implicit canBuild: Client.CanBuildRequest[Client.PostRequest[Content, ContentType, Accept]]): ValidatedNel[Throwable, Request]

    Permalink
    Attributes
    protected[featherbed]
    Definition Classes
    RequestSyntax
  13. val charset: Charset

    Permalink
    Definition Classes
    PostRequestRequestSyntax
  14. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. val content: Content

    Permalink
  16. def decodeResponse[T](rep: Response)(implicit decodeAll: DecodeAll[T, Accept]): Future[T]

    Permalink
    Attributes
    protected
    Definition Classes
    RequestSyntax
  17. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  20. val headers: List[(String, String)]

    Permalink
    Definition Classes
    PostRequestRequestSyntax
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    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]]

    Permalink
  26. def send[K]()(implicit canBuild: Client.CanBuildRequest[Client.PostRequest[Content, ContentType, Accept]], decodeAll: DecodeAll[K, Accept]): Future[K]

    Permalink
  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]]

    Permalink
    Attributes
    protected
    Definition Classes
    RequestSyntax
  28. def sendRequest[K](implicit canBuild: Client.CanBuildRequest[Client.PostRequest[Content, ContentType, Accept]], decodeAll: DecodeAll[K, Accept]): Future[K]

    Permalink

    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)]

    Permalink
  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)]

    Permalink
    Attributes
    protected
    Definition Classes
    RequestSyntax
  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  32. val url: URL

    Permalink
    Definition Classes
    PostRequestRequestSyntax
  33. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. def withCharset(charset: Charset): Client.PostRequest[Content, ContentType, Accept]

    Permalink
    Definition Classes
    PostRequestRequestSyntax
  37. def withContent[T, Type <: String](content: T, typ: Type)(implicit witness: Aux[typ.type]): Client.PostRequest[T, typ.type, Accept]

    Permalink
  38. def withHeader(name: String, value: String): Client.PostRequest[Content, ContentType, Accept]

    Permalink
    Definition Classes
    RequestSyntax
  39. def withHeaders(addHeaders: (String, String)*): Client.PostRequest[Content, ContentType, Accept]

    Permalink
    Definition Classes
    PostRequestRequestSyntax
  40. def withParams(first: (String, String), rest: (String, String)*): Client.FormPostRequest[Accept, Right[Nothing, NonEmptyList[ValidatedNel[Throwable, FormElement]]]]

    Permalink
  41. def withQuery(query: String): Client.PostRequest[Content, ContentType, Accept]

    Permalink
    Definition Classes
    RequestSyntax
  42. def withQueryParams(params: (String, String)*): Client.PostRequest[Content, ContentType, Accept]

    Permalink
    Definition Classes
    RequestSyntax
  43. def withQueryParams(params: List[(String, String)]): Client.PostRequest[Content, ContentType, Accept]

    Permalink
    Definition Classes
    RequestSyntax
  44. def withUrl(url: URL): Client.PostRequest[Content, ContentType, Accept]

    Permalink
    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