Uses of Interface
io.helidon.common.reactive.Single
Package
Description
HTTP APIs and implementations usable by both server and client side of the HTTP story.
Common reactive library for Helidon projects.
Reactive Database API for Helidon.
Helper classes to use in various implementations.
Helidon DB integration for reactive mongoDB.
Tracing support for Helidon DB.
Fault tolerance for Helidon SE reactive implementation.
Common classes for accessing JSON based REST APIs of third party systems.
Vault integration.
AppRole authentication method for Vault.
Common classes for Vault integration.
Vault authentication method for Kubernetes.
Token authentication method for Vault.
Cubbyhole secret engine support for Vault.
Vault's Database Secrets Engine support.
Vault's KV1 Secrets Engine support.
Vault's Key/value version 2 Secrets Engine support.
Vault's PKI Secrets Engine support.
Vault transit secrets.
Sys operations for Vault.
MicroProfile Long Running Actions Coordinator client spi.
MicroProfile Long Running Actions Narayana Coordinator client.
Common classes for processing content with a specific
MediaType
.Helidon Media MultiPart.
Helidon messaging mock connector for testing purposes.
Security
Vault operation backed by configuration.
Mapper that retrieves roles from IDCS server and maps them to user subject.
Open ID Connect (OIDC) classes usable from all OIDC related components.
Security component's SPI.
A reactive client for rest calls.
Client metrics service.
Client service propagation service.
This package provides extensibility for the
WebClient
.Client tracing propagation service.
Reactive web server API.
-
Uses of Single in io.helidon.common.http
-
Uses of Single in io.helidon.common.reactive
Modifier and TypeMethodDescriptionCompletionSingle.cancel()
Single.cancel()
Cancel upstream.default <U> Single<U>
default <U> Single<U>
Multi.collect
(Supplier<? extends U> collectionSupplier, BiConsumer<U, T> accumulator) Multi.collectList()
default <A,
R> Single<R> Multi.collectStream
(Collector<T, A, R> collector) Collects up upstream items with the help of a the callbacks of aCollector
.default <U> Single<U>
Apply the givencomposer
function to the currentSingle
instance and return theSingle
returned by this function.static <T> Single<T>
static <T> Single<T>
Single.create
(CompletionStage<T> completionStage) Wrap a CompletionStage into a Multi and signal its outcome non-blockingly.static <T> Single<T>
Single.create
(CompletionStage<T> completionStage, boolean nullMeansEmpty) Wrap a CompletionStage into a Multi and signal its outcome non-blockingly.static <T> Single<T>
Single.create
(Flow.Publisher<T> source) Create aSingle
instance that publishes the first and only item received from the given publisher.static <T> Single<T>
Create aSingle
instance that publishes result of the given supplier to its subscriber(s).Single.defaultIfEmpty
(Supplier<? extends T> supplier) Signals the default item supplied by specified supplier if the upstream is empty.Single.defaultIfEmpty
(T defaultItem) Signals the default item if the upstream is empty.static <T> Single<T>
Call the given supplier function for each individual downstream Subscriber to return a Flow.Publisher to subscribe to.static <T> Single<T>
Single.empty()
Get aSingle
instance that completes immediately.static <T> Single<T>
Create aSingle
instance that reports the given given exception to its subscriber(s).Multi.first()
default <U> Single<U>
Single.flatMapCompletionStage
(Function<? super T, ? extends CompletionStage<? extends U>> mapper) Transforms item with supplied function and flatten resultingCompletionStage
result to downstream.default <U> Single<U>
Single.flatMapOptional
(Function<? super T, Optional<? extends U>> mapper) Transform item with supplied function and flatten resultingOptional
to downstream as Single with its value as item if present or empty Single.default <U> Single<U>
Single.flatMapSingle
(Function<? super T, ? extends Single<? extends U>> mapper) Transforms item with supplied function and flatten resultingSingle
to downstream.Terminal stage, invokes provided consumer for every item in the stream with no backpressure.Multi.forEachCompletionStage
(Function<? super T, CompletionStage<Void>> function) Terminal stage, invokes provided consumer for every item in the stream with strict backpressure.static <T> Single<T>
Deprecated.static <T> Single<T>
Single.from
(CompletionStage<T> completionStage) Deprecated.usecreate(java.util.concurrent.CompletionStage)
insteadstatic <T> Single<T>
Single.from
(CompletionStage<T> completionStage, boolean nullMeansEmpty) Deprecated.static <T> Single<T>
Single.from
(Flow.Publisher<T> source) Deprecated.usecreate(java.util.concurrent.Flow.Publisher)
insteadExecutes givenRunnable
when stream is finished without value(empty stream).Multi.ignoreElements()
Terminal stage, ignore all items and complete returnedSingle<Void>
successfully or exceptionally.static <T> Single<T>
Single.just
(T item) Create aSingle
instance that publishes the given item to its subscriber(s).Single.log()
Log all signalsonSubscribe
,onNext
,onError
,onComplete
,cancel
andrequest
coming to and from preceding operator.Log all signalsonSubscribe
,onNext
,onError
,onComplete
,cancel
andrequest
coming to and from preceding operator.Log all signalsonSubscribe
,onNext
,onError
,onComplete
,cancel
andrequest
coming to and from preceding operator.Log all signalsonSubscribe
,onNext
,onError
,onComplete
,cancel
andrequest
coming to and from preceding operator.default <U> Single<U>
static <T> Single<T>
Single.never()
Get aSingle
instance that never completes.Re-emit the upstream's signals to the downstream on the given executor's thread.Executes givenRunnable
when a cancel signal is received.Single.onComplete
(Runnable onComplete) Executes givenRunnable
when onComplete signal is received.Resume stream with supplied single if onComplete signal is intercepted.Executes givenConsumer
when onError signal is received.Single.onErrorResume
(Function<? super Throwable, ? extends T> onError) Function
providing one item to be submitted as onNext in case of onError signal is received.Single.onErrorResumeWithSingle
(Function<? super Throwable, ? extends Single<? extends T>> onError) Resume stream from supplied publisher if onError signal is intercepted.Single.onTerminate
(Runnable onTerminate) Executes givenRunnable
when any of signals onComplete, onCancel or onError is received.Invoke provided consumer for the item in stream.Multi.reduce
(BiFunction<T, T, T> reducer) Combine subsequent items via a callback function and emit the final value result as a Single.default <R> Single<R>
Multi.reduce
(Supplier<? extends R> supplier, BiFunction<R, T, R> reducer) Combine every upstream item with an accumulator value to produce a new accumulator value and emit the final accumulator value as a Single.Single.retry
(long count) Retry a failing upstream at most the given number of times before giving up.Single.retry
(BiPredicate<? super Throwable, ? super Long> predicate) Retry a failing upstream if the predicate returns true.Single.retryWhen
(BiFunction<? super Throwable, ? super Long, ? extends Flow.Publisher<U>> whenFunction) Retry a failing upstream when the given function returns a publisher that signals an item.Single.switchIfEmpty
(Single<T> other) Switch to the other Single if the upstream is empty.Single.takeUntil
(Flow.Publisher<U> other) Relay upstream items until the other source signals an item or completes.Single.timeout
(long timeout, TimeUnit unit, ScheduledExecutorService executor) Signals aTimeoutException
if the upstream doesn't signal an item, error or completion within the specified time.Single.timeout
(long timeout, TimeUnit unit, ScheduledExecutorService executor, Single<T> fallback) Switches to a fallback single if the upstream doesn't signal an item, error or completion within the specified time.Single.timer
(long time, TimeUnit unit, ScheduledExecutorService executor) Signal 0L and complete the sequence after the given time elapsed.Single.toOptionalSingle()
Modifier and TypeMethodDescriptionFunction<? super Multi<ByteBuffer>,
? extends Single<Void>> IoMulti.MultiToByteChannelBuilder.build()
static Function<? super Multi<ByteBuffer>,
? extends Single<Void>> IoMulti.multiToByteChannel
(WritableByteChannel writableChannel) Creates function consumingMulti<ByteBuffer>
to suppliedWritableByteChannel
.Modifier and TypeMethodDescriptionstatic <T> Multi<T>
static <T> Single<T>
static <T> Multi<T>
Deprecated.useMulti.create(io.helidon.common.reactive.Single)
insteadstatic <T> Single<T>
Deprecated.usecreate(io.helidon.common.reactive.Single)
insteadSingle.switchIfEmpty
(Single<T> other) Switch to the other Single if the upstream is empty.Single.timeout
(long timeout, TimeUnit unit, ScheduledExecutorService executor, Single<T> fallback) Switches to a fallback single if the upstream doesn't signal an item, error or completion within the specified time.Modifier and TypeMethodDescriptiondefault <U> Single<U>
Apply the givencomposer
function to the currentSingle
instance and return theSingle
returned by this function.default <U> Single<U>
Apply the givencomposer
function to the currentSingle
instance and return theSingle
returned by this function.static <T> Single<T>
Call the given supplier function for each individual downstream Subscriber to return a Flow.Publisher to subscribe to.default <U> Single<U>
Single.flatMapSingle
(Function<? super T, ? extends Single<? extends U>> mapper) Transforms item with supplied function and flatten resultingSingle
to downstream.Resume stream with supplied single if onComplete signal is intercepted.Single.onErrorResumeWithSingle
(Function<? super Throwable, ? extends Single<? extends T>> onError) Resume stream from supplied publisher if onError signal is intercepted.default <U> U
Apply the givenconverter
function to the currentSingle
instance and return the value returned by this function. -
Uses of Single in io.helidon.dbclient
Modifier and TypeMethodDescriptionCreate and execute delete statement using a statement passed as an argument.Create and execute data modification statement using a statement passed as an argument.Create and execute a database query using a statement passed as an argument.Create and execute insert statement using a statement passed as an argument.DbExecute.namedDelete
(String statementName, Object... parameters) Create and execute delete statement using a statement defined in the configuration file.Create and execute a data modification statement using a statement defined in the configuration file.Create and execute a database query using a statement defined in the configuration file.DbExecute.namedInsert
(String statementName, Object... parameters) Create and execute insert statement using a statement defined in the configuration file.DbExecute.namedUpdate
(String statementName, Object... parameters) Create and execute update statement using a statement defined in the configuration file.DbClientService.statement
(DbClientServiceContext context) Statement execution to be intercepted.<C> Single<C>
Unwrap database client internals.<C> Single<C>
Unwrap database executor internals.Create and execute update statement using a statement passed as an argument. -
Uses of Single in io.helidon.dbclient.common
Modifier and TypeMethodDescriptionprotected abstract Single<DbClientServiceContext>
DbClientServiceBase.apply
(DbClientServiceContext context) This method is only invoked if the predicate for this service was passed.DbClientContext.invokeServices
(DbClientServiceContext dbContext) Invoke all configured client services and return a single that completes once all the client services complete.final Single<DbClientServiceContext>
DbClientServiceBase.statement
(DbClientServiceContext context) Modifier and TypeMethodDescriptionprotected abstract R
AbstractStatement.doExecute
(Single<DbClientServiceContext> dbContext, CompletableFuture<Void> statementFuture, CompletableFuture<Long> queryFuture) Execute the statement against the database. -
Uses of Single in io.helidon.dbclient.mongodb
Modifier and TypeMethodDescriptionMongoDbStatementDml.doExecute
(Single<DbClientServiceContext> dbContext, CompletableFuture<Void> statementFuture, CompletableFuture<Long> queryFuture) MongoDbStatementDml.execute()
MongoDbStatementGet.execute()
<C> Single<C>
<C> Single<C>
Modifier and TypeMethodDescriptionMongoDbStatementDml.doExecute
(Single<DbClientServiceContext> dbContext, CompletableFuture<Void> statementFuture, CompletableFuture<Long> queryFuture) -
Uses of Single in io.helidon.dbclient.tracing
Modifier and TypeMethodDescriptionprotected Single<DbClientServiceContext>
DbClientTracing.apply
(DbClientServiceContext serviceContext) -
Uses of Single in io.helidon.faulttolerance
Modifier and TypeMethodDescription<T> Single<T>
Invoke a synchronous operation asynchronously.<T> Single<T>
FtHandler.invoke
(Supplier<? extends CompletionStage<T>> supplier) Invoke this fault tolerance handler on a supplier of aCompletionStage
, such as aSingle
.FtHandlerTyped.invoke
(Supplier<? extends CompletionStage<T>> supplier) Invoke this fault tolerance handler on a supplier of aCompletionStage
, such as aSingle
. -
Uses of Single in io.helidon.integrations.common.rest
Modifier and TypeMethodDescriptiondefault <T extends ApiResponse>
Single<T>RestApi.delete
(String path, ApiRequest<?> request, ApiResponse.Builder<?, T> responseBuilder) Delete without a response entity.protected <T> Single<T>
RestApiBase.emptyResponse
(String path, ApiRequest<?> request, Http.RequestMethod method, String requestId, WebClientResponse response, ResponseBuilder<?, T, ?> responseBuilder) Empty response, may be because of aHttp.Status.NOT_FOUND_404
, or some other status, such asHttp.Status.NOT_MODIFIED_304
.protected <T extends ApiResponse>
Single<T>RestApiBase.errorResponse
(String path, ApiRequest<?> request, Http.RequestMethod method, String requestId, WebClientResponse response) Create an error response.default <R,
T extends ApiOptionalResponse<R>>
Single<T>RestApi.get
(String path, ApiRequest<?> request, ApiOptionalResponse.BuilderBase<?, T, JsonObject, R> responseBuilder) Get with an optional response.default <R,
T extends ApiOptionalResponse<R>>
Single<T>RestApi.getBytes
(String path, ApiRequest<?> request, ApiOptionalResponse.BuilderBase<?, T, byte[], R> responseBuilder) Get bytes with an optional response.default <R,
T extends ApiOptionalResponse<R>>
Single<T>RestApi.getPublisher
(String path, ApiRequest<?> request, ApiOptionalResponse.BuilderBase<?, T, Multi<DataChunk>, R> responseBuilder) Get with a response consisting of a stream.protected <R,
T extends ApiOptionalResponse<R>>
Single<T>RestApiBase.handleBytesResponse
(String path, ApiRequest<?> request, Http.RequestMethod method, String requestId, WebClientResponse response, ApiOptionalResponse.BuilderBase<?, T, byte[], R> responseBuilder) Handle bytes response for optional bytes entity.protected <T extends ApiEntityResponse>
Single<T>RestApiBase.handleJsonResponse
(String path, ApiRequest<?> request, Http.RequestMethod method, String requestId, WebClientResponse response, ApiEntityResponse.Builder<?, T, JsonObject> responseBuilder) Reads JsonObject from response entity and either calls thejsonOkResponse
orerrorResponse
depending on its success.protected <R,
T extends ApiOptionalResponse<R>>
Single<T>RestApiBase.handleOptionalJsonResponse
(String path, ApiRequest<?> request, Http.RequestMethod method, String requestId, WebClientResponse response, ApiOptionalResponse.BuilderBase<?, T, JsonObject, R> responseBuilder) Handle response for optional JSON entity.protected <R,
T extends ApiOptionalResponse<R>>
Single<T>RestApiBase.handlePublisherResponse
(String path, ApiRequest<?> request, Http.RequestMethod method, String requestId, WebClientResponse response, ApiOptionalResponse.BuilderBase<?, T, Multi<DataChunk>, R> responseBuilder) Handle response for optional publisher entity.protected <T extends ApiResponse>
Single<T>RestApiBase.handleResponse
(String path, ApiRequest<?> request, Http.RequestMethod method, String requestId, WebClientResponse response, ApiResponse.Builder<?, T> responseBuilder) Handle response for a request not expecting an entity.<T extends ApiResponse>
Single<T>RestApi.invoke
(Http.RequestMethod method, String path, ApiRequest<?> request, ApiResponse.Builder<?, T> responseBuilder) Invoke a request that is not expected to yield an entity.<T extends ApiResponse>
Single<T>RestApiBase.invoke
(Http.RequestMethod method, String path, ApiRequest<?> request, ApiResponse.Builder<?, T> responseBuilder) <T extends ApiResponse>
Single<T>RestApi.invokeBytesRequest
(Http.RequestMethod method, String path, ApiRequest<?> request, Flow.Publisher<DataChunk> byteRequest, ApiResponse.Builder<?, T> responseBuilder) The request media type should be provided in request, falls back toMediaType.APPLICATION_OCTET_STREAM
.<T extends ApiResponse>
Single<T>RestApiBase.invokeBytesRequest
(Http.RequestMethod method, String path, ApiRequest<?> request, Flow.Publisher<DataChunk> byteRequest, ApiResponse.Builder<?, T> responseBuilder) <R,
T extends ApiOptionalResponse<R>>
Single<T>RestApi.invokeBytesResponse
(Http.RequestMethod method, String path, ApiRequest<?> request, ApiOptionalResponse.BuilderBase<?, T, byte[], R> responseBuilder) Invoke API call that is expected to return bytes.<R,
T extends ApiOptionalResponse<R>>
Single<T>RestApiBase.invokeBytesResponse
(Http.RequestMethod method, String path, ApiRequest<?> request, ApiOptionalResponse.BuilderBase<?, T, byte[], R> responseBuilder) <R,
T extends ApiOptionalResponse<R>>
Single<T>RestApi.invokeOptional
(Http.RequestMethod method, String path, ApiRequest<?> request, ApiOptionalResponse.BuilderBase<?, T, JsonObject, R> responseBuilder) Invoke a request that may yield an entity.<R,
T extends ApiOptionalResponse<R>>
Single<T>RestApiBase.invokeOptional
(Http.RequestMethod method, String path, ApiRequest<?> request, ApiOptionalResponse.BuilderBase<?, T, JsonObject, R> responseBuilder) <R,
T extends ApiOptionalResponse<R>>
Single<T>RestApi.invokePublisherResponse
(Http.RequestMethod method, String path, ApiRequest<?> request, ApiOptionalResponse.BuilderBase<?, T, Multi<DataChunk>, R> responseBuilder) Invoke API call that is expected to return bytes as a publisher.<R,
T extends ApiOptionalResponse<R>>
Single<T>RestApiBase.invokePublisherResponse
(Http.RequestMethod method, String path, ApiRequest<?> request, ApiOptionalResponse.BuilderBase<?, T, Multi<DataChunk>, R> responseBuilder) <T extends ApiEntityResponse>
Single<T>RestApi.invokeWithResponse
(Http.RequestMethod method, String path, ApiRequest<?> request, ApiEntityResponse.Builder<?, T, JsonObject> responseBuilder) Invoke a request that is expected to yield an entity.<T extends ApiEntityResponse>
Single<T>RestApiBase.invokeWithResponse
(Http.RequestMethod method, String path, ApiRequest<?> request, ApiEntityResponse.Builder<?, T, JsonObject> responseBuilder) protected <T extends ApiResponse>
Single<T>RestApiBase.noEntityOkResponse
(String path, ApiRequest<?> request, Http.RequestMethod method, String requestId, WebClientResponse response, ApiResponse.Builder<?, T> responseBuilder) Create a response for no entity.default <T extends ApiResponse>
Single<T>RestApi.post
(String path, ApiRequest<?> request, ApiResponse.Builder<?, T> responseBuilder) Post without a response entity.default <T extends ApiResponse>
Single<T>RestApi.put
(String path, ApiRequest<?> request, ApiResponse.Builder<?, T> responseBuilder) Put without a response entity.protected Single<WebClientRequestBuilder>
RestApiBase.updateRequestBuilder
(WebClientRequestBuilder requestBuilder, String path, ApiRequest<?> request, Http.RequestMethod method, String requestId) Update request builder with no request payload.protected Single<WebClientRequestBuilder>
RestApiBase.updateRequestBuilder
(WebClientRequestBuilder requestBuilder, String path, ApiRequest<?> request, Http.RequestMethod method, String requestId, JsonObject jsonObject) Update request builder with no request payload.protected Single<WebClientRequestBuilder>
RestApiBase.updateRequestBuilderBytesPayload
(WebClientRequestBuilder requestBuilder, String path, ApiRequest<?> request, Http.RequestMethod method, String requestId) Update request builder with publisher request payload.protected Single<WebClientRequestBuilder>
RestApiBase.updateRequestBuilderCommon
(WebClientRequestBuilder requestBuilder, String path, ApiRequest<?> request, Http.RequestMethod method, String requestId) Update request builder used by all default implementation inRestApiBase
.Modifier and TypeMethodDescriptionprotected Supplier<Single<WebClientResponse>>
RestApiBase.requestBytesPayload
(String path, ApiRequest<?> request, Http.RequestMethod method, String requestId, WebClientRequestBuilder requestBuilder, Flow.Publisher<DataChunk> publisher) Create a supplier for a response with publisher request.protected Supplier<Single<WebClientResponse>>
RestApiBase.requestJsonPayload
(String path, ApiRequest<?> request, Http.RequestMethod method, String requestId, WebClientRequestBuilder requestBuilder, JsonObject jsonObject) Create a supplier for a response with JSON request.protected Supplier<Single<WebClientResponse>>
RestApiBase.requestPayload
(String path, ApiRequest<?> request, Http.RequestMethod method, String requestId, WebClientRequestBuilder requestBuilder) Create a supplier for a response.protected Supplier<Single<WebClientResponse>>
RestApiBase.responseSupplier
(Http.RequestMethod method, String path, ApiRequest<?> request, String requestId) Create a response supplier from the request. -
Uses of Single in io.helidon.integrations.vault
Modifier and TypeMethodDescriptionSecretsRx.list()
List available secrets.SecretsRx.list
(ListSecrets.Request request) List available secrets.List available secrets on a path. -
Uses of Single in io.helidon.integrations.vault.auths.approle
Modifier and TypeMethodDescriptionAppRoleAuthRx.createAppRole
(CreateAppRole.Request appRoleRequest) Creates a new AppRole or updates an existing AppRole.AppRoleAuthRx.deleteAppRole
(DeleteAppRole.Request request) Deletes an existing AppRole from the method with full control of request.AppRoleAuthRx.destroySecretId
(DestroySecretId.Request request) Destroy an AppRole secret ID.AppRoleAuthRx.generateSecretId
(GenerateSecretId.Request request) Generates and issues a new SecretID on an existing AppRole.AppRoleAuthRx.login
(Login.Request request) Issues a Vault token based on the presented credentials.AppRoleAuthRx.readRoleId
(ReadRoleId.Request request) Reads the RoleID of an existing AppRole with full control of request and response.AppRoleAuthRx.readRoleId
(String appRole) Reads the RoleID of an existing AppRole. -
Uses of Single in io.helidon.integrations.vault.auths.common
Modifier and TypeMethodDescriptionprotected <T> Single<T>
VaultRestApi.emptyResponse
(String path, ApiRequest<?> request, Http.RequestMethod method, String requestId, WebClientResponse response, ResponseBuilder<?, T, ?> responseBuilder) -
Uses of Single in io.helidon.integrations.vault.auths.k8s
Modifier and TypeMethodDescriptionK8sAuthRx.configure
(ConfigureK8s.Request request) Configure this authentication method.K8sAuthRx.createRole
(CreateRole.Request request) Registers a role in the auth method.K8sAuthRx.deleteRole
(DeleteRole.Request request) Deletes the previously registered role.K8sAuthRx.login
(Login.Request request) Fetch a token. -
Uses of Single in io.helidon.integrations.vault.auths.token
Modifier and TypeMethodDescriptiondefault Single<CreateToken.Response>
TokenAuthRx.createOrphan()
Create a new orphan token with default configuration.default Single<CreateToken.Response>
TokenAuthRx.createToken()
Create a new child token with default configuration.TokenAuthRx.createToken
(CreateToken.Request request) Create a new token with customized configuration.TokenAuthRx.createTokenRole
(CreateTokenRole.Request request) Creates (or replaces) the named role.TokenAuthRx.deleteTokenRole
(DeleteTokenRole.Request request) Delete a named token role.TokenAuthRx.renew
(RenewToken.Request request) Renews a lease associated with a token.TokenAuthRx.revoke
(RevokeToken.Request request) Revokes a token and all child tokens.TokenAuthRx.revokeAndOrphan
(RevokeAndOrphanToken.Request request) Revokes a token and orphans all child tokens. -
Uses of Single in io.helidon.integrations.vault.secrets.cubbyhole
Modifier and TypeMethodDescriptionCubbyholeSecretsRx.create
(CreateCubbyhole.Request request) Create a new secret on the defined path.default Single<CreateCubbyhole.Response>
Create a Cubbyhole secret.CubbyholeSecretsRx.delete
(DeleteCubbyhole.Request request) Delete the secret.default Single<DeleteCubbyhole.Response>
Delete a Cubbyhole secret.CubbyholeSecretsRx.get
(GetCubbyhole.Request request) Get a secret.Get a Cubbyhole secret.CubbyholeSecretsRx.update
(UpdateCubbyhole.Request request) Update a secret on the defined path. -
Uses of Single in io.helidon.integrations.vault.secrets.database
Modifier and TypeMethodDescriptionDbSecretsRx.configure
(DbConfigure.Request<?> dbRequest) Configure a database.DbSecretsRx.createRole
(DbCreateRole.Request request) Create or update a role definition.DbSecretsRx.delete
(DbDelete.Request request) Delete a database configuration.default Single<DbDelete.Response>
Delete a database configuration.DbSecretsRx.deleteRole
(DbDeleteRole.Request request) Delete a database role.default Single<DbDeleteRole.Response>
DbSecretsRx.deleteRole
(String name) Delete a database role.DbSecretsRx.get
(DbGet.Request request) Get credentials from the/creds
endpoint.default Single<Optional<DbCredentials>>
Get credentials from the/creds
endpoint.DbSecretsRx.list
(ListSecrets.Request request) List database connections. -
Uses of Single in io.helidon.integrations.vault.secrets.kv1
Modifier and TypeMethodDescriptionKv1SecretsRx.create
(CreateKv1.Request request) Create a new secret on the defined path.default Single<CreateKv1.Response>
Create a new secret on the defined path.Kv1SecretsRx.delete
(DeleteKv1.Request request) Delete the secret.default Single<DeleteKv1.Response>
Delete the secret.Kv1SecretsRx.get
(GetKv1.Request request) Get a secret.Get a secret.Kv1SecretsRx.update
(UpdateKv1.Request request) Update a secret on the defined path.default Single<UpdateKv1.Response>
Update a secret on the defined path. -
Uses of Single in io.helidon.integrations.vault.secrets.kv2
Modifier and TypeMethodDescriptionKv2SecretsRx.create
(CreateKv2.Request request) Create a new secret.default Single<CreateKv2.Response>
Create a new secret on the defined path.Kv2SecretsRx.delete
(DeleteKv2.Request request) Delete a secret version.default Single<DeleteKv2.Response>
Delete specific versions of a secret.Kv2SecretsRx.deleteAll
(DeleteAllKv2.Request request) Delete the secret and all its versions permanently.default Single<DeleteAllKv2.Response>
Delete the secret and all its versions permanently.Kv2SecretsRx.destroy
(DestroyKv2.Request request) Permanently remove specific version(s) of a secret.default Single<DestroyKv2.Response>
Permanently remove specific versions of a secret.Kv2SecretsRx.get
(GetKv2.Request request) Get a version of a secret.Get the latest version of a secret.Get a version of a secret.Kv2SecretsRx.undelete
(UndeleteKv2.Request request) Undelete a secret version.default Single<UndeleteKv2.Response>
Undelete deleted versions of a secret.Kv2SecretsRx.update
(UpdateKv2.Request request) Update a secret on the defined path.Update a secret on the defined path.Update a secret on the defined path. -
Uses of Single in io.helidon.integrations.vault.secrets.pki
Modifier and TypeMethodDescriptiondefault Single<X509Certificate>
PkiSecretsRx.caCertificate()
Certification authority certificate.PkiSecretsRx.caCertificate
(CaCertificateGet.Request request) Certification authority certificate.default Single<byte[]>
PkiSecretsRx.caCertificate
(PkiFormat format) Certification authority certificate in raw bytes.PkiSecretsRx.certificate
(CertificateGet.Request request) Get a certificate.default Single<Optional<X509Certificate>>
PkiSecretsRx.certificate
(String serialNumber) Certificate with the defined serial id.PkiSecretsRx.certificate
(String serialNumber, PkiFormat format) Certificate in raw bytes, currently onlyPkiFormat.PEM
is supported.PkiSecretsRx.createOrUpdateRole
(PkiRole.Request request) This endpoint creates or updates the role definition.PkiSecretsRx.crl()
Certificate revocation list.PkiSecretsRx.crl
(CrlGet.Request request) Certificate revocation list.default Single<byte[]>
Certificate revocation list in raw bytes.PkiSecretsRx.generateSelfSignedRoot
(GenerateSelfSignedRoot.Request request) Generate a self signed root certificate.default Single<GenerateSelfSignedRoot.Response>
PkiSecretsRx.generateSelfSignedRoot
(String commonName) Generate a self signed root certificate.PkiSecretsRx.issueCertificate
(IssueCertificate.Request request) Issue a new certificate returning raw data.PkiSecretsRx.list
(ListSecrets.Request request) List certificate serial numbers.PkiSecretsRx.revokeCertificate
(RevokeCertificate.Request request) Revoke a certificate.PkiSecretsRx.revokeCertificate
(String serialNumber) Revoke a certificate by its serial number.PkiSecretsRx.signCertificateRequest
(SignCsr.Request request) This endpoint signs a new certificate based upon the provided CSR and the supplied parameters, subject to the restrictions contained in the role named in the endpoint. -
Uses of Single in io.helidon.integrations.vault.secrets.transit
Modifier and TypeMethodDescriptionTransitSecretsRx.createKey
(CreateKey.Request request) Creates a new named encryption key of the specified type.TransitSecretsRx.decrypt
(Decrypt.Request request) Decrypts the provided ciphertext using the named key.TransitSecretsRx.decrypt
(DecryptBatch.Request request) Decrypts the provided batch of ciphertext strings using the named key.TransitSecretsRx.deleteKey
(DeleteKey.Request request) Delete a named ecryption key.TransitSecretsRx.encrypt
(Encrypt.Request request) Encrypts the provided plaintext using the named key.TransitSecretsRx.encrypt
(EncryptBatch.Request request) Encrypts the provided batch of plaintext strings using the named key.TransitSecretsRx.hmac
(Hmac.Request request) Hmac of a message.TransitSecretsRx.list
(ListSecrets.Request request) List available keys.TransitSecretsRx.sign
(Sign.Request request) Sign a message.TransitSecretsRx.updateKeyConfig
(UpdateKeyConfig.Request request) Tune configuration of a key.TransitSecretsRx.verify
(Verify.Request request) Verify a message signature. -
Uses of Single in io.helidon.integrations.vault.sys
Modifier and TypeMethodDescriptionSysRx.createPolicy
(CreatePolicy.Request request) Create a policy.default Single<CreatePolicy.Response>
SysRx.createPolicy
(String name, String policy) Create a policy.SysRx.deletePolicy
(DeletePolicy.Request request) Delete a policy.default Single<DeletePolicy.Response>
SysRx.deletePolicy
(String name) Delete a policy.SysRx.disableAuth
(DisableAuth.Request request) Disable an authentication method.default Single<DisableAuth.Response>
SysRx.disableAuth
(String path) Disable an authentication method.default Single<DisableEngine.Response>
SysRx.disableEngine
(Engine<?> engine) Disable (unmount) a secret engine from default path.SysRx.disableEngine
(DisableEngine.Request request) Disable (unmount) a secrets engine.default Single<DisableEngine.Response>
SysRx.disableEngine
(String path) Disable (unmount) a secrets engine from specific path.default Single<EnableAuth.Response>
SysRx.enableAuth
(AuthMethod<?> authMethod) Enable an authentication method on default path.SysRx.enableAuth
(EnableAuth.Request request) Enable an authentication method on custom path or with additional configuration.default Single<EnableEngine.Response>
SysRx.enableEngine
(Engine<?> engine) Enable (mount) a secret engine on a default path.SysRx.enableEngine
(EnableEngine.Request request) Enable (mount) a secret engine with custom configuration. -
Uses of Single in io.helidon.lra.coordinator.client
Modifier and TypeMethodDescriptionCoordinatorClient.cancel
(URI lraId, PropagatedHeaders headers) Cancel LRA if its active.CoordinatorClient.close
(URI lraId, PropagatedHeaders headers) Close LRA if its active.CoordinatorClient.join
(URI lraId, PropagatedHeaders headers, long timeLimit, Participant participant) Join existing LRA with participant.CoordinatorClient.leave
(URI lraId, PropagatedHeaders headers, Participant participant) Leave LRA.CoordinatorClient.start
(String clientID, PropagatedHeaders headers, long timeout) Ask coordinator to start new LRA and return its id.CoordinatorClient.start
(URI parentLRA, String clientID, PropagatedHeaders headers, long timeout) Ask coordinator to start new LRA and return its id.CoordinatorClient.status
(URI lraId, PropagatedHeaders headers) Return status of specified LRA. -
Uses of Single in io.helidon.lra.coordinator.client.narayana
Modifier and TypeMethodDescriptionNarayanaClient.cancel
(URI lraId, PropagatedHeaders headers) NarayanaClient.close
(URI lraId, PropagatedHeaders headers) NarayanaClient.join
(URI lraId, PropagatedHeaders headers, long timeLimit, Participant p) NarayanaClient.leave
(URI lraId, PropagatedHeaders headers, Participant p) NarayanaClient.start
(String clientID, PropagatedHeaders headers, long timeout) NarayanaClient.start
(URI parentLRAUri, String clientID, PropagatedHeaders headers, long timeout) NarayanaClient.status
(URI lraId, PropagatedHeaders headers) -
Uses of Single in io.helidon.media.common
Modifier and TypeMethodDescription<T> Single<T>
MessageBodyReadableContent.as
(GenericType<T> type) Consumes and converts the content payload into a completion stage of the requested type.<T> Single<T>
MessageBodyReader.read
(Flow.Publisher<DataChunk> publisher, GenericType<U> type, MessageBodyReaderContext context) Convert a HTTP payload into a Single publisher of the given type.static Single<byte[]>
ContentReaders.readBytes
(Flow.Publisher<DataChunk> chunks) Collect theDataChunk
of the given publisher into a single byte array.ContentReaders.readString
(Flow.Publisher<DataChunk> chunks, Charset charset) ContentReaders.readURLEncodedString
(Flow.Publisher<DataChunk> chunks, Charset charset) MessageBodyReader.unmarshall
(MessageBodyReadableContent content, GenericType<T> type) Unmarshall the given content using this reader.MessageBodyReader.unmarshall
(MessageBodyReadableContent content, Class<T> type) Unmarshall the given content using this reader.<T> Single<T>
MessageBodyReaderContext.unmarshall
(Flow.Publisher<DataChunk> payload, GenericType<T> type) Convert a given HTTP payload into a publisher by selecting a reader that accepts the specified type and current context.<T> Single<T>
MessageBodyReaderContext.unmarshall
(Flow.Publisher<DataChunk> payload, MessageBodyReader<T> reader, GenericType<T> type) Convert a given HTTP payload into a publisher by selecting a reader with the specified class.ContentWriters.writeBytes
(byte[] bytes, boolean copy) ContentWriters.writeCharBuffer
(CharBuffer buffer, Charset charset) ContentWriters.writeCharSequence
(CharSequence cs, Charset charset) ContentWriters.writeStackTrace
(Throwable throwable, Charset charset) Modifier and TypeMethodDescription<T> Flow.Publisher<DataChunk>
MessageBodyWriterContext.marshall
(Single<T> content, GenericType<T> type) Convert a given input publisher into HTTP payload by selecting a writer that accepts the specified type and current context.<T> Flow.Publisher<DataChunk>
MessageBodyWriterContext.marshall
(Single<T> content, MessageBodyWriter<T> writer, GenericType<T> type) Convert a given input publisher into HTTP payload by selecting a writer with the specified class.MessageBodyWriter.write
(Single<? extends T> single, GenericType<? extends T> type, MessageBodyWriterContext context) Generate HTTP payload from the objects of the given type. -
Uses of Single in io.helidon.media.multipart
Modifier and TypeMethodDescriptionMultiPartBodyWriter.write
(Single<? extends WriteableMultiPart> content, GenericType<? extends WriteableMultiPart> type, MessageBodyWriterContext context) -
Uses of Single in io.helidon.messaging.connectors.mock
Modifier and TypeMethodDescriptionMockOutgoing.whenComplete()
Returns single which is completed when the terminates with the complete signal. -
Uses of Single in io.helidon.security
Modifier and TypeMethodDescriptionSingle<byte[]>
Decrypt cipher text.Create a digest for the provided raw bytes.Create a digest for the provided bytes.Encrypt bytes.Get a secret.Get a secret.Security.verifyDigest
(String configurationName, byte[] bytesToDigest, String digest) Verify a digest.Security.verifyDigest
(String configurationName, byte[] bytesToDigest, String digest, boolean preHashed) Verify a digest. -
Uses of Single in io.helidon.security.providers.config.vault
Modifier and TypeMethodDescriptionConfigVaultProvider.secret
(ConfigVaultProvider.SecretConfig providerConfig) -
Uses of Single in io.helidon.security.providers.idcs.mapper
Modifier and TypeMethodDescriptionIdcsMtRoleMapperRxProvider.addAdditionalGrants
(String idcsTenantId, String idcsAppName, Subject subject, List<Grant> idcsGrants) Extension point to add additional grants to the subject being created.IdcsRoleMapperRxProvider.addAdditionalGrants
(Subject subject, List<Grant> idcsGrants) Extension point to add additional grants that are not retrieved from IDCS.IdcsMtRoleMapperRxProvider.computeGrants
(String idcsTenantId, String idcsAppName, Subject subject) Compute grants for the provided MT information.IdcsRoleMapperRxProvider.computeGrants
(Subject subject) Compute grants for the provided subject.IdcsMtRoleMapperRxProvider.enhance
(ProviderRequest request, AuthenticationResponse previousResponse, Subject subject) Enhance the subject with appropriate roles from IDCS.IdcsRoleMapperRxProvider.enhance
(ProviderRequest request, AuthenticationResponse previousResponse, Subject subject) IdcsRoleMapperRxProviderBase.enhance
(ProviderRequest request, AuthenticationResponse previousResponse, Subject subject) Enhance subject with IDCS roles, reactive.IdcsMtRoleMapperRxProvider.getAppToken
(String idcsTenantId, RoleMapTracing tracing) Gets token from cache or from server.IdcsMtRoleMapperRxProvider.getGrantsFromServer
(String idcsTenantId, String idcsAppName, Subject subject) Get grants from IDCS server.IdcsRoleMapperRxProvider.getGrantsFromServer
(Subject subject) Retrieves grants from IDCS server.IdcsRoleMapperRxProviderBase.AppTokenRx.getToken
(RoleMapTracing tracing) IdcsRoleMapperRxProviderBase.map
(ProviderRequest authenticatedRequest, AuthenticationResponse previousResponse) IdcsRoleMapperRxProviderBase.processRoleRequest
(WebClientRequestBuilder request, Object entity, String subjectName) -
Uses of Single in io.helidon.security.providers.oidc.common
Modifier and TypeMethodDescriptionOidcCookieHandler.createCookie
(String value) SetCookie
builder to set a new cookie, returns a future, as the value may need to be encrypted using a remote service.Decrypt a cipher text into clear text (if encryption is enabled).static <T> Single<T>
OidcConfig.postJsonResponse
(WebClientRequestBuilder requestBuilder, Object toSubmit, Function<JsonObject, T> jsonProcessor, BiFunction<Http.ResponseStatus, String, Optional<T>> errorEntityProcessor, BiFunction<Throwable, String, Optional<T>> errorProcessor) Processing ofWebClient
submit using a POST method. -
Uses of Single in io.helidon.security.spi
Modifier and TypeMethodDescriptionCreate digest.Verify digest.Single<byte[]>
Decrypt the bytes.DigestProvider.DigestSupport.digest
(byte[] bytes, boolean preHashed) Generates a signature or an HMAC.EncryptionProvider.EncryptionSupport.encrypt
(byte[] bytes) Encrypt the bytes.Verifies a signature or an HMAC.Modifier and TypeMethodDescriptionCreate secret supplier from configuration.Create secret supplier from configuration object. -
Uses of Single in io.helidon.webclient
Modifier and TypeMethodDescriptionWebClientResponse.close()
Asynchronous close of the response.WebClientRequestBuilder.request()
Performs prepared request without expecting to receive any specific type.<T> Single<T>
WebClientRequestBuilder.request
(GenericType<T> responseType) Performs prepared request and transforms response to requested type.<T> Single<T>
Performs prepared request and transforms response to requested type.WebClientRequestBuilder.submit()
Performs prepared request.Performs prepared request and submitting request entity.<T> Single<T>
Performs prepared request and submitting request entity.WebClientRequestBuilder.submit
(Flow.Publisher<DataChunk> requestEntity) Performs prepared request and submitting request entity usingFlow.Publisher
.<T> Single<T>
WebClientRequestBuilder.submit
(Flow.Publisher<DataChunk> requestEntity, Class<T> responseType) Performs prepared request and submitting request entity usingFlow.Publisher
.WebClientRequestBuilder.submit
(Function<MessageBodyWriterContext, Flow.Publisher<DataChunk>> function) Performs prepared request and submitting request entity using a marshalling function.WebClientServiceRequest.whenComplete()
Completes when the full processing of this request is done (e.g.WebClientServiceRequest.whenResponseReceived()
Completes when the response headers has been received, but entity has not been processed yet.WebClientServiceRequest.whenSent()
Completes when the request part of this request is done (e.g. -
Uses of Single in io.helidon.webclient.metrics
Modifier and TypeMethodDescriptionWebClientMeter.request
(WebClientServiceRequest request) WebClientMetrics.request
(WebClientServiceRequest request) WebClientMetrics.response
(WebClientRequestBuilder.ClientRequest request, WebClientServiceResponse response) -
Uses of Single in io.helidon.webclient.security
-
Uses of Single in io.helidon.webclient.spi
Modifier and TypeMethodDescriptionWebClientService.request
(WebClientServiceRequest request) Method which is called before send actual request.default Single<WebClientServiceResponse>
WebClientService.response
(WebClientRequestBuilder.ClientRequest request, WebClientServiceResponse response) Method which is called when the last byte of the response is processed. -
Uses of Single in io.helidon.webclient.tracing
-
Uses of Single in io.helidon.webserver
Modifier and TypeMethodDescriptionBareRequest.closeConnection()
Request to close the connection and report success or failure asynchronously with returned single.ServerRequest.closeConnection()
Request to close the connection and report success or failure asynchronously with returned single.ResponseHeaders.send()
Send headers and status code to the client.ServerResponse.send()
Sends an empty response.ServerResponse.send
(Flow.Publisher<DataChunk> content) Send a message as is without any other marshalling, registered filters are applied.ServerResponse.send
(Flow.Publisher<DataChunk> content, boolean applyFilters) Send a message as is without any other marshalling.<T> Single<ServerResponse>
ServerResponse.send
(Flow.Publisher<T> content, Class<T> clazz) Send a message with the given entity stream as content and close the response.ServerResponse.send
(Function<MessageBodyWriterContext, Flow.Publisher<DataChunk>> function) Send a message using the given marshalling function.<T> Single<ServerResponse>
ServerResponse.send
(T content) Send a message and close the response.WebServer.shutdown()
Attempt to gracefully shutdown server.WebServer.start()
Starts the server.BareResponse.whenCompleted()
Returns aSingle
of this response.BareResponse.whenHeadersCompleted()
Returns aSingle
of headers part of this response.default Single<ResponseHeaders>
ResponseHeaders.whenSend()
Deprecated.since 2.0.0, please useResponseHeaders.whenSent()
ResponseHeaders.whenSent()
Returns aSingle
which is completed when all headers are sent to the client.ServerResponse.whenSent()
Completion stage is completed when response is completed.WebServer.whenShutdown()
Completion stage is completed when server is shut down.
create(io.helidon.common.reactive.Single)
instead