public final class FormData
extends java.lang.Object
implements scala.Product, java.io.Serializable
application/x-www-form-urlencoded
form data.Modifier and Type | Method and Description |
---|---|
static FormData |
apply(scala.collection.immutable.Map<java.lang.String,java.lang.String> fields) |
static FormData |
apply(scala.collection.immutable.Seq<scala.Tuple2<java.lang.String,java.lang.String>> fields) |
static FormData |
Empty() |
Uri.Query |
fields() |
RequestEntity |
toEntity() |
RequestEntity |
toEntity(HttpCharset charset)
Deprecated.
FormData always uses charset UTF-8 without appending the charset to 'Content-Type: application/x-www-form-urlencoded', use toEntity instead. Since Akka HTTP 10.1.7.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public FormData(Uri.Query fields)
public static FormData Empty()
public static FormData apply(scala.collection.immutable.Map<java.lang.String,java.lang.String> fields)
public static FormData apply(scala.collection.immutable.Seq<scala.Tuple2<java.lang.String,java.lang.String>> fields)
public Uri.Query fields()
public RequestEntity toEntity()
public RequestEntity toEntity(HttpCharset charset)