org.apache.http.client.methods
Class UrlEncodedFormEntity
java.lang.Object
org.apache.http.entity.AbstractHttpEntity
org.apache.http.client.methods.UrlEncodedFormEntity
- All Implemented Interfaces:
- org.apache.http.HttpEntity
public class UrlEncodedFormEntity
- extends org.apache.http.entity.AbstractHttpEntity
Fields inherited from class org.apache.http.entity.AbstractHttpEntity |
chunked, contentEncoding, contentType |
Methods inherited from class org.apache.http.entity.AbstractHttpEntity |
consumeContent, getContentEncoding, isChunked, setChunked, setContentEncoding, setContentEncoding, setContentType, setContentType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FORM_URL_ENCODED_CONTENT_TYPE
public static final java.lang.String FORM_URL_ENCODED_CONTENT_TYPE
- The Content-Type for www-form-urlencoded.
- See Also:
- Constant Field Values
UrlEncodedFormEntity
public UrlEncodedFormEntity(org.apache.http.NameValuePair[] fields,
java.lang.String charset)
throws java.io.UnsupportedEncodingException
- Throws:
java.io.UnsupportedEncodingException
UrlEncodedFormEntity
public UrlEncodedFormEntity(org.apache.http.NameValuePair[] fields)
isRepeatable
public boolean isRepeatable()
getContentLength
public long getContentLength()
getContent
public java.io.InputStream getContent()
throws java.io.IOException
- Throws:
java.io.IOException
getContentType
public org.apache.http.Header getContentType()
- Specified by:
getContentType
in interface org.apache.http.HttpEntity
- Overrides:
getContentType
in class org.apache.http.entity.AbstractHttpEntity
isStreaming
public boolean isStreaming()
writeTo
public void writeTo(java.io.OutputStream outstream)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.