public class TraceWebFilter extends Object implements org.springframework.web.server.WebFilter, org.springframework.core.Ordered, org.springframework.context.ApplicationContextAware
WebFilter that creates / continues / closes and detaches spans for a reactive
web application.| Modifier and Type | Field and Description |
|---|---|
protected static String |
TRACE_REQUEST_ATTR |
| Constructor and Description |
|---|
TraceWebFilter(Tracer tracer,
HttpServerHandler handler)
Deprecated.
|
TraceWebFilter(Tracer tracer,
HttpServerHandler handler,
CurrentTraceContext currentTraceContext) |
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<Void> |
filter(org.springframework.web.server.ServerWebExchange exchange,
org.springframework.web.server.WebFilterChain chain) |
int |
getOrder() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setOrder(int order) |
protected static final String TRACE_REQUEST_ATTR
@Deprecated public TraceWebFilter(Tracer tracer, HttpServerHandler handler)
public TraceWebFilter(Tracer tracer, HttpServerHandler handler, CurrentTraceContext currentTraceContext)
public reactor.core.publisher.Mono<Void> filter(org.springframework.web.server.ServerWebExchange exchange, org.springframework.web.server.WebFilterChain chain)
filter in interface org.springframework.web.server.WebFilterpublic int getOrder()
getOrder in interface org.springframework.core.Orderedpublic void setOrder(int order)
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionCopyright © 2021 Pivotal Software, Inc.. All rights reserved.