Class AuthRestTemplate

  • All Implemented Interfaces:
    org.springframework.web.client.RestOperations

    public class AuthRestTemplate
    extends org.springframework.web.client.RestTemplate
    Шаблон вызова Rest запросов с передачей токена доступа
    • Field Summary

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

        logger
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.springframework.http.client.ClientHttpRequest createRequest​(URI uri, org.springframework.http.HttpMethod method)  
      • 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
    • Method Detail

      • createRequest

        protected org.springframework.http.client.ClientHttpRequest createRequest​(URI uri,
                                                                                  org.springframework.http.HttpMethod method)
                                                                           throws IOException
        Overrides:
        createRequest in class org.springframework.http.client.support.HttpAccessor
        Throws:
        IOException