Class FormData

All Implemented Interfaces:
Serializable, scala.Equals, scala.Product

public final class FormData extends Object implements scala.Product, Serializable
Simple model for application/x-www-form-urlencoded form data.
See Also:
  • Constructor Details

    • FormData

      public FormData(Uri.Query fields)
  • Method Details

    • Empty

      public static FormData Empty()
    • apply

      public static FormData apply(scala.collection.immutable.Map<String,String> fields)
    • apply

      public static FormData apply(scala.collection.immutable.Seq<scala.Tuple2<String,String>> fields)
    • fields

      public Uri.Query fields()
    • toEntity

      public RequestEntity toEntity()
    • toEntity

      public RequestEntity toEntity(HttpCharset charset)
      FormData always uses charset UTF-8 without appending the charset to 'Content-Type: application/x-www-form-urlencoded', use toEntity instead. Since 10.1.7.