public final class SpanCustomizingAsyncHandlerInterceptor
extends org.springframework.web.servlet.handler.HandlerInterceptorAdapter
SpanCustomizingHandlerInterceptor except it can be used as both an
AsyncHandlerInterceptor or a normal HandlerInterceptor.| Modifier and Type | Method and Description |
|---|---|
void |
afterCompletion(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object handler,
Exception ex)
Sets the "error" and "http.route" attributes so that the
TracingFilter can
read them. |
void |
postHandle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object handler,
org.springframework.web.servlet.ModelAndView modelAndView) |
boolean |
preHandle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object o) |
public boolean preHandle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object o)
public void postHandle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object handler,
org.springframework.web.servlet.ModelAndView modelAndView)
public void afterCompletion(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object handler,
Exception ex)
TracingFilter can
read them.Copyright © 2022 Pivotal Software, Inc.. All rights reserved.