public interface IBoxRestVisitor
| Modifier and Type | Method and Description |
|---|---|
void |
visitException(Exception e,
int sequenceId)
Visit the exception when exception is thrown during http call.
|
void |
visitRequestBeforeSend(org.apache.http.HttpRequest request,
int sequenceId)
Visit the http request right before request sent out.
|
void |
visitResponseUponReceiving(org.apache.http.HttpResponse response,
int sequenceId)
Visit the http response after response is received.
|
void visitRequestBeforeSend(org.apache.http.HttpRequest request,
int sequenceId)
request - http requestsequence - id of the api requestvoid visitResponseUponReceiving(org.apache.http.HttpResponse response,
int sequenceId)
response - http response.sequence - id of the api requestvoid visitException(Exception e, int sequenceId)
e - Exception.sequence - id of the api requestCopyright © 2014. All Rights Reserved.