|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HttpStreamParam
Defines a parameter to be submitted as part of a multipart/form-data HTTP POST operation.
Method Summary | |
---|---|
long |
getContentLength()
Returns the number of bytes that will be written to the output stream, if konwn. |
Map<String,String> |
getHttpHeaders()
Returns the headers associated with this parameter. |
void |
writeContent(OutputStream out)
Writes the data content of this parameter to a stream. |
Method Detail |
---|
Map<String,String> getHttpHeaders()
void writeContent(OutputStream out) throws IOException
out
- destination stream
IOException
long getContentLength()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |