Class RestTemplateInterceptor

java.lang.Object
org.openwms.common.comm.app.RestTemplateInterceptor
All Implemented Interfaces:
org.springframework.http.client.ClientHttpRequestInterceptor

@Deprecated class RestTemplateInterceptor extends Object implements org.springframework.http.client.ClientHttpRequestInterceptor
Deprecated.
use ameba-lib instead
A RestTemplateInterceptor adds the meta information to outgoing HTTP request headers, like the Tenant ID.
Author:
Heiko Scherrer
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.http.client.ClientHttpResponse
    intercept(org.springframework.http.HttpRequest request, byte[] body, org.springframework.http.client.ClientHttpRequestExecution execution)
    Deprecated.
     

    Methods inherited from class java.lang.Object

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

    • RestTemplateInterceptor

      RestTemplateInterceptor()
      Deprecated.
  • Method Details

    • intercept

      public org.springframework.http.client.ClientHttpResponse intercept(org.springframework.http.HttpRequest request, byte[] body, org.springframework.http.client.ClientHttpRequestExecution execution) throws IOException
      Deprecated.
      Specified by:
      intercept in interface org.springframework.http.client.ClientHttpRequestInterceptor
      Throws:
      IOException