|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.degreedays.api.ResponseMetadata
public final class ResponseMetadata
Extra data that comes back with every response from the Degree Days.net API.
The metadata for any particular response can be accessed via the
metadata()
method of the Response
object, or via the responseMetadata()
method of the RequestFailureException
(if
such an exception was thrown to indicate a failure in the server's processing
of the API request).
Instances of this class are immutable. You can safely reuse them and call them from multiple threads at once.
Nested Class Summary | |
---|---|
static class |
ResponseMetadata.Builder
A builder class for creating immutable ResponseMetadata objects
e.g. for testing purposes. |
Method Summary | |
---|---|
RateLimit |
rateLimit()
Returns details of the rate limit that is currently associated with the account. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public RateLimit rateLimit()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |