Package org.citrusframework.http.client
Class HttpResponseErrorHandler
java.lang.Object
org.springframework.web.client.DefaultResponseErrorHandler
org.citrusframework.http.client.HttpResponseErrorHandler
- All Implemented Interfaces:
org.springframework.web.client.ResponseErrorHandler
public class HttpResponseErrorHandler
extends org.springframework.web.client.DefaultResponseErrorHandler
- Since:
- 2.7
- Author:
- Christoph Deppisch
-
Constructor Summary
ConstructorsConstructorDescriptionHttpResponseErrorHandler(ErrorHandlingStrategy errorHandlingStrategy) Default constructor using error handling strategy. -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleError(org.springframework.http.client.ClientHttpResponse response) Methods inherited from class org.springframework.web.client.DefaultResponseErrorHandler
getCharset, getResponseBody, handleError, hasError, hasError, hasError, initBodyConvertFunctionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.web.client.ResponseErrorHandler
handleError
-
Constructor Details
-
HttpResponseErrorHandler
Default constructor using error handling strategy.- Parameters:
errorHandlingStrategy-
-
-
Method Details
-
handleError
public void handleError(org.springframework.http.client.ClientHttpResponse response) throws IOException - Specified by:
handleErrorin interfaceorg.springframework.web.client.ResponseErrorHandler- Overrides:
handleErrorin classorg.springframework.web.client.DefaultResponseErrorHandler- Throws:
IOException
-