Package org.openwms.common.comm.app
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 - 
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.client.ClientHttpResponseintercept(org.springframework.http.HttpRequest request, byte[] body, org.springframework.http.client.ClientHttpRequestExecution execution) Deprecated. 
- 
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:
 interceptin interfaceorg.springframework.http.client.ClientHttpRequestInterceptor- Throws:
 IOException
 
 -