Example usage for org.springframework.web.client RestTemplate subclass-usage

List of usage examples for org.springframework.web.client RestTemplate subclass-usage

Introduction

In this page you can find the example usage for org.springframework.web.client RestTemplate subclass-usage.

Usage

From source file org.energyos.espi.thirdparty.web.ClientRestTemplate.java

public class ClientRestTemplate extends RestTemplate {

    public ClientRestTemplate() {
    }

    public ClientRestTemplate(String username, String password) {

From source file org.mifosplatform.restwebservice.PlatformRestClient.java

public class PlatformRestClient extends RestTemplate {
    protected final String basicAuthenticationCredentials;
    private Integer numberOfHttpRequestAttempts = 0;

    private final Integer numberOfHttpRequestRetries = 3;

From source file org.jasig.springframework.web.client.ExtendedRestTemplate.java

public class ExtendedRestTemplate extends RestTemplate implements ExtendedRestOperations {
    public ExtendedRestTemplate() {
        super();

        final List<ClientHttpRequestInterceptor> interceptors = Collections
                .<ClientHttpRequestInterceptor>singletonList(HeaderSettingClientHttpRequestInterceptor.INSTANCE);

From source file org.eclipse.cft.server.core.internal.ExternalRestTemplate.java

/**
 * Rest template for calls to Cloud Foundry that are typically external to the
 * Cloud client (for example, directly sending requests to an application
 * deployed in a Cloud space via the application URL that does not require Cloud
 * Controller endpoints). For Cloud operations that go through the Cloud
 * Controller, this should NOT be used. Instead, use API in

From source file uk.co.bcl.genie.utils.SalesCloudRestTemplate.java

/**
 * Convenient subclass of {@link RestTemplate} that is suitable for integration tests.
 * They are fault tolerant, and optionally can carry Basic authentication headers. If
 * Apache Http Client 4.3.2 or better is available (recommended) it will be used as the
 * client, and by default configured to ignore cookies and redirects.
 *

From source file org.apache.fineract.restwebservice.PlatformRestClient.java

public class PlatformRestClient extends RestTemplate {
    protected final String basicAuthenticationCredentials;
    private Integer numberOfHttpRequestAttempts = 0;

    private final Integer numberOfHttpRequestRetries = 3;

From source file org.springframework.security.kerberos.client.KerberosRestTemplate.java

/**
 * {@code RestTemplate} that is able to make kerberos SPNEGO authenticated REST
 * requests. Under a hood this {@code KerberosRestTemplate} is using {@link HttpClient} to
 * support Kerberos.
 *
 * <p>Generally this template can be configured in few different ways.

From source file org.springframework.cloud.sleuth.zipkin2.sender.ZipkinRestTemplateSenderConfiguration.java

/**
 * Resolves at runtime where the Zipkin server is. If there's no discovery client then
 * {@link URI} from the properties is taken. Otherwise service discovery is pinged for
 * current Zipkin address.
 */
class ZipkinRestTemplateWrapper extends RestTemplate {