public class ReportPortalErrorHandler
extends com.epam.reportportal.restendpoint.http.DefaultErrorHandler
| Constructor and Description |
|---|
ReportPortalErrorHandler(com.epam.reportportal.restendpoint.serializer.Serializer serializer) |
| Modifier and Type | Method and Description |
|---|---|
void |
handle(com.epam.reportportal.restendpoint.http.Response<com.google.common.io.ByteSource> rs) |
boolean |
hasError(com.epam.reportportal.restendpoint.http.Response<com.google.common.io.ByteSource> rs) |
public ReportPortalErrorHandler(com.epam.reportportal.restendpoint.serializer.Serializer serializer)
public void handle(com.epam.reportportal.restendpoint.http.Response<com.google.common.io.ByteSource> rs)
throws com.epam.reportportal.restendpoint.http.exception.RestEndpointIOException
handle in interface com.epam.reportportal.restendpoint.http.ErrorHandlerhandle in class com.epam.reportportal.restendpoint.http.DefaultErrorHandlercom.epam.reportportal.restendpoint.http.exception.RestEndpointIOExceptionpublic boolean hasError(com.epam.reportportal.restendpoint.http.Response<com.google.common.io.ByteSource> rs)
hasError in interface com.epam.reportportal.restendpoint.http.ErrorHandlerhasError in class com.epam.reportportal.restendpoint.http.DefaultErrorHandler