Class FormData

  • All Implemented Interfaces:
    java.io.Serializable, scala.Equals, scala.Product

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

      Constructors 
      Constructor Description
      FormData​(Uri.Query fields)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface scala.Equals

        canEqual, equals
      • Methods inherited from interface scala.Product

        productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
    • Constructor Detail

      • FormData

        public FormData​(Uri.Query fields)
    • Method Detail

      • Empty

        public static FormData Empty()
      • apply

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

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

        public 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 10.1.7.