java.lang.Object
io.helidon.webclient.security.WebClientSecurity
- All Implemented Interfaces:
NamedService
,WebClientService
Client service for security propagation.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.webclient.spi.WebClientService
WebClientService.Chain
-
Method Summary
Modifier and TypeMethodDescriptionstatic WebClientSecurity
create()
Creates new instance of client security service.static WebClientSecurity
Creates new instance of client security service base onSecurity
.io.helidon.webclient.api.WebClientServiceResponse
handle
(WebClientService.Chain chain, WebClientServiceRequest request) Invoke a service, callWebClientService.Chain.proceed(io.helidon.webclient.api.WebClientServiceRequest)
to call the next service in the chain.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, type
-
Method Details
-
create
Creates new instance of client security service.- Returns:
- client security service
-
create
Creates new instance of client security service base onSecurity
.- Parameters:
security
- security instance- Returns:
- client security service
-
handle
public io.helidon.webclient.api.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.- Specified by:
handle
in interfaceWebClientService
- 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
-