Class XmlResponderResource<S>

java.lang.Object
esendex.sdk.java.service.resource.base.Resource
esendex.sdk.java.service.resource.base.XmlResponderResource<S>
Type Parameters:
S - the Dto type that is expected in response
Direct Known Subclasses:
RetrieveContactResource, RetrieveContactsResource, RetrieveInboxMessagesForOneAccountResource, RetrieveInboxMessagesResource, RetrieveIndividualMessageResource, RetrieveOptOutResource, RetrieveOptOutsResource, RetrieveSentMessagesResource, SessionResource, SurveyReportResource

public abstract class XmlResponderResource<S> extends Resource
An XmlResponderResource is a resource that receives XML data it does not send it.
  • Constructor Details

  • Method Details

    • execute

      public void execute() throws EsendexException
      Makes and completes the connection to the resource.
      Overrides:
      execute in class Resource
      Throws:
      EsendexException - If there is a problem during the connection or the HTTP response is outside the 200-299 range.
    • getResponseObject

      public S getResponseObject()
      Gets the response object.
      Returns:
      the response object