@NotThreadSafe public class UrlEncodedFormEntityHC4 extends StringEntityHC4
contentchunked, contentEncoding, contentType, OUTPUT_BUFFER_SIZE| Constructor and Description |
|---|
UrlEncodedFormEntityHC4(java.lang.Iterable<? extends org.apache.http.NameValuePair> parameters)
Constructs a new
UrlEncodedFormEntity with the list
of parameters with the default encoding of HTTP.DEFAULT_CONTENT_CHARSET |
UrlEncodedFormEntityHC4(java.lang.Iterable<? extends org.apache.http.NameValuePair> parameters,
java.nio.charset.Charset charset)
Constructs a new
UrlEncodedFormEntity with the list
of parameters in the specified encoding. |
UrlEncodedFormEntityHC4(java.util.List<? extends org.apache.http.NameValuePair> parameters)
Constructs a new
UrlEncodedFormEntity with the list
of parameters with the default encoding of HTTP.DEFAULT_CONTENT_CHARSET |
UrlEncodedFormEntityHC4(java.util.List<? extends org.apache.http.NameValuePair> parameters,
java.lang.String charset)
Constructs a new
UrlEncodedFormEntity with the list
of parameters in the specified encoding. |
clone, getContent, getContentLength, isRepeatable, isStreaming, writeToconsumeContent, getContentEncoding, getContentType, isChunked, setChunked, setContentEncoding, setContentEncoding, setContentType, setContentTypepublic UrlEncodedFormEntityHC4(java.util.List<? extends org.apache.http.NameValuePair> parameters,
java.lang.String charset)
throws java.io.UnsupportedEncodingException
UrlEncodedFormEntity with the list
of parameters in the specified encoding.parameters - list of name/value pairscharset - encoding the name/value pairs be encoded withjava.io.UnsupportedEncodingException - if the encoding isn't supportedpublic UrlEncodedFormEntityHC4(java.lang.Iterable<? extends org.apache.http.NameValuePair> parameters,
java.nio.charset.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 UrlEncodedFormEntityHC4(java.util.List<? extends org.apache.http.NameValuePair> parameters)
throws java.io.UnsupportedEncodingException
UrlEncodedFormEntity with the list
of parameters with the default encoding of HTTP.DEFAULT_CONTENT_CHARSETparameters - list of name/value pairsjava.io.UnsupportedEncodingException - if the default encoding isn't supportedpublic UrlEncodedFormEntityHC4(java.lang.Iterable<? extends org.apache.http.NameValuePair> parameters)
UrlEncodedFormEntity with the list
of parameters with the default encoding of HTTP.DEFAULT_CONTENT_CHARSETparameters - iterable collection of name/value pairsCopyright © 1999-2015 The Apache Software Foundation. All rights reserved.