Uses of Interface
org.refcodes.rest.RestRequestHandler
-
-
Uses of RestRequestHandler in org.refcodes.rest
Methods in org.refcodes.rest with parameters of type RestRequestHandler Modifier and Type Method Description protected void
AbstractRestClient. onRestRequest(RestRequestHandler aHandler)
Sets the hook receiving a preparedRestCallerBuilder
instance to be used to do the technical request with the technology chosen by the implementing sub-class.void
LoopbackRestClient. onRestRequest(RestRequestHandler aHandler)
Registers aRestRequestHandler
to simulate a REST response: TheonRestRequest(org.refcodes.net.HttpClientRequest)
method is invoked with a preparedRestCallerBuilder
instance representing the request being sent and produces an accordingRestResponseEvent
to be passed back to the issuer of the request.void
LoopbackRestClientImpl. onRestRequest(RestRequestHandler aHandler)
Sets the hook receiving a preparedRestCallerBuilder
instance to be used to do the technical request with the technology chosen by the implementing sub-class.
-