Package org.apereo.cas.logging
Class GoogleCloudLoggingWebInterceptor
java.lang.Object
org.apereo.cas.logging.GoogleCloudLoggingWebInterceptor
- All Implemented Interfaces:
org.springframework.web.servlet.HandlerInterceptor
@Order(-2147483648)
public class GoogleCloudLoggingWebInterceptor
extends Object
implements org.springframework.web.servlet.HandlerInterceptor
This is
GoogleCloudLoggingWebInterceptor.- Since:
- 7.0.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringB3 Propagation is a specification for the header "b3" and those that start with "x-b3-". -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.web.servlet.HandlerInterceptor
afterCompletion, postHandle
-
Field Details
-
HEADER_B3_TRACE_ID
B3 Propagation is a specification for the header "b3" and those that start with "x-b3-". These headers are used for trace context propagation across service boundaries. Trace identifiers are 64 or 128-bit, but all span identifiers within a trace are 64-bit. All identifiers are opaque.- See Also:
-
-
Constructor Details
-
GoogleCloudLoggingWebInterceptor
public GoogleCloudLoggingWebInterceptor()
-
-
Method Details
-
preHandle
public boolean preHandle(jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.servlet.http.HttpServletResponse httpServletResponse, Object handler) - Specified by:
preHandlein interfaceorg.springframework.web.servlet.HandlerInterceptor
-
getTraceIdExtractor
public com.google.cloud.spring.logging.extractors.TraceIdExtractor getTraceIdExtractor()
-