Class RestRequestAspect
java.lang.Object
org.sklsft.commons.log.aspects.RequestContextAspectTemplate
org.sklsft.commons.rest.aspect.correlation.RestRequestAspect
@Order(0)
public class RestRequestAspect
extends org.sklsft.commons.log.aspects.RequestContextAspectTemplate
An aspect to put the transaction id and correlation id in the
RequestContext. This will be useful for logs tracking.- Author:
- Nicolas Thibault
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetCorrelationId(org.aspectj.lang.JoinPoint joinPoint) protected voidMethods inherited from class org.sklsft.commons.log.aspects.RequestContextAspectTemplate
handle
-
Constructor Details
-
RestRequestAspect
public RestRequestAspect()
-
-
Method Details
-
onPointcut
protected void onPointcut()- Specified by:
onPointcutin classorg.sklsft.commons.log.aspects.RequestContextAspectTemplate
-
getCorrelationId
- Specified by:
getCorrelationIdin classorg.sklsft.commons.log.aspects.RequestContextAspectTemplate
-