public class HttpResponseStream
extends java.lang.Object
InputStream that comes as a response from
 the API servers.
 
 
 This exists primarily for custom implementations of
 HttpRequestDispatcher that may wish to subclass this to perform extra
 cleanup when the stream is closed via the close() method (which can be
 overridden).
 
| Constructor and Description | 
|---|
HttpResponseStream(java.io.InputStream stream)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
close()
 | 
java.io.InputStream | 
stream()
Returns the non-null  
InputStream object that this
 HttpResponseStream object was created with. | 
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
See www.degreedays.net/api/ for more about the Degree Days.net API.
You can sign up for a Degree Days.net API account and read the integration guide that is useful and applicable whether you are using Java or not.