Package net.degreedays.api.processing

For advanced use, this enables customization of the request/response processing (XML, HTTP, security etc.).

See:
          Description

Interface Summary
BytesToEncodedString  
DateFormatter Formats dates as strings.
EndpointGetter Gets an endpoint URL for a request, maybe returning different endpoints for different types of request.
HttpRequestDispatcher Implementations of this interface may choose to handle compressed responses by adding an Accept-Encoding header to the request sent to the server, and by ensuring that the InputStream returned by HttpRequestDispatcher.dispatch(HttpRequest) has been inflated.
RandomFactory This generates the random strings that are used as part of the security mechanism that prevents replay attacks.
RequestToXml  
ResponseParser  
Signer  
StringToBytes  
TimestampFactory Creates a timestamp for inclusion in the request XML.
XmlRequestWrapper  
 

Class Summary
EncodedString  
HttpRequest  
HttpResponseStream  
RequestSecurityInfo  
Signature  
XmlHttpRequestProcessor A concrete implementation of the RequestProcessor interface that turns Request objects into XML, adds the necessary security details, sends them over HTTP to the Degree Days.net API servers, and parses the XML responses into Response object models.
 

Package net.degreedays.api.processing Description

For advanced use, this enables customization of the request/response processing (XML, HTTP, security etc.).

The starting point for customizations is the XmlHttpRequestProcessor.Builder class.



www.degreedays.net/api/