java.lang.Object
org.refcodes.rest.CorrelationClientInterceptor
- All Implemented Interfaces:
org.refcodes.web.HttpClientInterceptor
,org.refcodes.web.HttpInterceptor<org.refcodes.web.HttpClientRequest,
,org.refcodes.web.HttpClientResponse> org.refcodes.web.PostHttpClientInterceptor
,org.refcodes.web.PostHttpInterceptor<org.refcodes.web.HttpClientRequest,
,org.refcodes.web.HttpClientResponse> org.refcodes.web.PreHttpClientInterceptor
,org.refcodes.web.PreHttpInterceptor<org.refcodes.web.HttpClientRequest,
org.refcodes.web.HttpClientResponse>
public class CorrelationClientInterceptor
extends Object
implements org.refcodes.web.HttpClientInterceptor
The
CorrelationClientInterceptor
manages (adds) correlation IDs for
request and session.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
postIntercept
(org.refcodes.web.HttpClientRequest aRequest, org.refcodes.web.HttpClientResponse aResponse) void
preIntercept
(org.refcodes.web.HttpClientRequest aRequest, org.refcodes.web.HttpClientResponse aResponse)
-
Constructor Details
-
CorrelationClientInterceptor
public CorrelationClientInterceptor()
-
-
Method Details
-
preIntercept
public void preIntercept(org.refcodes.web.HttpClientRequest aRequest, org.refcodes.web.HttpClientResponse aResponse) - Specified by:
preIntercept
in interfaceorg.refcodes.web.PreHttpClientInterceptor
- Specified by:
preIntercept
in interfaceorg.refcodes.web.PreHttpInterceptor<org.refcodes.web.HttpClientRequest,
org.refcodes.web.HttpClientResponse>
-
postIntercept
public void postIntercept(org.refcodes.web.HttpClientRequest aRequest, org.refcodes.web.HttpClientResponse aResponse) - Specified by:
postIntercept
in interfaceorg.refcodes.web.PostHttpClientInterceptor
- Specified by:
postIntercept
in interfaceorg.refcodes.web.PostHttpInterceptor<org.refcodes.web.HttpClientRequest,
org.refcodes.web.HttpClientResponse>
-