Modifier and Type | Method and Description |
---|---|
void |
LoopbackRestClient.onRestRequest(RestRequestHandler aHandler)
Registers a
RestRequestHandler to simulate a REST response: The
onRestRequest(org.refcodes.net.HttpClientRequest)
method is invoked with a prepared RestCallerBuilder instance
representing the request being sent and produces an according
RestResponseEvent to be passed back to the issuer of the request. |
protected void |
AbstractRestClient.onRestRequest(RestRequestHandler aHandler)
Sets the hook receiving a prepared
RestCallerBuilder instance to
be used to do the technical request with the technology chosen by the
implementing sub-class. |
void |
LoopbackRestClientImpl.onRestRequest(RestRequestHandler aHandler)
Sets the hook receiving a prepared
RestCallerBuilder instance to
be used to do the technical request with the technology chosen by the
implementing sub-class. |
Copyright © 2017. All rights reserved.