@Deprecated public final class TraceWebFilter extends Object implements org.springframework.web.server.WebFilter, org.springframework.core.Ordered
WebFilter
that creates / continues / closes and detaches spans for a reactive
web application.Modifier and Type | Field and Description |
---|---|
static int |
ORDER
Deprecated.
If you register your filter before the
TraceWebFilter then you will not
have the tracing context passed for you out of the box. |
protected static String |
TRACE_REQUEST_ATTR
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static org.springframework.web.server.WebFilter |
create(org.springframework.beans.factory.BeanFactory beanFactory)
Deprecated.
|
reactor.core.publisher.Mono<Void> |
filter(org.springframework.web.server.ServerWebExchange exchange,
org.springframework.web.server.WebFilterChain chain)
Deprecated.
|
int |
getOrder()
Deprecated.
|
public static final int ORDER
TraceWebFilter
then you will not
have the tracing context passed for you out of the box. That means that e.g. your
logs will not get correlated.protected static final String TRACE_REQUEST_ATTR
public static org.springframework.web.server.WebFilter create(org.springframework.beans.factory.BeanFactory beanFactory)
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.WebFilter
public int getOrder()
getOrder
in interface org.springframework.core.Ordered
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.