|
|||||||||
| Home >> All >> org >> apache >> commons >> httpclient >> [ methods overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.commons.httpclient.methods
Interface RequestEntity

- All Known Implementing Classes:
- ByteArrayRequestEntity, InputStreamRequestEntity, StringRequestEntity
- public interface RequestEntity
- Since:
- 3.0
| Method Summary | |
long |
getContentLength()
Gets the request entity's length. |
java.lang.String |
getContentType()
Gets the entity's content type. |
boolean |
isRepeatable()
Tests if writeRequest(OutputStream) 55 can be called more than once. |
void |
writeRequest(java.io.OutputStream out)
Writes the request entity to the given stream. |
| Method Detail |
isRepeatable
public boolean isRepeatable()
- Tests if
writeRequest(OutputStream)55 can be called more than once.
writeRequest
public void writeRequest(java.io.OutputStream out) throws java.io.IOException
- Writes the request entity to the given stream.
getContentLength
public long getContentLength()
- Gets the request entity's length. This method should return a non-negative value if the content
length is known or a negative value if it is not. In the latter case the
EntityEnclosingMethod will use chunk encoding to
transmit the request entity.
getContentType
public java.lang.String getContentType()
- Gets the entity's content type. This content type will be used as the value for the
"Content-Type" header.
|
|||||||||
| Home >> All >> org >> apache >> commons >> httpclient >> [ methods overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC