|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.http.entity.AbstractHttpEntity
org.apache.http.entity.StringEntity
org.apache.http.client.entity.UrlEncodedFormEntity
public class UrlEncodedFormEntity
An entity composed of a list of url-encoded pairs. This is typically useful while sending an HTTP POST request.
Field Summary |
---|
Fields inherited from class org.apache.http.entity.StringEntity |
---|
content |
Fields inherited from class org.apache.http.entity.AbstractHttpEntity |
---|
chunked, contentEncoding, contentType |
Constructor Summary | |
---|---|
UrlEncodedFormEntity(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 |
|
UrlEncodedFormEntity(java.util.List<? extends org.apache.http.NameValuePair> parameters,
java.lang.String encoding)
Constructs a new UrlEncodedFormEntity with the list
of parameters in the specified encoding. |
Method Summary |
---|
Methods inherited from class org.apache.http.entity.StringEntity |
---|
clone, getContent, getContentLength, isRepeatable, isStreaming, writeTo |
Methods inherited from class org.apache.http.entity.AbstractHttpEntity |
---|
consumeContent, getContentEncoding, getContentType, isChunked, setChunked, setContentEncoding, setContentEncoding, setContentType, setContentType |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UrlEncodedFormEntity(java.util.List<? extends org.apache.http.NameValuePair> parameters, java.lang.String encoding) throws java.io.UnsupportedEncodingException
UrlEncodedFormEntity
with the list
of parameters in the specified encoding.
parameters
- list of name/value pairsencoding
- encoding the name/value pairs be encoded with
java.io.UnsupportedEncodingException
- if the encoding isn't supportedpublic UrlEncodedFormEntity(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_CHARSET
parameters
- list of name/value pairs
java.io.UnsupportedEncodingException
- if the default encoding isn't supported
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |