Class

featherbed.request.RequestTypes

FormPostRequest

Related Doc: package RequestTypes

Permalink

case class FormPostRequest[Accept <: Coproduct, Elements <: Either[None.type, NonEmptyList[ValidatedNel[Throwable, FormElement]]]](url: URL, form: Elements = Left(None), multipart: Boolean = false, headers: List[(String, String)] = List.empty, charset: Charset = StandardCharsets.UTF_8) extends Client.RequestSyntax[Accept, Client.FormPostRequest[Accept, Elements]] with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, Client.RequestSyntax[Accept, Client.FormPostRequest[Accept, Elements]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FormPostRequest
  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 FormPostRequest(url: URL, form: Elements = Left(None), multipart: Boolean = false, 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.FormPostRequest[AcceptTypes, Elements]

    Permalink
  5. def accept[AcceptTypes <: Coproduct]: Client.FormPostRequest[AcceptTypes, Elements]

    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.FormPostRequest[Accept, Elements]

    Permalink
    Definition Classes
    RequestSyntax
  9. def addQueryParams(params: List[(String, String)]): Client.FormPostRequest[Accept, Elements]

    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.FormPostRequest[Accept, Elements]]): ValidatedNel[Throwable, Request]

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. def decodeResponse[T](rep: Response)(implicit decodeAll: DecodeAll[T, Accept]): Future[T]

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. val form: Elements

    Permalink
  19. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  22. val multipart: Boolean

    Permalink
  23. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  26. def send[Error, Success]()(implicit canBuild: Client.CanBuildRequest[Client.FormPostRequest[Accept, Elements]], decodeAllError: DecodeAll[Error, Accept], decodeAllSuccess: DecodeAll[Success, Accept]): Future[Either[Error, Success]]

    Permalink
  27. def send[K]()(implicit canBuild: Client.CanBuildRequest[Client.FormPostRequest[Accept, Elements]], decodeAll: DecodeAll[K, Accept]): Future[K]

    Permalink
  28. def sendRequest[Error, Success](implicit canBuild: Client.CanBuildRequest[Client.FormPostRequest[Accept, Elements]], decodeAllSuccess: DecodeAll[Success, Accept], decodeAllError: DecodeAll[Error, Accept]): Future[Either[Error, Success]]

    Permalink
    Attributes
    protected
    Definition Classes
    RequestSyntax
  29. def sendRequest[K](implicit canBuild: Client.CanBuildRequest[Client.FormPostRequest[Accept, Elements]], 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
  30. def sendZip[Error, Success]()(implicit canBuild: Client.CanBuildRequest[Client.FormPostRequest[Accept, Elements]], decodeAllError: DecodeAll[Error, Accept], decodeAllSuccess: DecodeAll[Success, Accept]): Future[(Either[Error, Success], Response)]

    Permalink
  31. def sendZipRequest[Error, Success](implicit canBuild: Client.CanBuildRequest[Client.FormPostRequest[Accept, Elements]], decodeAllSuccess: DecodeAll[Success, Accept], decodeAllError: DecodeAll[Error, Accept]): Future[(Either[Error, Success], Response)]

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

    Permalink
    Definition Classes
    AnyRef
  33. val url: URL

    Permalink
    Definition Classes
    FormPostRequestRequestSyntax
  34. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. def withCharset(charset: Charset): Client.FormPostRequest[Accept, Elements]

    Permalink
    Definition Classes
    FormPostRequestRequestSyntax
  38. def withHeader(name: String, value: String): Client.FormPostRequest[Accept, Elements]

    Permalink
    Definition Classes
    RequestSyntax
  39. def withHeaders(addHeaders: (String, String)*): Client.FormPostRequest[Accept, Elements]

    Permalink
    Definition Classes
    FormPostRequestRequestSyntax
  40. def withMultipart(multipart: Boolean): Client.FormPostRequest[Accept, Elements]

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

    Permalink
  42. def withQuery(query: String): Client.FormPostRequest[Accept, Elements]

    Permalink
    Definition Classes
    RequestSyntax
  43. def withQueryParams(params: (String, String)*): Client.FormPostRequest[Accept, Elements]

    Permalink
    Definition Classes
    RequestSyntax
  44. def withQueryParams(params: List[(String, String)]): Client.FormPostRequest[Accept, Elements]

    Permalink
    Definition Classes
    RequestSyntax
  45. def withUrl(url: URL): Client.FormPostRequest[Accept, Elements]

    Permalink
    Definition Classes
    FormPostRequestRequestSyntax

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Client.RequestSyntax[Accept, Client.FormPostRequest[Accept, Elements]]

Inherited from AnyRef

Inherited from Any

Ungrouped