Modifier and Type | Method | Description |
---|---|---|
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 |
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. |
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 © 2018. All rights reserved.