|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.degreedays.api.processing.HttpResponseStream
public class HttpResponseStream
Constructor Summary | |
---|---|
HttpResponseStream(java.io.InputStream stream)
|
Method Summary | |
---|---|
void |
close()
Closes the stream() , wrapping any IOException in a
TransportException . |
java.io.InputStream |
stream()
Returns the non-null InputStream object that this
HttpResponseStream object was created with. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HttpResponseStream(java.io.InputStream stream)
Method Detail |
---|
public final java.io.InputStream stream()
InputStream
object that this
HttpResponseStream
object was created with.
You should not close the returned stream directly, instead call
close()
on this object when you're done with it (and the stream
it holds).
public void close() throws TransportException
stream()
, wrapping any IOException
in a
TransportException
.
If your HttpRequestDispatcher
needs to do any other cleanup, it
should return a subclass of HttpResponseStream
that
overrides this method.
TransportException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |