Class WebClientContextPropagation
- java.lang.Object
-
- io.helidon.webclient.context.propagation.WebClientContextPropagation
-
- All Implemented Interfaces:
WebClientService
public class WebClientContextPropagation extends Object implements WebClientService
Client service for context propagation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWebClientContextPropagation.BuilderFluent API builder forWebClientContextPropagation.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WebClientContextPropagation.Builderbuilder()A new fluent API builder to customize configuration of context propagation.static WebClientContextPropagationcreate(Config config)Creates a new instance of client tracing service from configuration.Single<WebClientServiceRequest>request(WebClientServiceRequest request)Method which is called before send actual request.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.helidon.webclient.spi.WebClientService
response
-
-
-
-
Method Detail
-
builder
public static WebClientContextPropagation.Builder builder()
A new fluent API builder to customize configuration of context propagation.- Returns:
- a new builder
-
create
public static WebClientContextPropagation create(Config config)
Creates a new instance of client tracing service from configuration.- Parameters:
config- configuration to read from- Returns:
- a new configured service
-
request
public Single<WebClientServiceRequest> request(WebClientServiceRequest request)
Description copied from interface:WebClientServiceMethod which is called before send actual request.- Specified by:
requestin interfaceWebClientService- Parameters:
request- client service request- Returns:
- completion stage of the client service request
-
-