|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Request | |
---|---|
net.degreedays.api | Core Degree Days.net API classes, including DegreeDaysApi - the starting point for all API operations. |
net.degreedays.api.data | For specifying and receiving degree-day data from the API. |
net.degreedays.api.processing | For advanced use, this enables customization of the request/response processing (XML, HTTP, security etc.). |
Uses of Request in net.degreedays.api |
---|
Methods in net.degreedays.api with parameters of type Request | |
---|---|
Response |
RequestProcessor.process(Request request)
Processes the Request object and returns a
Response object which is either a
FailureResponse or a
Response that's type is the counterpart to
that of the Request object passed in. |
Uses of Request in net.degreedays.api.data |
---|
Subclasses of Request in net.degreedays.api.data | |
---|---|
class |
LocationDataRequest
Defines a request for one or more sets of degree-day data from a particular location. |
class |
LocationInfoRequest
Defines a request for info about the station(s) that would be used to fulfil an equivalent LocationDataRequest . |
Uses of Request in net.degreedays.api.processing |
---|
Methods in net.degreedays.api.processing with parameters of type Request | |
---|---|
java.lang.String |
EndpointGetter.getEndpoint(Request request)
Returns the endpoint URL that should be used for the request passed in. |
java.lang.String |
RequestToXml.getXml(Request request)
|
Response |
ResponseParser.parseResponse(java.io.InputStream responseStream,
Request request)
Note that it is not the responsibility of this parser to close the responseStream . |
Response |
XmlHttpRequestProcessor.process(Request request)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |