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 voidAbstractRestClient. onRestRequest(RestRequestHandler aHandler)Sets the hook receiving a preparedRestCallerBuilderinstance to be used to do the technical request with the technology chosen by the implementing sub-class.voidLoopbackRestClient. onRestRequest(RestRequestHandler aHandler)Registers aRestRequestHandlerto simulate a REST response: TheonRestRequest(org.refcodes.net.HttpClientRequest)method is invoked with a preparedRestCallerBuilderinstance representing the request being sent and produces an accordingRestResponseEventto be passed back to the issuer of the request.voidLoopbackRestClientImpl. onRestRequest(RestRequestHandler aHandler)Sets the hook receiving a preparedRestCallerBuilderinstance to be used to do the technical request with the technology chosen by the implementing sub-class.
-