public class UrlEncodedFormEntity
extends org.apache.hc.core5.http.io.entity.StringEntity
| Constructor and Description | 
|---|
| UrlEncodedFormEntity(Iterable<? extends org.apache.hc.core5.http.NameValuePair> parameters)Constructs a new  UrlEncodedFormEntitywith the list
 of parameters with the default encoding ofContentType.APPLICATION_FORM_URLENCODED | 
| UrlEncodedFormEntity(Iterable<? extends org.apache.hc.core5.http.NameValuePair> parameters,
                    Charset charset)Constructs a new  UrlEncodedFormEntitywith the list
 of parameters in the specified encoding. | 
| UrlEncodedFormEntity(List<? extends org.apache.hc.core5.http.NameValuePair> parameters)Constructs a new  UrlEncodedFormEntitywith the list
 of parameters with the default encoding ofContentType.APPLICATION_FORM_URLENCODED | 
close, getContent, getContentLength, isRepeatable, isStreaming, writeTopublic UrlEncodedFormEntity(Iterable<? extends org.apache.hc.core5.http.NameValuePair> parameters, Charset charset)
UrlEncodedFormEntity with the list
 of parameters in the specified encoding.parameters - iterable collection of name/value pairscharset - encoding the name/value pairs be encoded withpublic UrlEncodedFormEntity(List<? extends org.apache.hc.core5.http.NameValuePair> parameters)
UrlEncodedFormEntity with the list
 of parameters with the default encoding of ContentType.APPLICATION_FORM_URLENCODEDparameters - list of name/value pairspublic UrlEncodedFormEntity(Iterable<? extends org.apache.hc.core5.http.NameValuePair> parameters)
UrlEncodedFormEntity with the list
 of parameters with the default encoding of ContentType.APPLICATION_FORM_URLENCODEDparameters - iterable collection of name/value pairsCopyright © 1999–2021 The Apache Software Foundation. All rights reserved.