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
Since:
7.0.0
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    B3 Propagation is a specification for the header "b3" and those that start with "x-b3-".
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.cloud.spring.logging.extractors.TraceIdExtractor
     
    boolean
    preHandle(jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.servlet.http.HttpServletResponse httpServletResponse, Object handler)
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.web.servlet.HandlerInterceptor

    afterCompletion, postHandle
  • Field Details

    • HEADER_B3_TRACE_ID

      public static final String 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:
      preHandle in interface org.springframework.web.servlet.HandlerInterceptor
    • getTraceIdExtractor

      public com.google.cloud.spring.logging.extractors.TraceIdExtractor getTraceIdExtractor()