Interface ISoapResponseHandler
- All Known Implementing Classes:
SoapResponseXmlParser
public interface ISoapResponseHandler
This interface describes a handler that handles a soap response.
- Since:
- 9.0
- Author:
- Jon van Leuven
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handleError
(String errorMessage, InputStream response) This method is called by the ISoapConnection.invoke method and receives the error stream.void
handleResponse
(InputStream response) This method is called by the ISoapConnection.invoke method and receives the response stream.
-
Method Details
-
handleResponse
This method is called by the ISoapConnection.invoke method and receives the response stream.- Parameters:
response
- The response stream of the handled response, may be null.- Throws:
IOException
- This exception should be thrown when the response could not be handled properly.
-
handleError
This method is called by the ISoapConnection.invoke method and receives the error stream.- Parameters:
errorMessage
- The error message.response
- The response stream of the handled response, may be null.- Throws:
IOException
- This exception should be thrown when the response could not be handled properly.
-