Module io.helidon.webclient.context
Package io.helidon.webclient.context
Class WebClientContextService
java.lang.Object
io.helidon.webclient.context.WebClientContextService
- All Implemented Interfaces:
io.helidon.builder.api.RuntimeType.Api<WebClientContextConfig>,io.helidon.common.config.NamedService,io.helidon.webclient.spi.WebClientService
public class WebClientContextService
extends Object
implements io.helidon.webclient.spi.WebClientService, io.helidon.builder.api.RuntimeType.Api<WebClientContextConfig>
Client service for context propagation.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.webclient.spi.WebClientService
io.helidon.webclient.spi.WebClientService.Chain -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Fluent API builder to set up an instance.static WebClientContextServicecreate(io.helidon.common.config.Config config) Create a new instance from configuration.static WebClientContextServicecreate(WebClientContextConfig config) Create a new instance from its configuration.static WebClientContextServicecreate(Consumer<WebClientContextConfig.Builder> builderConsumer) Create a new instance customizing its configuration.io.helidon.webclient.api.WebClientServiceResponsehandle(io.helidon.webclient.spi.WebClientService.Chain chain, io.helidon.webclient.api.WebClientServiceRequest clientRequest) name()type()
-
Method Details
-
builder
Fluent API builder to set up an instance.- Returns:
- a new builder
-
create
Create a new instance from configuration.- Parameters:
config- configuration- Returns:
- a new service
-
create
Create a new instance from its configuration.- Parameters:
config- configuration- Returns:
- a new service
-
create
public static WebClientContextService create(Consumer<WebClientContextConfig.Builder> builderConsumer) Create a new instance customizing its configuration.- Parameters:
builderConsumer- consumer of configuration- Returns:
- a new service
-
name
- Specified by:
namein interfaceio.helidon.common.config.NamedService- Specified by:
namein interfaceio.helidon.webclient.spi.WebClientService
-
type
- Specified by:
typein interfaceio.helidon.common.config.NamedService- Specified by:
typein interfaceio.helidon.webclient.spi.WebClientService
-
prototype
- Specified by:
prototypein interfaceio.helidon.builder.api.RuntimeType.Api<WebClientContextConfig>
-
handle
public io.helidon.webclient.api.WebClientServiceResponse handle(io.helidon.webclient.spi.WebClientService.Chain chain, io.helidon.webclient.api.WebClientServiceRequest clientRequest) - Specified by:
handlein interfaceio.helidon.webclient.spi.WebClientService
-