Module io.helidon.security
Package io.helidon.security
Class SecurityClientBuilder<T extends SecurityResponse>
java.lang.Object
io.helidon.security.SecurityRequestBuilder<SecurityClientBuilder<T>>
io.helidon.security.SecurityClientBuilder<T>
- Type Parameters:
T
- Type of response the built client returns
- All Implemented Interfaces:
Builder<SecurityClientBuilder<T>,
,SecurityClient<T>> Supplier<SecurityClient<T>>
public class SecurityClientBuilder<T extends SecurityResponse>
extends SecurityRequestBuilder<SecurityClientBuilder<T>>
implements Builder<SecurityClientBuilder<T>,SecurityClient<T>>
Builder constructing a security client - extends the
SecurityRequestBuilder
for convenience.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build an instance of a security client.A shortcut method to build the client and invokeSecurityClient.get()
on it.submit()
A shortcut method to build the client and invokeSecurityClient.submit()
on it.Methods inherited from class io.helidon.security.SecurityRequestBuilder
buildRequest, explicitProvider, object, object, object, object, optional, tracingSpan
-
Method Details
-
build
Build an instance of a security client. The client is immutable.- Specified by:
build
in interfaceBuilder<SecurityClientBuilder<T extends SecurityResponse>,
SecurityClient<T extends SecurityResponse>> - Returns:
- client instance
-
buildAndGet
A shortcut method to build the client and invokeSecurityClient.get()
on it.- Returns:
SecurityResponse
of expected type
-
submit
A shortcut method to build the client and invokeSecurityClient.submit()
on it.- Returns:
CompletionStage
withSecurityResponse
of expected type
-