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 TypeMethodDescriptionvoid
Method which handles the failure response from a service requestvoid
handleSuccessfulResponse
(T collection) Method which handles the successful response from a service request
-
Method Details
-
handleSuccessfulResponse
Method which handles the successful response from a service request- Parameters:
collection
- The collection of entities of the generic mType from the response
-
handleFailureResponse
Method which handles the failure response from a service request- Parameters:
error
- The service error generated upon a failed request
-