public abstract class Response
extends java.lang.Object
Request
(e.g. degree day data
returned in response to a request for that data).This abstract class is not designed to be extended by third-party code, which is why it does not have an accessible constructor.
All concrete subclasses of this abstract class are immutable. You can safely reuse them and call them from multiple threads at once.
Modifier and Type | Method and Description |
---|---|
ResponseMetadata |
metadata()
Returns a non-null object containing metadata sent back with every
response from the API servers, including details of the account's current
rate limit.
|
public ResponseMetadata metadata()
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.