public interface RequestEntity
Modifier and Type | Method and Description |
---|---|
long |
getContentLength()
Gets the request entity's length.
|
String |
getContentType()
Gets the entity's content type.
|
boolean |
isRepeatable()
Tests if
writeRequest(java.io.OutputStream) can be called more than once. |
void |
writeRequest(OutputStream out)
Writes the request entity to the given stream.
|
boolean isRepeatable()
writeRequest(java.io.OutputStream)
can be called more than once.OutputStream
more than once,
false otherwise.void writeRequest(OutputStream out) throws IOException
out
- IOException
long getContentLength()
String getContentType()
Copyright © 2015. All rights reserved.