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
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.client.ClientHttpResponse
intercept
(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:
intercept
in interfaceorg.springframework.http.client.ClientHttpRequestInterceptor
- Throws:
IOException
-