public class ErrorInterceptor extends Object implements kong.unirest.Interceptor
Constructor and Description |
---|
ErrorInterceptor() |
Modifier and Type | Method and Description |
---|---|
kong.unirest.HttpResponse |
onFail(Exception e,
kong.unirest.HttpRequestSummary request,
kong.unirest.Config config) |
public kong.unirest.HttpResponse onFail(Exception e, kong.unirest.HttpRequestSummary request, kong.unirest.Config config)
onFail
in interface kong.unirest.Interceptor
Copyright © 2016–2020. All rights reserved.