Interface WebServiceResponseHandler<T>

Type Parameters:
T - The class of the retrieved response entities

public interface WebServiceResponseHandler<T>
Interface which exposes the response handler of every WebService
Since:
9/30/13
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Method which handles the failure response from a service request
    void
    Method which handles the successful response from a service request
  • Method Details

    • handleSuccessfulResponse

      void handleSuccessfulResponse(T collection)
      Method which handles the successful response from a service request
      Parameters:
      collection - The collection of entities of the generic mType from the response
    • handleFailureResponse

      void handleFailureResponse(ServiceException error)
      Method which handles the failure response from a service request
      Parameters:
      error - The service error generated upon a failed request