Class Request

  extended by net.degreedays.api.Request
Direct Known Subclasses:
LocationDataRequest, LocationInfoRequest

public abstract class Request
extends java.lang.Object

Specifies an operation that you'd like the API to do (e.g. calculating a specific type of degree-day data for a specific location).

Any concrete subclass of Request will have an equivalent Response object. For example, LocationDataRequest has LocationDataResponse.

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.

Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait