public interface HttpStreamParam
| Modifier and Type | Method and Description |
|---|---|
long |
getContentLength()
Returns the number of bytes that will be written to the output stream,
if konwn.
|
java.util.Map<java.lang.String,java.lang.String> |
getHttpHeaders()
Returns the headers associated with this parameter.
|
void |
writeContent(java.io.OutputStream out)
Writes the data content of this parameter to a stream.
|
java.util.Map<java.lang.String,java.lang.String> getHttpHeaders()
void writeContent(java.io.OutputStream out)
throws java.io.IOException
out - destination streamjava.io.IOExceptionlong getContentLength()
Copyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.