java.lang.Object
io.helidon.webclient.metrics.WebClientMeter
- All Implemented Interfaces:
NamedService
,WebClientService
Client metric meter for all requests.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.webclient.spi.WebClientService
WebClientService.Chain
-
Method Summary
Modifier and TypeMethodDescriptionhandle
(WebClientService.Chain chain, WebClientServiceRequest request) Invoke a service, callWebClientService.Chain.proceed(io.helidon.webclient.api.WebClientServiceRequest)
to call the next service in the chain.type()
Type of this implementation, to distinguish instances of same type, with differentNamedService.name()
.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
name
-
Method Details
-
handle
public WebClientServiceResponse handle(WebClientService.Chain chain, WebClientServiceRequest request) Description copied from interface:WebClientService
Invoke a service, callWebClientService.Chain.proceed(io.helidon.webclient.api.WebClientServiceRequest)
to call the next service in the chain.- Parameters:
chain
- to invoke next web client service, or the HTTP call if this is the last servicerequest
- request from the client, or previous services- Returns:
- response to be returned to the client
-
type
Description copied from interface:NamedService
Type of this implementation, to distinguish instances of same type, with differentNamedService.name()
. Use for exampleConfiguredProvider.configKey()
to define the type.- Specified by:
type
in interfaceNamedService
- Specified by:
type
in interfaceWebClientService
- Returns:
- type of this service
-