|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HttpContent
Serializes HTTP request content into an output stream.
Implementations don't need to be thread-safe.
Method Summary | |
---|---|
String |
getEncoding()
Returns the content encoding (for example "gzip" ) or null for none. |
long |
getLength()
Returns the content length or less than zero if not known. |
String |
getType()
Returns the content type or null for none. |
boolean |
retrySupported()
Returns whether or not retry is supported on this content type. |
void |
writeTo(OutputStream out)
Writes the content to the given output stream. |
Method Detail |
---|
long getLength() throws IOException
IOException
String getEncoding()
"gzip"
) or null
for none.
String getType()
null
for none.
void writeTo(OutputStream out) throws IOException
IOException
boolean retrySupported()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |