Class RevocationConfig.Builder
java.lang.Object
io.helidon.common.tls.RevocationConfig.BuilderBase<RevocationConfig.Builder, RevocationConfig>
io.helidon.common.tls.RevocationConfig.Builder
- All Implemented Interfaces:
Prototype.Builder<RevocationConfig.Builder, RevocationConfig>, Builder<RevocationConfig.Builder, RevocationConfig>, ConfigBuilderSupport.ConfiguredBuilder<RevocationConfig.Builder, RevocationConfig>, Supplier<RevocationConfig>
- Enclosing interface:
RevocationConfig
public static class RevocationConfig.Builder
extends RevocationConfig.BuilderBase<RevocationConfig.Builder, RevocationConfig>
implements Builder<RevocationConfig.Builder, RevocationConfig>
Fluent API builder for
RevocationConfig.-
Nested Class Summary
Nested classes/interfaces inherited from class RevocationConfig.BuilderBase
RevocationConfig.BuilderBase.RevocationConfigImplModifier and TypeClassDescriptionprotected static classGenerated implementation of the prototype, can be extended by descendant prototype implementations. -
Method Summary
Modifier and TypeMethodDescriptionbuild()Create an instance from this builder.Create an instance of the prototype.Methods inherited from class RevocationConfig.BuilderBase
checkOnlyEndEntity, checkOnlyEndEntity, clearOcspResponderUri, config, config, enabled, enabled, fallbackEnabled, fallbackEnabled, from, from, ocspResponderUri, ocspResponderUri, preBuildPrototype, preferCrlOverOcsp, preferCrlOverOcsp, softFailEnabled, softFailEnabled, toString, validatePrototypeModifier and TypeMethodDescriptionbooleanOnly check the revocation status of end-entity certificates.checkOnlyEndEntity(boolean checkOnlyEndEntity) Only check the revocation status of end-entity certificates.Clear existing value of ocspResponderUri.config()Configuration used to configure this instance.Update builder from configuration (node of this type).booleanenabled()Flag indicating whether this revocation config is enabled.enabled(boolean enabled) Flag indicating whether this revocation config is enabled.booleanEnable fallback to the less preferred checking option.fallbackEnabled(boolean fallbackEnabled) Enable fallback to the less preferred checking option.from(RevocationConfig prototype) Update this builder from an existing prototype instance.from(RevocationConfig.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.The URI that identifies the location of the OCSP responder.ocspResponderUri(URI ocspResponderUri) The URI that identifies the location of the OCSP responder.protected voidHandles providers and decorators.booleanPrefer CRL over OCSP.preferCrlOverOcsp(boolean preferCrlOverOcsp) Prefer CRL over OCSP.booleanAllows a revocation check to succeed when a CRL or OCSP response cannot be obtained due to a network failure, or the OCSP responder returnsinternalErrorortryLater.softFailEnabled(boolean softFailEnabled) Allows a revocation check to succeed when a CRL or OCSP response cannot be obtained due to a network failure, or the OCSP responder returnsinternalErrorortryLater.toString()protected voidValidates required properties.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Builder
get, identity, updateModifier and TypeMethodDescriptiondefault RevocationConfigget()default RevocationConfig.Builderidentity()Instance of this builder as the correct type.default RevocationConfig.Builderupdate(Consumer<RevocationConfig.Builder> consumer) Update the builder in a fluent API way.Methods inherited from interface Prototype.Builder
selfModifier and TypeMethodDescriptiondefault RevocationConfig.Builderself()Instance of this builder as the correct type.
-
Method Details
-
buildPrototype
Create an instance of the prototype. Calling this method may update this builder from providers and decorators, so repeated calls may have side effects.- Specified by:
buildPrototypein interfacePrototype.Builder<RevocationConfig.Builder, RevocationConfig>- Returns:
- an instance of the setup object created from this builder
-
build
Create an instance from this builder. Calling this method may update this builder from providers and decorators, so repeated calls may have side effects.- Specified by:
buildin interfaceBuilder<RevocationConfig.Builder, RevocationConfig>- Returns:
- instance of the built type
-