Class InternalRestTemplateConfiguration

java.lang.Object
org.springframework.http.client.support.HttpAccessor
org.springframework.http.client.support.InterceptingHttpAccessor
org.springframework.web.client.RestTemplate
es.kukenan.smartfi.microservice.communication.config.InternalRestTemplateConfiguration
All Implemented Interfaces:
org.springframework.web.client.RestOperations

@Configuration public class InternalRestTemplateConfiguration extends org.springframework.web.client.RestTemplate
Internal template configuration.
  • Field Summary

    Fields inherited from class org.springframework.http.client.support.HttpAccessor

    logger
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.web.client.RestTemplate
    Create a RestTemplate which owns the responsibility of other ms invocations.

    Methods inherited from class org.springframework.web.client.RestTemplate

    acceptHeaderRequestCallback, delete, delete, delete, doExecute, exchange, exchange, exchange, exchange, exchange, exchange, exchange, exchange, execute, execute, execute, getErrorHandler, getForEntity, getForEntity, getForEntity, getForObject, getForObject, getForObject, getMessageConverters, getUriTemplateHandler, handleResponse, headersExtractor, headForHeaders, headForHeaders, headForHeaders, httpEntityCallback, httpEntityCallback, optionsForAllow, optionsForAllow, optionsForAllow, patchForObject, patchForObject, patchForObject, postForEntity, postForEntity, postForEntity, postForLocation, postForLocation, postForLocation, postForObject, postForObject, postForObject, put, put, put, responseEntityExtractor, setDefaultUriVariables, setErrorHandler, setMessageConverters, setUriTemplateHandler

    Methods inherited from class org.springframework.http.client.support.InterceptingHttpAccessor

    getInterceptors, getRequestFactory, setInterceptors, setRequestFactory

    Methods inherited from class org.springframework.http.client.support.HttpAccessor

    createRequest, getClientHttpRequestInitializers, setClientHttpRequestInitializers

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • InternalRestTemplateConfiguration

      public InternalRestTemplateConfiguration()
  • Method Details

    • internalRestTemplate

      @Bean @Primary public org.springframework.web.client.RestTemplate internalRestTemplate()
      Create a RestTemplate which owns the responsibility of other ms invocations.
      Returns:
      a RestTemplate which owns the responsibility of other ms invocations.