| Package | Description |
|---|---|
| com.holonplatform.http.rest | |
| com.holonplatform.spring |
| Modifier and Type | Method and Description |
|---|---|
static RestClient |
RestClient.create()
Create a new
RestClient instance using default ClassLoader and default implementation, if
available. |
RestClient |
RestClientFactory.create(ClassLoader classLoader)
Create a new
RestClient instance. |
static RestClient |
RestClient.create(ClassLoader classLoader)
Create a new
RestClient instance using given classLoder and default implementation, if
available. |
static RestClient |
RestClient.create(String fullyQualifiedClassName)
Create a new
RestClient instance using default ClassLoader and the implementation whith given
fully qualified class name. |
static RestClient |
RestClient.create(String fullyQualifiedClassName,
ClassLoader classLoader)
Create a new
RestClient instance using given classLoder and the implementation whith given
fully qualified class name. |
static RestClient |
RestClient.forTarget(String baseUri)
Create a new
RestClient instance using default ClassLoader and default implementation, setting
given baseUri as default RestClient target, which will be used as base URI for every request
configured using RestClientOperations.request(), if not overridden using RestClientOperations.RequestConfiguration.target(URI). |
static RestClient |
RestClient.forTarget(URI baseUri)
Create a new
RestClient instance using default ClassLoader and default implementation, setting
given baseUri as default RestClient target, which will be used as base URI for every request
configured using RestClientOperations.request(), if not overridden using RestClientOperations.RequestConfiguration.target(URI). |
| Modifier and Type | Interface and Description |
|---|---|
interface |
SpringRestClient
A
RestClient using Spring RestTemplate. |
| Modifier and Type | Method and Description |
|---|---|
static RestClient |
SpringRestClient.create(org.springframework.web.client.RestTemplate restTemplate)
Create a
RestClient using given restTemplate. |
Copyright © 2019 The Holon Platform. All rights reserved.