Package | Description |
---|---|
org.refcodes.rest |
What is this package for?
|
org.refcodes.rest.impls |
Modifier and Type | Method and Description |
---|---|
static RestCallerBuilder |
HttpRestClientSugar.doDelete(String aLocator,
org.refcodes.net.FormFields aQueryFields,
Object aBody,
RestResponseObserver aResponseObserver) |
default RestCallerBuilder |
RestClient.doDelete(String aLocator,
org.refcodes.net.FormFields aQueryFields,
Object aBody,
RestResponseObserver aResponseObserver)
Creates a DELETE request with the common attributes and returns the
according
RestCallerBuilder instance used for the request. |
static RestCallerBuilder |
HttpRestClientSugar.doDelete(String aLocator,
org.refcodes.net.FormFields aQueryFields,
RestResponseObserver aResponseObserver) |
default RestCallerBuilder |
RestClient.doDelete(String aLocator,
org.refcodes.net.FormFields aQueryFields,
RestResponseObserver aResponseObserver)
Creates a DELETE request with the common attributes and returns the
according
RestCallerBuilder instance used for the request. |
static RestCallerBuilder |
HttpRestClientSugar.doDelete(String aLocator,
Object aBody,
RestResponseObserver aResponseObserver) |
default RestCallerBuilder |
RestClient.doDelete(String aLocator,
Object aBody,
RestResponseObserver aResponseObserver)
Creates a DELETE request with the common attributes and returns the
according
RestCallerBuilder instance used for the request. |
static RestCallerBuilder |
HttpRestClientSugar.doDelete(String aLocator,
RestResponseObserver aResponseObserver) |
default RestCallerBuilder |
RestClient.doDelete(String aLocator,
RestResponseObserver aResponseObserver)
Creates a DELETE request with the common attributes and returns the
according
RestCallerBuilder instance used for the request. |
static RestCallerBuilder |
HttpRestClientSugar.doGet(String aLocator,
org.refcodes.net.FormFields aQueryFields,
RestResponseObserver aResponseObserver) |
default RestCallerBuilder |
RestClient.doGet(String aLocator,
org.refcodes.net.FormFields aQueryFields,
RestResponseObserver aResponseObserver)
Creates a GET request with the common attributes and returns the
according
RestCallerBuilder instance used for the request. |
static RestCallerBuilder |
HttpRestClientSugar.doGet(String aLocator,
RestResponseObserver aResponseObserver) |
default RestCallerBuilder |
RestClient.doGet(String aLocator,
RestResponseObserver aResponseObserver)
Creates a GET request with the common attributes and returns the
according
RestCallerBuilder instance used for the request. |
static RestCallerBuilder |
HttpRestClientSugar.doPost(String aLocator,
org.refcodes.net.FormFields aQueryFields,
Object aBody,
RestResponseObserver aResponseObserver) |
default RestCallerBuilder |
RestClient.doPost(String aLocator,
org.refcodes.net.FormFields aQueryFields,
Object aBody,
RestResponseObserver aResponseObserver)
Creates a POST request with the common attributes and returns the
according
RestCallerBuilder instance used for the request. |
static RestCallerBuilder |
HttpRestClientSugar.doPost(String aLocator,
org.refcodes.net.FormFields aQueryFields,
RestResponseObserver aResponseObserver) |
default RestCallerBuilder |
RestClient.doPost(String aLocator,
org.refcodes.net.FormFields aQueryFields,
RestResponseObserver aResponseObserver)
Creates a POST request with the common attributes and returns the
according
RestCallerBuilder instance used for the request. |
static RestCallerBuilder |
HttpRestClientSugar.doPost(String aLocator,
Object aBody,
RestResponseObserver aResponseObserver) |
default RestCallerBuilder |
RestClient.doPost(String aLocator,
Object aBody,
RestResponseObserver aResponseObserver)
Creates a POST request with the common attributes and returns the
according
RestCallerBuilder instance used for the request. |
static RestCallerBuilder |
HttpRestClientSugar.doPost(String aLocator,
RestResponseObserver aResponseObserver) |
default RestCallerBuilder |
RestClient.doPost(String aLocator,
RestResponseObserver aResponseObserver)
Creates a POST request with the common attributes and returns the
according
RestCallerBuilder instance used for the request. |
static RestCallerBuilder |
HttpRestClientSugar.doPut(String aLocator,
org.refcodes.net.FormFields aQueryFields,
Object aBody,
RestResponseObserver aResponseObserver) |
default RestCallerBuilder |
RestClient.doPut(String aLocator,
org.refcodes.net.FormFields aQueryFields,
Object aBody,
RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the
according
RestCallerBuilder instance used for the request. |
static RestCallerBuilder |
HttpRestClientSugar.doPut(String aLocator,
org.refcodes.net.FormFields aQueryFields,
RestResponseObserver aResponseObserver) |
default RestCallerBuilder |
RestClient.doPut(String aLocator,
org.refcodes.net.FormFields aQueryFields,
RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the
according
RestCallerBuilder instance used for the request. |
static RestCallerBuilder |
HttpRestClientSugar.doPut(String aLocator,
Object aBody,
RestResponseObserver aResponseObserver) |
default RestCallerBuilder |
RestClient.doPut(String aLocator,
Object aBody,
RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the
according
RestCallerBuilder instance used for the request. |
static RestCallerBuilder |
HttpRestClientSugar.doPut(String aLocator,
RestResponseObserver aResponseObserver) |
default RestCallerBuilder |
RestClient.doPut(String aLocator,
RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the
according
RestCallerBuilder instance used for the request. |
static RestCallerBuilder |
HttpRestClientSugar.doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aLocator,
org.refcodes.net.FormFields aQueryFields,
Object aBody,
RestResponseObserver aResponseObserver) |
RestCallerBuilder |
RestClient.doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aLocator,
org.refcodes.net.FormFields aQueryFields,
Object aBody,
RestResponseObserver aResponseObserver)
Creates a request with the possible attributes and returns the according
RestCallerBuilder instance used for the request. |
static RestCallerBuilder |
HttpRestClientSugar.doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aLocator,
org.refcodes.net.FormFields aQueryFields,
RestResponseObserver aResponseObserver) |
default RestCallerBuilder |
RestClient.doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aLocator,
org.refcodes.net.FormFields aQueryFields,
RestResponseObserver aResponseObserver)
Creates a request with the common attributes e.g. for a
HttpMethod.GET request and returns the according
RestCallerBuilder instance used for the request. |
static RestCallerBuilder |
HttpRestClientSugar.doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aLocator,
Object aBody,
RestResponseObserver aResponseObserver) |
default RestCallerBuilder |
RestClient.doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aLocator,
Object aBody,
RestResponseObserver aResponseObserver)
Creates a request with the required attributes e.g. for a
HttpMethod.POST request and returns the according
RestCallerBuilder instance used for the request. |
static RestCallerBuilder |
HttpRestClientSugar.doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aLocator,
RestResponseObserver aResponseObserver) |
default RestCallerBuilder |
RestClient.doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aLocator,
RestResponseObserver aResponseObserver)
Creates a request with the minimum attributes e.g.
|
default RestCallerBuilder |
RestCallerBuilder.withHttpMethod(org.refcodes.net.HttpMethod aHttpMethod) |
default RestCallerBuilder |
RestCallerBuilder.withLocator(String aLocator) |
default RestCallerBuilder |
RestCallerBuilder.withQueryFields(org.refcodes.net.FormFields aQueryFields) |
default <REQ> RestCallerBuilder |
RestCallerBuilder.withRequest(REQ aRequest) |
default RestCallerBuilder |
RestCallerBuilder.withRequestObserver(RestResponseObserver aLambda)
Builder method for setting the
RestResponseObserver . |
Modifier and Type | Method and Description |
---|---|
RestResponseEvent |
RestRequestHandler.onRestRequest(RestCallerBuilder aRestCaller)
Hook receiving a prepared
RestCallerBuilder instance to be used
to do the technical request with the technology chosen by the
implementing sub-class. |
Modifier and Type | Class and Description |
---|---|
class |
RestCallerBuilderImpl
The implementation of the
RestCallerBuilder interface as good old
POJO for use by different RestClient implementations. |
Modifier and Type | Method and Description |
---|---|
RestCallerBuilder |
AbstractRestClient.doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aLocator,
org.refcodes.net.FormFields aQueryFields,
Object aRequest,
RestResponseObserver aResponseObserver) |
Copyright © 2017. All rights reserved.