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