Package org.httprpc
Interface WebServiceProxy.ErrorHandler
-
- Enclosing class:
- WebServiceProxy
public static interface WebServiceProxy.ErrorHandlerInterface representing an error handler.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidhandleResponse(java.io.InputStream errorStream, java.lang.String contentType, int statusCode)Handles an error response.
-
-
-
Method Detail
-
handleResponse
void handleResponse(java.io.InputStream errorStream, java.lang.String contentType, int statusCode) throws java.io.IOExceptionHandles an error response.- Parameters:
errorStream- The error stream.contentType- The content type, ornullif the content type is not known.statusCode- The status code.- Throws:
java.io.IOException- Representing the error that occurred, or if an exception occurs while handling the error.
-
-