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
Ordering
- Alphabetic
- By Inheritance
Inherited
- FormPostRequest
- Serializable
- Serializable
- Product
- Equals
- RequestSyntax
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- macro def accept[AcceptTypes <: Coproduct](types: String*): Client.FormPostRequest[AcceptTypes, Elements]
- def accept[AcceptTypes <: Coproduct]: Client.FormPostRequest[AcceptTypes, Elements]
- 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]]]]
- def addParams(first: (String, String), rest: (String, String)*): Client.FormPostRequest[Accept, Right[Nothing, NonEmptyList[ValidatedNel[Throwable, FormElement]]]]
-
def
addQueryParams(params: (String, String)*): Client.FormPostRequest[Accept, Elements]
- Definition Classes
- RequestSyntax
-
def
addQueryParams(params: List[(String, String)]): Client.FormPostRequest[Accept, Elements]
- Definition Classes
- RequestSyntax
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
buildHeaders[HasUrl](rb: RequestBuilder[HasUrl, Nothing]): RequestBuilder[HasUrl, Nothing]
- Attributes
- protected[featherbed]
- Definition Classes
- RequestSyntax
-
def
buildRequest(implicit canBuild: Client.CanBuildRequest[Client.FormPostRequest[Accept, Elements]]): ValidatedNel[Throwable, Request]
- Attributes
- protected[featherbed]
- Definition Classes
- RequestSyntax
-
val
charset: Charset
- Definition Classes
- FormPostRequest → RequestSyntax
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
decodeResponse[T](rep: Response)(implicit decodeAll: DecodeAll[T, Accept]): Future[T]
- Attributes
- protected
- Definition Classes
- RequestSyntax
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- val form: Elements
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
val
headers: List[(String, String)]
- Definition Classes
- FormPostRequest → RequestSyntax
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val multipart: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- def send[Error, Success]()(implicit canBuild: Client.CanBuildRequest[Client.FormPostRequest[Accept, Elements]], decodeAllError: DecodeAll[Error, Accept], decodeAllSuccess: DecodeAll[Success, Accept]): Future[Either[Error, Success]]
- def send[K]()(implicit canBuild: Client.CanBuildRequest[Client.FormPostRequest[Accept, Elements]], decodeAll: DecodeAll[K, Accept]): Future[K]
-
def
sendRequest[Error, Success](implicit canBuild: Client.CanBuildRequest[Client.FormPostRequest[Accept, Elements]], decodeAllSuccess: DecodeAll[Success, Accept], decodeAllError: DecodeAll[Error, Accept]): Future[Either[Error, Success]]
- Attributes
- protected
- Definition Classes
- RequestSyntax
-
def
sendRequest[K](implicit canBuild: Client.CanBuildRequest[Client.FormPostRequest[Accept, Elements]], 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
- 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)]
-
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)]
- Attributes
- protected
- Definition Classes
- RequestSyntax
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
val
url: URL
- Definition Classes
- FormPostRequest → RequestSyntax
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
withCharset(charset: Charset): Client.FormPostRequest[Accept, Elements]
- Definition Classes
- FormPostRequest → RequestSyntax
-
def
withHeader(name: String, value: String): Client.FormPostRequest[Accept, Elements]
- Definition Classes
- RequestSyntax
-
def
withHeaders(addHeaders: (String, String)*): Client.FormPostRequest[Accept, Elements]
- Definition Classes
- FormPostRequest → RequestSyntax
- def withMultipart(multipart: Boolean): Client.FormPostRequest[Accept, Elements]
- def withParams(first: (String, String), rest: (String, String)*): Client.FormPostRequest[Accept, Right[Nothing, NonEmptyList[ValidatedNel[Throwable, FormElement]]]]
-
def
withQuery(query: String): Client.FormPostRequest[Accept, Elements]
- Definition Classes
- RequestSyntax
-
def
withQueryParams(params: (String, String)*): Client.FormPostRequest[Accept, Elements]
- Definition Classes
- RequestSyntax
-
def
withQueryParams(params: List[(String, String)]): Client.FormPostRequest[Accept, Elements]
- Definition Classes
- RequestSyntax
-
def
withUrl(url: URL): Client.FormPostRequest[Accept, Elements]
- Definition Classes
- FormPostRequest → RequestSyntax