-
ClassDescriptionThis class is currently only used in conjunction with the PropertyResolverSecretStore and this pairing is deprecated. Instead, use the FileSystemSecretStore.
RequestHandler
now has default methods which implement the not-supported behavior. This class is here for transition from pre-JDK8 impelementations.This class will be removed once CAF has been migrated fully to CHF, at which point components should createSecurityContext
s directly rather than via request attributes.
-
FieldDescriptionremoved in JSON schema draft 04renamed to multipleOf in JSON schema draft 04removed in JSON schema draft 04removed in JSON schema draft 04For internal use only. This option will be removed in future version and will not be replaced.
-
MethodDescriptionUse
ElasticsearchUtil.NORMALIZING_OBJECT_MAPPER
instead.In favour ofPropertyResolver.getProperty(String, boolean)
useJsonValue::copy
directly insteadUseCrestHttp.newHttpHandler(CrestApplication)
instead.UseCrestHttp.newHttpHandler(CrestApplication)
instead.UseCrestHttp.newHttpHandler(CrestApplication)
instead.Since 25.0.0. Prefer to useCrestHttp.newHttpHandler(CrestApplication, Factory)
and provide your own factory instead of the default one.Since 25.0.0. Prefer to useCrestHttp.newHttpHandler(CrestApplication, HttpContextFactory, Factory)
and provide your own factory instead of the default one.Since 25.0.0. Prefer to useCrestHttp.newHttpHandler(CrestApplication, Context, Factory)
and provide your own factory instead of the default one.UseCrestHttp.newHttpHandler(CrestApplication)
instead.in favor ofResourceException.newResourceException(int)
UseResources.newHandler(Object)
instead.UseResources.newHandler(Object)
instead.UseResources.newHandler(Object)
instead.UseResponses.newQueryResponse(String, CountPolicy, int)
instead.useDn.isEmpty()
insteaduseDn.emptyDn()
insteadUseSecretBuilder.build(Purpose)
instead.UseBase64.decode(byte[])
instead.UseBase64.decode(char[])
instead.UseBase64.decode(String)
instead.Since 25.0.0. Prefer usingPromise.getOrThrow()
and handle properly theInterruptedException
in the calling code, or usePromise.getOrThrowIfInterrupted()
.Since 25.0.0. Prefer usingPromise.get(long, TimeUnit)
and handle properly theInterruptedException
in the calling code, or usePromise.getOrThrowIfInterrupted()
.useObjects.requireNonNull(Object)
} insteaduseObjects.requireNonNull(Object, String)
insteadExperience has shown thatReject.ifFalse
can be hard to read. Prefer to useReject.unless(boolean)
(which works identically) or rewrite to useReject.ifTrue(boolean)
instead.Experience has shown thatReject.ifFalse
can be hard to read. Prefer to useReject.unless(boolean, String)
(which works identically) or rewrite to useReject.ifTrue(boolean, String)
instead.ExecutorServiceFactory.createCachedThreadPool(String)
orExecutorServiceFactory.createCachedThreadPool(ThreadFactory)
should be used so that threads have meaningful names.ExecutorServiceFactory.createFixedThreadPool(int, String)
should be used so that threads have meaningful names.ExecutorServiceFactory.createScheduledService(int, String)
should be used so that threads have meaningful names.ExecutorServiceFactory.createThreadPool(int, int, long, TimeUnit, BlockingQueue, String)
should be used so that threads have meaningful names.useDirectoryServer.getEntry(Dn)
when possibleuseServerContext.getEntry(Dn)
when possible
-
ConstructorDescriptionUse
JsonPointer.rootPtr()
instead.useHsmKeyStoreLoader(Provider hsmProvider)
instead so that management of the provider can be left to the caller.Prefer usingSecretsProvider(Clock)
and provide your own clock instance.Prefer the use ofDuration.duration(long, TimeUnit)
.