Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- accept(Response, Consumer<Response>) - Static method in class org.kiwiproject.jaxrs.KiwiResponses
-
Given a
Response, perform some action using the supplied consumer. - accept(Supplier<Response>, Consumer<Response>, Consumer<RuntimeException>) - Static method in class org.kiwiproject.jaxrs.KiwiResponses
-
Given a
ResponseSupplier, perform some action using one of the supplied consumers. - accepted(int) - Static method in class org.kiwiproject.net.KiwiHttpResponses
-
Check if the given status code is 202 Accepted.
- addAnnotationConfiguration(Class<?>) - Method in class org.kiwiproject.spring.context.SpringContextBuilder
-
Adds an annotation-based Spring
@Configurationclass. - addCustomConverters(MongoTemplate, Converter<?, ?>...) - Static method in class org.kiwiproject.spring.data.KiwiMongoConverters
-
Adds one or more custom converters to a
MongoTemplateinstance. - addDateBounds(Query, String, Long, Long) - Static method in class org.kiwiproject.spring.data.KiwiSpringMongoQueries
-
Add date restrictions to the given property.
- addEndpoint() - Method in class org.kiwiproject.config.SecureEndpointsConfiguration.Builder
-
Returns an
EndpointConfiguration.Builderfrom which an endpoint can be configured. - addError(ConstraintValidatorContext, String) - Static method in class org.kiwiproject.validation.KiwiValidations
-
Adds an error to the
ConstraintValidatorContextusing the specified template, thereby overriding the constraint's default message. - addError(ConstraintValidatorContext, String, String) - Static method in class org.kiwiproject.validation.KiwiValidations
-
Adds an error to the
ConstraintValidatorContextusing the specified template and property name, thereby overriding the constraint's default message. - addInCriteriaFromCsv(Query, String, String) - Static method in class org.kiwiproject.spring.data.KiwiSpringMongoQueries
-
Adds a
Criteria.in(Object...)for the given property using values separated by commas incsv. - addInCriteriaFromCsv(Query, String, String, Function<String, T>) - Static method in class org.kiwiproject.spring.data.KiwiSpringMongoQueries
-
Adds a
Criteria.in(Object...)for the given property using by first separating the values by comma incsv, and then applying the given function to each value. - addKiwiSort(KiwiSort) - Method in class org.kiwiproject.spring.data.KiwiPage
-
Adds the given sort, returning this instance for method chaining.
- addMultiplePartialOrEqualMatchCriteria(Query, Collection<String>, String, KiwiSpringMongoQueries.PartialMatchType) - Static method in class org.kiwiproject.spring.data.KiwiSpringMongoQueries
-
Add a partial or equal match criteria for the given property and match strings.
- addParentContextBean(String, Object) - Method in class org.kiwiproject.spring.context.SpringContextBuilder
-
Adds the specified bean to the parent context.
- addPartialOrEqualMatchCriteria(Query, String, String, KiwiSpringMongoQueries.PartialMatchType) - Static method in class org.kiwiproject.spring.data.KiwiSpringMongoQueries
-
Add a partial or equal match criteria for the given property and match string.
- addPropertyMapper(String, Function<T, ?>) - Method in class org.kiwiproject.beans.BeanConverter
-
Adds a property mapper function for a specific property name
- addXmlConfigLocation(String) - Method in class org.kiwiproject.spring.context.SpringContextBuilder
-
Add a single Spring XML configuration location.
- aggregatePage(Class<T>, AggregationOperation...) - Method in class org.kiwiproject.spring.data.PagingQuery
-
Aggregates a page of results for the given type of object, which is assumed to be mapped to a MongoDB collection.
- AggregateResult<T> - Class in org.kiwiproject.spring.data
-
A generic aggregate result containing a list of results, and a total count.
- AggregateResult() - Constructor for class org.kiwiproject.spring.data.AggregateResult
- allEndpointsSecure() - Method in class org.kiwiproject.config.SecureEndpointsConfiguration
-
Returns true if all of the endpoints in this configuration are secure.
- allowBlank() - Element in annotation interface org.kiwiproject.validation.Required
-
Whether to allow an object that is a
CharSequenceto be blank, usingStringUtils.isBlank(CharSequence)to perform the check. - allowEmpty() - Element in annotation interface org.kiwiproject.validation.Required
-
Whether to allow an object to be "empty".
- allowNull() - Element in annotation interface org.kiwiproject.validation.DirectoryPath
-
Whether to consider null as valid.
- allowNull() - Element in annotation interface org.kiwiproject.validation.FilePath
-
Whether to consider null as valid.
- allowNull() - Element in annotation interface org.kiwiproject.validation.InEnum
-
Whether to consider null as valid.
- allowNull() - Element in annotation interface org.kiwiproject.validation.IntValue
-
Whether to consider null as valid.
- allowNull() - Element in annotation interface org.kiwiproject.validation.Ipv4Address
-
Whether to consider null as valid.
- allowNull() - Element in annotation interface org.kiwiproject.validation.Ipv4AndPort
-
Whether to consider null as valid.
- allowNull() - Element in annotation interface org.kiwiproject.validation.LongValue
-
Whether to consider null as valid.
- allowNull() - Element in annotation interface org.kiwiproject.validation.Range
-
Whether to consider null as valid.
- allowNullEnd() - Element in annotation interface org.kiwiproject.validation.FieldRange
-
If true, the range only includes the start field.
- allowNullStart() - Element in annotation interface org.kiwiproject.validation.FieldRange
-
If true, the range only includes the end field.
- allowStartToEqualEnd() - Element in annotation interface org.kiwiproject.validation.FieldRange
- ansibleVaultPath(String) - Method in class org.kiwiproject.ansible.vault.VaultConfiguration.VaultConfigurationBuilder
- ansibleVaultPath(String) - Method in class org.kiwiproject.ansible.vault.VaultDecryptCommand.VaultDecryptCommandBuilder
- ansibleVaultPath(String) - Method in class org.kiwiproject.ansible.vault.VaultEncryptCommand.VaultEncryptCommandBuilder
- ansibleVaultPath(String) - Method in class org.kiwiproject.ansible.vault.VaultEncryptStringCommand.VaultEncryptStringCommandBuilder
- ansibleVaultPath(String) - Method in class org.kiwiproject.ansible.vault.VaultRekeyCommand.VaultRekeyCommandBuilder
- ansibleVaultPath(String) - Method in class org.kiwiproject.ansible.vault.VaultViewCommand.VaultViewCommandBuilder
- anyEndpointSecure() - Method in class org.kiwiproject.config.SecureEndpointsConfiguration
-
Returns true if any of the endpoints in this configuration is secure.
- apply(Response, Function<Response, T>) - Static method in class org.kiwiproject.jaxrs.KiwiResponses
-
Given a
Response, perform an action tha returns a result using the given function. - apply(Supplier<Response>, Function<Response, T>, Function<RuntimeException, T>) - Static method in class org.kiwiproject.jaxrs.KiwiResponses
-
Given a
ResponseSupplier, perform an action tha returns a result using one of the given functions. - areClose(double, double) - Static method in class org.kiwiproject.base.KiwiDoubles
-
Return true if value1 is close to value2, within the default tolerance.
- areClose(double, double, double) - Static method in class org.kiwiproject.base.KiwiDoubles
-
Return true if value1 is close to value2, within the given tolerance.
- areEqual(double, double) - Static method in class org.kiwiproject.base.KiwiDoubles
-
Return true if value1 is numerically equal to value2.
- areNotEqual(double, double) - Static method in class org.kiwiproject.base.KiwiDoubles
-
Return true if value1 is not numerically equal to value2.
- ASC - Enum constant in enum class org.kiwiproject.jdbc.SqlOrder
- ASC - Enum constant in enum class org.kiwiproject.spring.data.KiwiSort.Direction
-
An ascending sort.
- ascending - Variable in enum class org.kiwiproject.spring.data.KiwiSort.Direction
-
Accessible via a getter method as well as direct field access.
- asMap(Set<ConstraintViolation<T>>) - Static method in class org.kiwiproject.validation.KiwiConstraintViolations
-
Convert the set of
ConstraintViolationto an unmodifiable map keyed by the property path. - asMap(Set<ConstraintViolation<T>>, Function<Path, String>) - Static method in class org.kiwiproject.validation.KiwiConstraintViolations
-
Convert the set of
ConstraintViolationto an unmodifiable map keyed by the property path. - asMultimap(Set<ConstraintViolation<T>>) - Static method in class org.kiwiproject.validation.KiwiConstraintViolations
-
Convert the set of
ConstraintViolationto an unmodifiableMultimapkeyed by the property path. - asMultimap(Set<ConstraintViolation<T>>, Function<Path, String>) - Static method in class org.kiwiproject.validation.KiwiConstraintViolations
-
Convert the set of
ConstraintViolationto an unmodifiableMultimapkeyed by the property path. - asMultiValuedMap(Set<ConstraintViolation<T>>) - Static method in class org.kiwiproject.validation.KiwiConstraintViolations
-
Convert the set of
ConstraintViolationto an unmodifiable map keyed by the property path. - asMultiValuedMap(Set<ConstraintViolation<T>>, Function<Path, String>) - Static method in class org.kiwiproject.validation.KiwiConstraintViolations
-
Convert the set of
ConstraintViolationto an unmodifiable map keyed by the property path. - assemble(Serializable, Object) - Method in class org.kiwiproject.hibernate.usertype.JSONBUserType
- assertNotBlank(String, String) - Static method in class org.kiwiproject.jaxrs.KiwiJaxrsValidations
-
Assert that the given String value is not blank.
- assertNotNull(String, Object) - Static method in class org.kiwiproject.jaxrs.KiwiJaxrsValidations
-
Assert that the given Object is not null.
- assertTrue(boolean, String) - Static method in class org.kiwiproject.jaxrs.KiwiJaxrsValidations
-
Asserts that the given boolean value is true.
- assertValid(String, T) - Static method in class org.kiwiproject.jaxrs.KiwiJaxrsValidations
-
Assert that the given object is valid using the default validation group.
- assertValid(String, T, Class<?>...) - Static method in class org.kiwiproject.jaxrs.KiwiJaxrsValidations
-
Assert that the given object is valid using the specified validation group classes.
- assertValid(String, T, Map<String, String>) - Static method in class org.kiwiproject.jaxrs.KiwiJaxrsValidations
-
Assert that the given object is valid using the default validation group and the specified property path map, which allows callers to translate property paths (e.g. firstName) to a human-readable names (e.g.
- assertValid(String, T, Map<String, String>, Class<?>...) - Static method in class org.kiwiproject.jaxrs.KiwiJaxrsValidations
-
Assert that the given object is valid using the specified validation group classes and property path map.
- asSingleValuedMap(Set<ConstraintViolation<T>>) - Static method in class org.kiwiproject.validation.KiwiConstraintViolations
-
Convert the set of
ConstraintViolationto an unmodifiable map keyed by the property path. - asSingleValuedMap(Set<ConstraintViolation<T>>, Function<Path, String>) - Static method in class org.kiwiproject.validation.KiwiConstraintViolations
-
Convert the set of
ConstraintViolationto an unmodifiable map keyed by the property path. - Async - Class in org.kiwiproject.concurrent
-
Static utilities that work with
CompletableFutureand can make testing easier by permitting selective (e.g. in unit tests) forcing of synchronous behavior for things that would normally execute asynchronously. - Async.Mode - Enum Class in org.kiwiproject.concurrent
-
The
Async.Mode.ENABLEDmode enables asynchronous behavior, which is the default behavior. - AsyncException - Exception in org.kiwiproject.concurrent
-
A subclass
RuntimeExceptionused to indicate problems in asynchronous code. - AsyncException(String, CompletableFuture<?>) - Constructor for exception org.kiwiproject.concurrent.AsyncException
-
Construct instance with given message and future.
- AsyncException(String, Throwable, CompletableFuture<?>) - Constructor for exception org.kiwiproject.concurrent.AsyncException
-
Construct instance with given message, cause, and future.
- attachListeners(ApplicationListener<?>...) - Method in class org.kiwiproject.spring.context.MongoRepositoryContext
-
Attach one or more listeners to the context.
B
- badGateway(int) - Static method in class org.kiwiproject.net.KiwiHttpResponses
-
Check if the given status code is 502 Bad Gateway.
- badRequest(int) - Static method in class org.kiwiproject.net.KiwiHttpResponses
-
Check if the given status code is 400 Bad Request.
- BeanConverter<T> - Class in org.kiwiproject.beans
-
Simple way to convert one bean to another.
- BeanConverter() - Constructor for class org.kiwiproject.beans.BeanConverter
- blankToNull(String) - Static method in class org.kiwiproject.base.KiwiStrings
-
Returns a null if the input string is all whitespace characters or null.
- booleanFromInt(int) - Static method in class org.kiwiproject.base.KiwiPrimitives
-
Converts the given int value to a boolean.
- booleanFromInt(int, KiwiPrimitives.BooleanConversionOption) - Static method in class org.kiwiproject.base.KiwiPrimitives
-
Converts the given int value to a boolean using the specified
KiwiPrimitives.BooleanConversionOption. - booleanFromInt(ResultSet, String) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Converts an int value in the specified column to a boolean.
- booleanFromInt(ResultSet, String, KiwiPrimitives.BooleanConversionOption) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Converts an int value in the specified column to a boolean using the given
KiwiPrimitives.BooleanConversionOption. - booleanFromLong(long) - Static method in class org.kiwiproject.base.KiwiPrimitives
-
Converts the given long value to a boolean.
- booleanFromLong(long, KiwiPrimitives.BooleanConversionOption) - Static method in class org.kiwiproject.base.KiwiPrimitives
-
Converts the given long value to a boolean using the specified
KiwiPrimitives.BooleanConversionOption. - booleanFromLong(ResultSet, String) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Converts a long value in the specified column to a boolean.
- booleanFromLong(ResultSet, String, KiwiPrimitives.BooleanConversionOption) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Converts a long value in the specified column to a boolean using the given
KiwiPrimitives.BooleanConversionOption. - BsonUndefinedToNullStringConverter() - Constructor for class org.kiwiproject.spring.data.KiwiMongoConverters.BsonUndefinedToNullStringConverter
- build() - Method in class org.kiwiproject.ansible.vault.VaultConfiguration.VaultConfigurationBuilder
- build() - Method in class org.kiwiproject.ansible.vault.VaultDecryptCommand.VaultDecryptCommandBuilder
- build() - Method in class org.kiwiproject.ansible.vault.VaultEncryptCommand.VaultEncryptCommandBuilder
- build() - Method in class org.kiwiproject.ansible.vault.VaultEncryptStringCommand.VaultEncryptStringCommandBuilder
- build() - Method in class org.kiwiproject.ansible.vault.VaultRekeyCommand.VaultRekeyCommandBuilder
- build() - Method in class org.kiwiproject.ansible.vault.VaultViewCommand.VaultViewCommandBuilder
- build() - Method in class org.kiwiproject.config.EndpointConfiguration.Builder
- build() - Method in class org.kiwiproject.config.SecureEndpointsConfiguration.Builder
- build() - Method in class org.kiwiproject.config.SSLContextConfiguration.Builder
- build() - Method in class org.kiwiproject.config.TlsContextConfiguration.TlsContextConfigurationBuilder
- build() - Method in class org.kiwiproject.config.UrlRewriteConfiguration.UrlRewriteConfigurationBuilder
- build() - Method in class org.kiwiproject.io.TimeBasedDirectoryCleaner.TimeBasedDirectoryCleanerBuilder
- build() - Method in class org.kiwiproject.jsch.SftpConfig.SftpConfigBuilder
- build() - Method in class org.kiwiproject.json.PropertyMaskingOptions.PropertyMaskingOptionsBuilder
- build() - Method in class org.kiwiproject.net.KiwiInternetAddresses.SimpleHostInfo.SimpleHostInfoBuilder
- build() - Method in class org.kiwiproject.net.KiwiUrls.Components.ComponentsBuilder
- build() - Method in class org.kiwiproject.retry.KiwiRetryer.KiwiRetryerBuilder
- build() - Method in class org.kiwiproject.retry.SimpleRetryer.SimpleRetryerBuilder
- build() - Method in class org.kiwiproject.security.SimpleSSLContextFactory.Builder
- build() - Method in class org.kiwiproject.spring.context.SpringContextBuilder
-
Generate the ApplicationContext.
- buildEndpoint() - Method in class org.kiwiproject.config.EndpointConfiguration.Builder
-
Call this to add this
EndpointConfigurationto the parentSecureEndpointsConfigurationand return to building theSecureEndpointsConfiguration, which can include more endpoints. - builder() - Static method in class org.kiwiproject.ansible.vault.VaultConfiguration
- builder() - Static method in class org.kiwiproject.ansible.vault.VaultDecryptCommand
- builder() - Static method in class org.kiwiproject.ansible.vault.VaultEncryptCommand
- builder() - Static method in class org.kiwiproject.ansible.vault.VaultEncryptStringCommand
- builder() - Static method in class org.kiwiproject.ansible.vault.VaultRekeyCommand
- builder() - Static method in class org.kiwiproject.ansible.vault.VaultViewCommand
- builder() - Static method in class org.kiwiproject.config.EndpointConfiguration
-
Return a new builder instance to create a standalone
EndpointConfiguration. - builder() - Static method in class org.kiwiproject.config.SecureEndpointsConfiguration
-
Return a new builder instance.
- builder() - Static method in class org.kiwiproject.config.SSLContextConfiguration
-
Return a new builder instance.
- builder() - Static method in class org.kiwiproject.config.TlsContextConfiguration
- builder() - Static method in class org.kiwiproject.config.UrlRewriteConfiguration
- builder() - Static method in class org.kiwiproject.io.TimeBasedDirectoryCleaner
- builder() - Static method in class org.kiwiproject.jsch.SftpConfig
- builder() - Static method in class org.kiwiproject.json.PropertyMaskingOptions
- builder() - Static method in class org.kiwiproject.net.KiwiInternetAddresses.SimpleHostInfo
- builder() - Static method in class org.kiwiproject.net.KiwiUrls.Components
- builder() - Static method in class org.kiwiproject.retry.KiwiRetryer
- builder() - Static method in class org.kiwiproject.retry.SimpleRetryer
- builder() - Static method in class org.kiwiproject.security.SimpleSSLContextFactory
-
Return a new builder instance.
- builder(SecureEndpointsConfiguration.Builder) - Static method in class org.kiwiproject.config.EndpointConfiguration
-
Return a new builder instance to create a
EndpointConfigurationwithin aSecureEndpointsConfiguration. - Builder() - Constructor for class org.kiwiproject.security.SimpleSSLContextFactory.Builder
- Builder(SecureEndpointsConfiguration.Builder) - Constructor for class org.kiwiproject.config.EndpointConfiguration.Builder
- buildJaxrsException(Throwable) - Static method in exception org.kiwiproject.jaxrs.exception.JaxrsException
-
Static factory to construct a new instance from the given
Throwable. - buildManagedJdbi(Environment, PooledDataSourceFactory, ManagedDataSource, String, JdbiPlugin...) - Static method in class org.kiwiproject.dropwizard.jdbi3.Jdbi3Builders
-
Build a Dropwizard-managed
Jdbiinstance with metrics and health check given anEnvironment, aPooledDataSourceFactory, aManagedDataSource, and a name to give the health check. - buildManagedJdbi(Environment, PooledDataSourceFactory, ManagedDataSource, JdbiPlugin...) - Static method in class org.kiwiproject.dropwizard.jdbi3.Jdbi3Builders
-
Build a Dropwizard-managed
Jdbiinstance with metrics and health check given anEnvironment, aPooledDataSourceFactory, and aManagedDataSource. - buildManagedJdbi(Environment, PooledDataSourceFactory, String, JdbiPlugin...) - Static method in class org.kiwiproject.dropwizard.jdbi3.Jdbi3Builders
-
Build a Dropwizard-managed
Jdbiinstance with metrics and health check given anEnvironment, aPooledDataSourceFactory, and a name to give the health check. - buildManagedJdbi(Environment, PooledDataSourceFactory, JdbiPlugin...) - Static method in class org.kiwiproject.dropwizard.jdbi3.Jdbi3Builders
-
Build a Dropwizard-managed
Jdbiinstance with metrics and health check given anEnvironmentandPooledDataSourceFactory. - buildMessage(String, Object) - Static method in exception org.kiwiproject.jaxrs.exception.JaxrsNotFoundException
-
Build a generic "not found" message using the given type and key.
- buildPropertyMaskingSafeSerializerModule(List<String>) - Static method in class org.kiwiproject.json.KiwiJacksonSerializers
-
Build a new
SimpleModulethat will replace the values of specific fields with a "masked" value and will replace any exceptions with a message indicating the field could not be serialized. - buildPropertyMaskingSafeSerializerModule(PropertyMaskingOptions) - Static method in class org.kiwiproject.json.KiwiJacksonSerializers
-
Build a new
SimpleModulethat will replace the values of specific fields with a "masked" value and will replace any exceptions with a message indicating the field could not be serialized. - buildResponse(Set<? extends ConstraintViolation<?>>) - Static method in class org.kiwiproject.jaxrs.exception.ConstraintViolationExceptionMapper
-
Given a set of constraint violations, build a 422 Unprocessable Entity response with a JSON entity.
- buildResponse(JaxrsException) - Static method in class org.kiwiproject.jaxrs.exception.JaxrsExceptionMapper
-
Convert the given
JaxrsExceptionto a JSON response. - buildResponseBuilder(JaxrsException) - Static method in class org.kiwiproject.jaxrs.exception.JaxrsExceptionMapper
-
Convert the given
JaxrsExceptionto a JSON response builder. - buildResponseEntity(JaxrsException) - Static method in class org.kiwiproject.jaxrs.exception.JaxrsExceptionMapper
-
Convert the given
JaxrsExceptionto a map that can be used as a JSON response entity.
C
- call(String, Callable<T>) - Method in class org.kiwiproject.retry.KiwiRetryer
-
Invoke the retryer with the given ID and
Callable. - call(Callable<T>) - Method in class org.kiwiproject.retry.KiwiRetryer
-
Invoke the retryer with the given
Callable. - canConnectViaSocket(String, int) - Method in class org.kiwiproject.net.SocketChecker
-
Check whether a
Socketcan be opened on the specified host and port. - canConnectViaSocket(String, int, Duration) - Method in class org.kiwiproject.net.SocketChecker
-
Check whether a
Socketcan be opened on the specified host and port, with the specified timeout. - canConnectViaSocket(Pair<String, Integer>) - Method in class org.kiwiproject.net.SocketChecker
-
Check whether a
Socketcan be opened on the specified host and port. - canConnectViaSocket(Pair<String, Integer>, Duration) - Method in class org.kiwiproject.net.SocketChecker
-
Check whether a
Socketcan be opened on the specified host and port, with the specified timeout. - canEqual(Object) - Method in class org.kiwiproject.jaxrs.exception.ErrorMessage
- canEqual(Object) - Method in class org.kiwiproject.net.KiwiInternetAddresses.SimpleHostInfo
- canEqual(Object) - Method in class org.kiwiproject.net.SimpleHostAndPort
- CANONICAL_GROUP - Static variable in class org.kiwiproject.net.KiwiUrls
- canonicalName(String) - Method in class org.kiwiproject.net.KiwiUrls.Components.ComponentsBuilder
- capacityOfRecentDeleteErrors() - Static method in class org.kiwiproject.io.TimeBasedDirectoryCleaner
-
Returns the maximum number of delete failures that can be stored in memory.
- CatchingRunnable - Interface in org.kiwiproject.base
-
Extension of
Runnablethat never lets exceptions escape. - cause - Variable in class org.kiwiproject.base.KiwiThrowables.ThrowableInfo
- certAlias(String) - Method in class org.kiwiproject.config.TlsContextConfiguration.TlsContextConfigurationBuilder
-
The alias of a specific client certificate to present when authenticating.
- check() - Method in class org.kiwiproject.dropwizard.metrics.health.TimeBasedDirectoryCleanerHealthCheck
- check() - Method in class org.kiwiproject.dropwizard.metrics.health.TimedHealthCheck
- checkArgument(boolean, Class<T>) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, Class<T>, String) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, Class<T>, String, Object...) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgumentContainsOnlyNotBlank(Collection<String>) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures that the collection passed as a parameter to the calling method is not null or empty, and that none of its elements are blank strings.
- checkArgumentContainsOnlyNotBlank(Collection<String>, String) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures that the collection passed as a parameter to the calling method is not null or empty, and that none of its elements are blank strings.
- checkArgumentContainsOnlyNotBlank(Collection<String>, String, Object...) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures that the collection passed as a parameter to the calling method is not null or empty, and that none of its elements are blank strings.
- checkArgumentContainsOnlyNotNull(Collection<T>) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures that the collection passed as a parameter to the calling method is not null or empty, and that none of its elements are null.
- checkArgumentContainsOnlyNotNull(Collection<T>, String) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures that the collection passed as a parameter to the calling method is not null or empty, and that none of its elements are null.
- checkArgumentContainsOnlyNotNull(Collection<T>, String, Object...) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures that the collection passed as a parameter to the calling method is not null or empty, and that none of its elements are null.
- checkArgumentInstanceOf(T, Class<?>) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures the argument has the expected type.
- checkArgumentInstanceOf(T, Class<?>, String) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures the argument has the expected type.
- checkArgumentInstanceOf(T, Class<?>, String, Object...) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures the argument has the expected type.
- checkArgumentIsBlank(String) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures that the string passed as a parameter to the calling method is null, empty or blank, throwing an
IllegalArgumentExceptionif it is not null, empty, or blank. - checkArgumentIsBlank(String, String) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures that the string passed as a parameter to the calling method is null, empty or blank, throwing an
IllegalArgumentExceptionif it is not null, empty, or blank. - checkArgumentIsBlank(String, String, Object...) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures that the string passed as a parameter to the calling method is null, empty or blank, throwing an
IllegalArgumentExceptionif it is not null, empty, or blank. - checkArgumentIsNull(T) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures that an object reference passed as a parameter to the calling method is null, throwing an
IllegalArgumentExceptionif not null. - checkArgumentIsNull(T, String) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures that an object reference passed as a parameter to the calling method is null, throwing an
IllegalArgumentExceptionif not null. - checkArgumentIsNull(T, String, Object...) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures that an object reference passed as a parameter to the calling method is null, throwing an
IllegalArgumentExceptionif not null. - checkArgumentNotBlank(String) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures that the string passed as a parameter to the calling method is not null, empty or blank, throwing an
IllegalArgumentExceptionif it is null, empty, or blank. - checkArgumentNotBlank(String, String) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures that the string passed as a parameter to the calling method is not null, empty or blank, throwing an
IllegalArgumentExceptionif it is null, empty, or blank. - checkArgumentNotBlank(String, String, Object...) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures that the string passed as a parameter to the calling method is not null, empty or blank, throwing an
IllegalArgumentExceptionif it is null, empty, or blank. - checkArgumentNotEmpty(Collection<T>) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures that the collection passed as a parameter to the calling method is not null or empty.
- checkArgumentNotEmpty(Collection<T>, String) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures that the collection passed as a parameter to the calling method is not null or empty.
- checkArgumentNotEmpty(Collection<T>, String, Object...) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures that the collection passed as a parameter to the calling method is not null or empty.
- checkArgumentNotEmpty(Map<K, V>) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures that the map passed as a parameter to the calling method is not null or empty.
- checkArgumentNotEmpty(Map<K, V>, String) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures that the map passed as a parameter to the calling method is not null or empty.
- checkArgumentNotEmpty(Map<K, V>, String, Object...) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures that the map passed as a parameter to the calling method is not null or empty.
- checkArgumentNotInstanceOf(T, Class<?>) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures the argument type is not the restricted type.
- checkArgumentNotInstanceOf(T, Class<?>, String) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures the argument type is not the restricted type.
- checkArgumentNotInstanceOf(T, Class<?>, String, Object...) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures the argument type is not the restricted type.
- checkArgumentNotNull(T) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null, throwing an
IllegalArgumentExceptionif null. - checkArgumentNotNull(T, String) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null, throwing an
IllegalArgumentExceptionif null. - checkArgumentNotNull(T, String, Object...) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null, throwing an
IllegalArgumentExceptionif null. - checkArgumentNoViolations(Set<ConstraintViolation<T>>) - Static method in class org.kiwiproject.validation.KiwiValidations
-
Ensures the set of constraint violations is empty, throwing an
IllegalArgumentExceptionotherwise. - checkArgumentNoViolations(Set<ConstraintViolation<T>>, String) - Static method in class org.kiwiproject.validation.KiwiValidations
-
Ensures the set of constraint violations is empty, throwing an
IllegalArgumentExceptionotherwise. - checkArgumentNoViolations(Set<ConstraintViolation<T>>, String, Object...) - Static method in class org.kiwiproject.validation.KiwiValidations
-
Ensures the set of constraint violations is empty, throwing an
IllegalArgumentExceptionotherwise. - checkArgumentNoViolations(Set<ConstraintViolation<T>>, Function<Set<ConstraintViolation<T>>, String>) - Static method in class org.kiwiproject.validation.KiwiValidations
-
Ensures the set of constraint violations is empty, throwing an
IllegalArgumentExceptionotherwise. - checkArgumentValid(T) - Static method in class org.kiwiproject.validation.KiwiValidations
-
Validate the given object using the singleton validator instance against the
Defaultgroup. - checkArgumentValid(T, Class<?>...) - Static method in class org.kiwiproject.validation.KiwiValidations
-
Validate the given object using the singleton validator instance against the specified validation groups.
- checkArgumentValid(T, String) - Static method in class org.kiwiproject.validation.KiwiValidations
-
Validate the given object using the singleton validator instance against the
Defaultgroup. - checkArgumentValid(T, String, Class<?>...) - Static method in class org.kiwiproject.validation.KiwiValidations
-
Validate the given object using the singleton validator instance against the specified validation groups.
- checkArgumentValid(T, String, Object...) - Static method in class org.kiwiproject.validation.KiwiValidations
-
Validate the given object using the singleton validator instance against the
Defaultgroup. - checkArgumentValid(T, String, List<Object>, Class<?>...) - Static method in class org.kiwiproject.validation.KiwiValidations
-
Validate the given object using the singleton validator instance against the specified validation groups.
- checkArgumentValid(T, Function<Set<ConstraintViolation<T>>, String>) - Static method in class org.kiwiproject.validation.KiwiValidations
-
Validate the given object using the singleton validator instance against the
Defaultgroup. - checkArgumentValid(T, Function<Set<ConstraintViolation<T>>, String>, Class<?>...) - Static method in class org.kiwiproject.validation.KiwiValidations
-
Validate the given object using the singleton validator instance against the specified validation groups.
- checkEvenItemCount(Collection<T>) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures that a collection of items has an even count, throwing an
IllegalArgumentExceptionif items is null or there is an odd number of items. - checkEvenItemCount(IntSupplier) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures that a collection of items has an even count, throwing an
IllegalArgumentExceptionif countSupplier is null or returns an odd number. - checkEvenItemCount(T...) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures that a collection of items has an even count, throwing an
IllegalArgumentExceptionif items is null or there is an odd number of items. - checkMinimumSize(List<T>, int) - Static method in class org.kiwiproject.collect.KiwiLists
-
Checks that the given list is not null and has the given minimum size.
- checkMinimumSize(T[], int) - Static method in class org.kiwiproject.collect.KiwiArrays
-
Checks that the given array is not null and has the given minimum size.
- checkNonNullCollection(Collection<T>) - Static method in class org.kiwiproject.collect.KiwiCollections
-
Checks that the given collection is not null.
- checkNonNullInputArray(T[]) - Static method in class org.kiwiproject.collect.KiwiArrays
-
Checks that the given array is not null.
- checkNonNullInputList(List<T>) - Static method in class org.kiwiproject.collect.KiwiLists
-
Checks that the given list is not null.
- checkNotEmptyCollection(Collection<T>) - Static method in class org.kiwiproject.collect.KiwiCollections
-
Checks that the given collection is not empty.
- checkOnlyOneArgumentIsNull(T, T) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures that only one of two given arguments is null.
- checkOnlyOneArgumentIsNull(T, T, String) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures that only one of two given arguments is null.
- checkOnlyOneArgumentIsNull(T, T, String, Object...) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures that only one of two given arguments is null.
- checkPageNumber(int) - Static method in class org.kiwiproject.search.KiwiSearching
-
Validate the given page number is greater than zero.
- checkPageNumber(int) - Method in enum class org.kiwiproject.search.KiwiSearching.PageNumberingScheme
-
Check the given page number for this scheme's minimum page number.
- checkPageNumber(int, KiwiSearching.PageNumberingScheme) - Static method in class org.kiwiproject.search.KiwiSearching
-
Validate the given page number is equal to or greater than the minimum for the given
KiwiSearching.PageNumberingScheme. - checkPageSize(int) - Static method in class org.kiwiproject.search.KiwiSearching
-
Validate that the given page size is greater than zero.
- checkPositive(int) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures int
valueis a positive number (greater than zero). - checkPositive(int, String) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures int
valueis a positive number (greater than zero). - checkPositive(int, String, Object...) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures int
valueis a positive number (greater than zero). - checkPositive(long) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures long
valueis a positive number (greater than zero). - checkPositive(long, String) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures long
valueis a positive number (greater than zero). - checkPositive(long, String, Object...) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures long
valueis a positive number (greater than zero). - checkPositiveOrZero(int) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures int
valueis a positive number (greater than zero) or zero. - checkPositiveOrZero(int, String) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures int
valueis a positive number (greater than zero) or zero. - checkPositiveOrZero(int, String, Object...) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures int
valueis a positive number (greater than zero) or zero. - checkPositiveOrZero(long) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures long
valueis a positive number (greater than zero) or zero. - checkPositiveOrZero(long, String) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures long
valueis a positive number (greater than zero) or zero. - checkPositiveOrZero(long, String, Object...) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures long
valueis a positive number (greater than zero) or zero. - checkTimeout(long) - Static method in class org.kiwiproject.jaxrs.client.KiwiJerseyClients
-
Check the given timeout, in milliseconds, to be used for a Jersey connect and/or read timeout.
- checkValidNonZeroPort(int) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures given port is valid (excluding zero), between 1 and
KiwiPreconditions.MAX_PORT_NUMBER. - checkValidNonZeroPort(int, String) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures given port is valid (excluding zero), between 1 and
KiwiPreconditions.MAX_PORT_NUMBER. - checkValidNonZeroPort(int, String, Object...) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures given port is valid (excluding zero), between 1 and
KiwiPreconditions.MAX_PORT_NUMBER. - checkValidPort(int) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures given port is valid, between 0 and
KiwiPreconditions.MAX_PORT_NUMBER. - checkValidPort(int, String) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures given port is valid, between 0 and
KiwiPreconditions.MAX_PORT_NUMBER. - checkValidPort(int, String, Object...) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures given port is valid, between 0 and
KiwiPreconditions.MAX_PORT_NUMBER. - checkYamlNotBlank(String) - Method in class org.kiwiproject.yaml.YamlHelper
- CidrRange - Class in org.kiwiproject.net
-
Small utility to analyze CIDR information.
- CidrRange(String) - Constructor for class org.kiwiproject.net.CidrRange
-
Creates a new instance of KiwiCidrs parsing the given CIDR.
- clearCachedJAXBContextClasses() - Static method in class org.kiwiproject.xml.KiwiXml
-
Clear the internal cache of class to
JAXBContextmappings. - clearExceptionPredicates() - Method in class org.kiwiproject.retry.KiwiRetryer.KiwiRetryerBuilder
- clearRecentDeleteErrors() - Method in class org.kiwiproject.io.TimeBasedDirectoryCleaner
-
Clears all delete errors currently stored in memory.
- clearResultPredicates() - Method in class org.kiwiproject.retry.KiwiRetryer.KiwiRetryerBuilder
- clearUnexpectedPaths() - Method in class org.kiwiproject.json.LoggingDeserializationProblemHandler
-
Clear all unexpected path information.
- clientError(int) - Static method in class org.kiwiproject.net.KiwiHttpResponses
-
Check if the given status code is in the client error family (4xx codes).
- clientError(Response) - Static method in class org.kiwiproject.jaxrs.KiwiResponses
-
Check if the given response is in the CLIENT_ERROR (4xx codes) family.
- CloseableResource(Object) - Constructor for record class org.kiwiproject.io.KiwiIO.CloseableResource
-
Create a new instance with a default set of close method names.
- CloseableResource(Object, String) - Constructor for record class org.kiwiproject.io.KiwiIO.CloseableResource
-
Create a new instance with a single close method name.
- CloseableResource(Object, List<String>) - Constructor for record class org.kiwiproject.io.KiwiIO.CloseableResource
-
Creates an instance of a
CloseableResourcerecord class. - closeMethodNames() - Method in record class org.kiwiproject.io.KiwiIO.CloseableResource
-
Returns the value of the
closeMethodNamesrecord component. - closeObjectQuietly(Object) - Static method in class org.kiwiproject.io.KiwiIO
-
Closes an object unconditionally.
- closeObjectQuietly(String, Object) - Static method in class org.kiwiproject.io.KiwiIO
-
Closes an object unconditionally.
- closeObjectsQuietly(Object...) - Static method in class org.kiwiproject.io.KiwiIO
-
Closes one or more objects unconditionally.
- closeObjectsQuietly(String, Object...) - Static method in class org.kiwiproject.io.KiwiIO
-
Closes one or more objects unconditionally.
- closeQuietly(Response) - Static method in class org.kiwiproject.jaxrs.KiwiResponses
-
Closes the given
Response, which can benull, swallowing any exceptions and logging them at INFO level. - closeQuietly(Closeable) - Static method in class org.kiwiproject.io.KiwiIO
-
Closes a
Closeableunconditionally. - closeQuietly(Closeable...) - Static method in class org.kiwiproject.io.KiwiIO
-
Closes a
Closeableunconditionally. - closeQuietly(XMLStreamReader) - Static method in class org.kiwiproject.io.KiwiIO
-
Closes an
XMLStreamReaderunconditionally. - closeQuietly(XMLStreamWriter) - Static method in class org.kiwiproject.io.KiwiIO
-
Closes an
XMLStreamWriterunconditionally. - closeResourceQuietly(KiwiIO.CloseableResource) - Static method in class org.kiwiproject.io.KiwiIO
-
Closes a resource unconditionally.
- CODE - Static variable in exception org.kiwiproject.jaxrs.exception.JaxrsBadRequestException
-
The status code for all instances of this exception.
- CODE - Static variable in exception org.kiwiproject.jaxrs.exception.JaxrsConflictException
-
The status code for all instances of this exception.
- CODE - Static variable in exception org.kiwiproject.jaxrs.exception.JaxrsForbiddenException
-
The status code for all instances of this exception.
- CODE - Static variable in exception org.kiwiproject.jaxrs.exception.JaxrsInternalServerErrorException
-
The status code for all instances of this exception.
- CODE - Static variable in exception org.kiwiproject.jaxrs.exception.JaxrsNotAuthorizedException
-
The status code for all instances of this exception.
- CODE - Static variable in exception org.kiwiproject.jaxrs.exception.JaxrsNotFoundException
-
The status code for all instances of this exception.
- CODE - Static variable in exception org.kiwiproject.jaxrs.exception.JaxrsValidationException
-
The status code for all instances of this exception.
- combinedErrorMessage(Set<ConstraintViolation<T>>, Function<Path, String>) - Static method in class org.kiwiproject.validation.KiwiConstraintViolations
-
Given a non-empty set of violations, produce a single string containing all violation messages separated by commas.
- combinedErrorMessageOrEmpty(Set<ConstraintViolation<T>>, Function<Path, String>) - Static method in class org.kiwiproject.validation.KiwiConstraintViolations
-
Given a non-empty set of violations, produce a single string containing all violation messages separated by commas.
- combinedErrorMessageOrNull(Set<ConstraintViolation<T>>, Function<Path, String>) - Static method in class org.kiwiproject.validation.KiwiConstraintViolations
-
Given a non-empty set of violations, produce a single string containing all violation messages separated by commas.
- combinedErrorMessages(Set<ConstraintViolation<T>>, Function<Path, String>) - Static method in class org.kiwiproject.validation.KiwiConstraintViolations
-
Given a non-empty set of violations, produce a list of strings containing all violation messages.
- combineErrorMessagesIntoMap(Set<ConstraintViolation<T>>, Function<Path, String>) - Static method in class org.kiwiproject.validation.KiwiConstraintViolations
-
Given a non-empty set of violations, produce map whose keys are the transformed properties and the corresponding values are strings containing all violation messages.
- COMMA - Static variable in class org.kiwiproject.base.KiwiStrings
-
A comma character.
- COMMA_SPLITTER - Static variable in class org.kiwiproject.net.KiwiUrls
- commonType(String) - Method in class org.kiwiproject.retry.SimpleRetryer.SimpleRetryerBuilder
-
The common type/description to include in log messages for each attempt.
- configuration() - Method in class org.kiwiproject.security.SimpleSSLContextFactory
-
Get the properties this factory was configured with, including passwords.
- configureForMillisecondDateTimestamps(ObjectMapper) - Static method in class org.kiwiproject.json.JsonHelper
-
Configure the given
ObjectMapperto read and write timestamps as milliseconds. - configureJdkWebService(Class<T>, BindingProvider, String, SSLSocketFactory, int, int) - Static method in class org.kiwiproject.jaxws.KiwiJaxWs
-
Configure a JDK (e.g.
- configureJdkWebServiceConnectTimeout(BindingProvider, int) - Static method in class org.kiwiproject.jaxws.KiwiJaxWs
-
Configure a JDK (e.g.
- configureJdkWebServiceDefaultConnectTimeout(BindingProvider) - Static method in class org.kiwiproject.jaxws.KiwiJaxWs
-
Configure a JDK (e.g.
- configureJdkWebServiceDefaultReadTimeout(BindingProvider) - Static method in class org.kiwiproject.jaxws.KiwiJaxWs
-
Configure a JDK (e.g.
- configureJdkWebServiceEndpointAddress(BindingProvider, String) - Static method in class org.kiwiproject.jaxws.KiwiJaxWs
-
Configure a JDK (e.g.
- configureJdkWebServiceEndpointAddress(BindingProvider, URI) - Static method in class org.kiwiproject.jaxws.KiwiJaxWs
-
Configure a JDK (e.g.
- configureJdkWebServiceReadTimeout(BindingProvider, int) - Static method in class org.kiwiproject.jaxws.KiwiJaxWs
-
Configure a JDK (e.g.
- configureJdkWebServiceSslSocketFactory(BindingProvider, SSLSocketFactory) - Static method in class org.kiwiproject.jaxws.KiwiJaxWs
-
Configure a JDK (e.g.
- configureJdkWebServiceWithDefaultTimeouts(Class<T>, BindingProvider, String, SSLSocketFactory) - Static method in class org.kiwiproject.jaxws.KiwiJaxWs
-
Configure a JDK (e.g.
- conflict(int) - Static method in class org.kiwiproject.net.KiwiHttpResponses
-
Check if the given status code is 409 Conflict.
- connect() - Method in class org.kiwiproject.jsch.SftpConnector
-
Opens a connection to the remote SFTP server.
- connect() - Method in class org.kiwiproject.jsch.SftpTransfers
-
Connects to the remote SFTP server.
- CONNECTION_ERROR - Static variable in class org.kiwiproject.retry.KiwiRetryerPredicates
-
Check if a given
Exceptionis or has a root cause ofConnectException. - connectTimeout(Client, int) - Static method in class org.kiwiproject.jaxrs.client.KiwiJerseyClients
-
Set connect timeout.
- connectTimeout(Client, long) - Static method in class org.kiwiproject.jaxrs.client.KiwiJerseyClients
-
Set connect timeout.
- connectTimeout(Client, Duration) - Static method in class org.kiwiproject.jaxrs.client.KiwiJerseyClients
-
Set connect timeout.
- connectTimeout(Client, Duration) - Static method in class org.kiwiproject.jaxrs.client.KiwiJerseyClients
-
Set connect timeout.
- ConstraintViolationExceptionMapper - Class in org.kiwiproject.jaxrs.exception
-
Map
ConstraintViolationExceptionto a JSONResponse. - ConstraintViolationExceptionMapper() - Constructor for class org.kiwiproject.jaxrs.exception.ConstraintViolationExceptionMapper
- constructSortChain(List<Sort>) - Static method in class org.kiwiproject.spring.data.KiwiPaging
-
Accepts a list of Sort properties and chains them together in order.
- constructSortChain(Sort...) - Static method in class org.kiwiproject.spring.data.KiwiPaging
-
Accepts a varargs of Sort properties and chains them together in order.
- constructSortChainFromPairs(Object...) - Static method in class org.kiwiproject.spring.data.KiwiPaging
-
Creates a
Sortchain from a varargs list of sort direction and field pairs. - constructSortListFromPairs(Object...) - Static method in class org.kiwiproject.spring.data.KiwiPaging
-
Constructs a list of Sort properties from a varargs of sort direction and field pairs.
- contentTooLarge(int) - Static method in class org.kiwiproject.net.KiwiHttpResponses
-
Check if the given status code is 413 Content Too Large.
- convert(Object, TypeReference<T>) - Method in class org.kiwiproject.json.JsonHelper
-
Converts the given object to an object of the target type described by the
TypeReference. - convert(Object, Class<T>) - Method in class org.kiwiproject.json.JsonHelper
-
Converts the given object to an object of the target type.
- convert(BsonUndefined) - Method in class org.kiwiproject.spring.data.KiwiMongoConverters.BsonUndefinedToNullStringConverter
- convert(T) - Method in class org.kiwiproject.beans.BeanConverter
-
This conversion method takes a single parameter and modifies the object in place.
- convert(T, R) - Method in class org.kiwiproject.beans.BeanConverter
-
This conversion method takes two parameters and copies properties from one object to another
- convertToMap(Object) - Method in class org.kiwiproject.json.JsonHelper
-
Converts the given object to a map with String keys and Object values.
- convertToMap(Object, TypeReference<Map<K, V>>) - Method in class org.kiwiproject.json.JsonHelper
-
Converts the given object to a map using the given
TypeReference. - copy(T) - Method in class org.kiwiproject.json.JsonHelper
-
Copies the given object by converting to JSON and then converting the JSON back to an object of the same class as the copied object.
- copy(T, Class<R>) - Method in class org.kiwiproject.json.JsonHelper
-
Copies the given object by converting to JSON and then converting the JSON back to an object of the given target class.
- copyIgnoringPaths(T, Class<R>, String...) - Method in class org.kiwiproject.json.JsonHelper
-
Copies the given object by converting to JSON, ignoring the given paths, and then converting the JSON back to an object of the given target class.
- copyOf() - Method in class org.kiwiproject.ansible.vault.VaultConfiguration
-
Makes a copy of this instance.
- copyOf() - Method in class org.kiwiproject.spring.data.PagingRequest
-
Create a copy of this instance.
- copyOf(PagingRequest) - Static method in class org.kiwiproject.spring.data.PagingRequest
-
Create a copy of the given
PagingRequest. - created(int) - Static method in class org.kiwiproject.net.KiwiHttpResponses
-
Check if the given status code is 201 Created.
- created(Response) - Static method in class org.kiwiproject.jaxrs.KiwiResponses
-
Check if the given response has status 201 Created.
- createdResponse(URI, Object) - Static method in class org.kiwiproject.jaxrs.KiwiResources
-
Builds a
Responsewith 201 Created status and a specified Location header and entity. - createdResponseBuilder(URI, Object) - Static method in class org.kiwiproject.jaxrs.KiwiResources
-
Creates a
Response.ResponseBuilderhaving 201 Created status and a specified Location header and entity. - createHttpsUrl(String, int) - Static method in class org.kiwiproject.net.KiwiUrls
-
Create a well-formed HTTPS URL (String) from the given hostname and port.
- createHttpsUrl(String, int, String) - Static method in class org.kiwiproject.net.KiwiUrls
-
Create a well-formed HTTPS URL (String) from the given hostname, port, and path.
- createHttpsUrlObject(String, int) - Static method in class org.kiwiproject.net.KiwiUrls
-
Create a well-formed HTTPS URL from the given hostname and port.
- createHttpsUrlObject(String, int, String) - Static method in class org.kiwiproject.net.KiwiUrls
-
Create a well-formed HTTPS URL from the given hostname, port, and path.
- createHttpUrl(String, int) - Static method in class org.kiwiproject.net.KiwiUrls
-
Create a well-formed HTTP URL (String) from the given hostname and port.
- createHttpUrl(String, int, String) - Static method in class org.kiwiproject.net.KiwiUrls
-
Create a well-formed HTTP URL (String) from the given hostname, port, and path.
- createHttpUrlObject(String, int) - Static method in class org.kiwiproject.net.KiwiUrls
-
Create a well-formed HTTP URL from the given hostname and port.
- createHttpUrlObject(String, int, String) - Static method in class org.kiwiproject.net.KiwiUrls
-
Create a well-formed HTTP URL from the given hostname, port, and path.
- createPageable(int, int, Object...) - Static method in class org.kiwiproject.spring.data.KiwiPaging
-
Constructs a
Pageableobject using a page number and size, as well as an arbitrary varargs of Sort direction and Field name pairs. - createPageable(PagingParams) - Static method in class org.kiwiproject.spring.data.KiwiPaging
-
Constructs a
Pageableobject using aPagingParamsas input. - createSslContext(String, String, String, String, String, String, String, String, String) - Static method in class org.kiwiproject.security.KiwiSecurity
-
Create a new
SSLContextinstance for the given paths, passwords, key and trust store types, key and trust manager algorithms, and protocol. - createSslContext(String, String, String, String, String) - Static method in class org.kiwiproject.security.KiwiSecurity
-
Create a new
SSLContextinstance for the given paths, passwords, and protocol, assuming that the key and trust store types areKeyStoreType.JKS. - createSslContext(String, String, String, String, String, String, String) - Static method in class org.kiwiproject.security.KiwiSecurity
-
Create a new
SSLContextinstance for the given paths, passwords, key and trust store types, and protocol. - createSslContext(String, String, String, String, String, String, SSLContextProtocol) - Static method in class org.kiwiproject.security.KiwiSecurity
-
Create a new
SSLContextinstance for the given paths, passwords, and protocol, assuming that the key and trust store types areKeyStoreType.JKS. - createSslContext(String, String, String, String, SSLContextProtocol) - Static method in class org.kiwiproject.security.KiwiSecurity
-
Create a new
SSLContextinstance for the given paths, passwords, and protocol, assuming that the key and trust store types areKeyStoreType.JKS. - createUrl(String, String...) - Static method in class org.kiwiproject.net.KiwiUrls
-
Create a well-formed URL string from the given
schemeHostPortand zero or more path components. - createUrl(String, String, int) - Static method in class org.kiwiproject.net.KiwiUrls
-
Create a well-formed URL (String) from the given protocol, hostname, and port.
- createUrl(String, String, int, String) - Static method in class org.kiwiproject.net.KiwiUrls
-
Create a well-formed URL (String) from the given protocol, hostname, port, and path.
- createUrlObject(String) - Static method in class org.kiwiproject.net.KiwiUrls
-
Wrapper around
URL's constructor which throws a checkedMalformedURLException. - createUrlObject(String, String...) - Static method in class org.kiwiproject.net.KiwiUrls
-
Create a well-formed URL from the given
schemeHostPortand zero or more path components. - createUrlObject(String, String, int) - Static method in class org.kiwiproject.net.KiwiUrls
-
Create a well-formed URL from the given protocol, hostname, and port.
- createUrlObject(String, String, int, String) - Static method in class org.kiwiproject.net.KiwiUrls
-
Create a well-formed URL from the given protocol, hostname, port, and path.
- currentDate() - Method in class org.kiwiproject.base.DefaultEnvironment
- currentDate() - Method in interface org.kiwiproject.base.KiwiEnvironment
-
Returns the current date.
- currentInstant() - Method in class org.kiwiproject.base.DefaultEnvironment
- currentInstant() - Method in interface org.kiwiproject.base.KiwiEnvironment
-
Returns the current
Instantin the default time zone. - currentInstant(ZoneId) - Method in class org.kiwiproject.base.DefaultEnvironment
- currentInstant(ZoneId) - Method in interface org.kiwiproject.base.KiwiEnvironment
-
Returns the current
Instantin the specified time zone. - currentLocalDate() - Method in class org.kiwiproject.base.DefaultEnvironment
- currentLocalDate() - Method in interface org.kiwiproject.base.KiwiEnvironment
-
Returns the current
LocalDatein the default time zone. - currentLocalDate(ZoneId) - Method in class org.kiwiproject.base.DefaultEnvironment
- currentLocalDate(ZoneId) - Method in interface org.kiwiproject.base.KiwiEnvironment
-
Returns the current
LocalDatein the specified time zone. - currentLocalDateTime() - Method in class org.kiwiproject.base.DefaultEnvironment
- currentLocalDateTime() - Method in interface org.kiwiproject.base.KiwiEnvironment
-
Returns the current
LocalDateTimein the default time zone. - currentLocalDateTime(ZoneId) - Method in class org.kiwiproject.base.DefaultEnvironment
- currentLocalDateTime(ZoneId) - Method in interface org.kiwiproject.base.KiwiEnvironment
-
Returns the current
LocalDateTimein the specified time zone. - currentLocalTime() - Method in class org.kiwiproject.base.DefaultEnvironment
- currentLocalTime() - Method in interface org.kiwiproject.base.KiwiEnvironment
-
Returns the current
LocalTimein the default time zone. - currentLocalTime(ZoneId) - Method in class org.kiwiproject.base.DefaultEnvironment
- currentLocalTime(ZoneId) - Method in interface org.kiwiproject.base.KiwiEnvironment
-
Returns the current
LocalTimein the specified time zone. - currentPid() - Method in class org.kiwiproject.base.DefaultEnvironment
- currentPid() - Method in interface org.kiwiproject.base.KiwiEnvironment
-
Returns the process ID of the currently executing JVM.
- currentProcessHandle() - Method in class org.kiwiproject.base.DefaultEnvironment
- currentProcessHandle() - Method in interface org.kiwiproject.base.KiwiEnvironment
-
Returns a ProcessHandle for the current process.
- currentThread() - Method in class org.kiwiproject.base.DefaultEnvironment
- currentThread() - Method in interface org.kiwiproject.base.KiwiEnvironment
-
Returns a reference to the currently executing thread object.
- currentTime() - Method in class org.kiwiproject.base.DefaultEnvironment
- currentTime() - Method in interface org.kiwiproject.base.KiwiEnvironment
-
Returns the current time.
- currentTimeMillis() - Method in class org.kiwiproject.base.DefaultEnvironment
- currentTimeMillis() - Method in interface org.kiwiproject.base.KiwiEnvironment
-
Returns the current time in milliseconds since the epoch.
- currentTimestamp() - Method in class org.kiwiproject.base.DefaultEnvironment
- currentTimestamp() - Method in interface org.kiwiproject.base.KiwiEnvironment
-
Returns the current timestamp.
- currentZonedDateTime() - Method in class org.kiwiproject.base.DefaultEnvironment
- currentZonedDateTime() - Method in interface org.kiwiproject.base.KiwiEnvironment
-
Returns the current
ZonedDateTimein the default time zone. - currentZonedDateTime(ZoneId) - Method in class org.kiwiproject.base.DefaultEnvironment
- currentZonedDateTime(ZoneId) - Method in interface org.kiwiproject.base.KiwiEnvironment
-
Returns the current
ZonedDateTimein the specified time zone. - currentZonedDateTimeUTC() - Method in class org.kiwiproject.base.DefaultEnvironment
- currentZonedDateTimeUTC() - Method in interface org.kiwiproject.base.KiwiEnvironment
- cycleForever(Iterable<T>) - Static method in class org.kiwiproject.collect.KiwiIterators
-
Returns a thread-safe iterator that cycles indefinitely over the elements of
iterable, base on Guava'sIterables.cycle(Iterable). - cycleForever(T...) - Static method in class org.kiwiproject.collect.KiwiIterators
-
Returns a thread-safe iterator that cycles indefinitely over the elements of
iterable, based on Guava'sIterables.cycle(Iterable).
D
- dateFrom(Instant) - Static method in class org.kiwiproject.time.KiwiDates
-
Return the
Dateconverted frominstant. - dateFromInstantMinusDays(Instant, long) - Static method in class org.kiwiproject.time.KiwiDates
- dateFromInstantMinusHours(Instant, long) - Static method in class org.kiwiproject.time.KiwiDates
- dateFromInstantMinusMinutes(Instant, long) - Static method in class org.kiwiproject.time.KiwiDates
- dateFromInstantMinusMonths(Instant, long) - Static method in class org.kiwiproject.time.KiwiDates
- dateFromInstantMinusYears(Instant, long) - Static method in class org.kiwiproject.time.KiwiDates
- dateFromInstantOrNull(Instant) - Static method in class org.kiwiproject.time.KiwiDates
- dateFromInstantPlusDays(Instant, long) - Static method in class org.kiwiproject.time.KiwiDates
- dateFromInstantPlusHours(Instant, long) - Static method in class org.kiwiproject.time.KiwiDates
- dateFromInstantPlusMinutes(Instant, long) - Static method in class org.kiwiproject.time.KiwiDates
- dateFromInstantPlusMonths(Instant, long) - Static method in class org.kiwiproject.time.KiwiDates
- dateFromInstantPlusYears(Instant, long) - Static method in class org.kiwiproject.time.KiwiDates
- dateFromTimestamp(ResultSet, String) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
- dateFromTimestamp(Timestamp) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
- dateToXMLGregorianCalendar(Date) - Static method in class org.kiwiproject.xml.KiwiXmlConverters
-
Converts a
Dateto anXMLGregorianCalendarin the default time zone. - dateToXMLGregorianCalendar(Date, ZoneId) - Static method in class org.kiwiproject.xml.KiwiXmlConverters
-
Converts a
Dateto anXMLGregorianCalendarin the given time zone. - dateToXMLGregorianCalendarUTC(Date) - Static method in class org.kiwiproject.xml.KiwiXmlConverters
-
Converts a
Dateto anXMLGregorianCalendarin UTC. - decryptFile(String) - Method in class org.kiwiproject.ansible.vault.VaultEncryptionHelper
-
Wraps ansible-vault decrypt command.
- decryptFile(String, String) - Method in class org.kiwiproject.ansible.vault.VaultEncryptionHelper
-
Wraps ansible-vault decrypt command.
- decryptFile(Path) - Method in class org.kiwiproject.ansible.vault.VaultEncryptionHelper
-
Wraps ansible-vault decrypt command.
- decryptFile(Path, Path) - Method in class org.kiwiproject.ansible.vault.VaultEncryptionHelper
-
Wraps ansible-vault decrypt command.
- decryptString(String) - Method in class org.kiwiproject.ansible.vault.VaultEncryptionHelper
-
Decrypts an encrypted string variable formatted using encrypt_string with a --name option.
- deepCopy(String) - Method in class org.kiwiproject.hibernate.usertype.JSONBUserType
- DEFAULT - Enum constant in enum class org.kiwiproject.json.JsonHelper.OutputFormat
-
JSON may or may not be formatted (but probably not).
- DEFAULT_DELETE_ERROR_THRESHOLD - Static variable in class org.kiwiproject.dropwizard.metrics.health.TimeBasedDirectoryCleanerHealthCheck
- DEFAULT_FUZZY_EQUALS_TOLERANCE - Static variable in class org.kiwiproject.base.KiwiDoubles
-
Default tolerance to use for comparisons when not explicitly specified.
- DEFAULT_HEALTH_CHECK_NAME - Static variable in class org.kiwiproject.dropwizard.jdbi3.Jdbi3Builders
- DEFAULT_INITIAL_DELAY_MILLIS - Static variable in class org.kiwiproject.dropwizard.config.TimeBasedDirectoryCleanerConfig
- DEFAULT_KILL_TIMEOUT_SECONDS - Static variable in class org.kiwiproject.base.process.Processes
-
Default number of seconds to wait for termination of a process.
- DEFAULT_LOCK_WAIT_TIME - Static variable in class org.kiwiproject.concurrent.TryLocker
-
The default lock wait time if not specified.
- DEFAULT_LOCK_WAIT_TIME_UNIT - Static variable in class org.kiwiproject.concurrent.TryLocker
-
The default lock wait time unit if not specified.
- DEFAULT_MAX_ATTEMPTS - Static variable in class org.kiwiproject.retry.SimpleRetryer
-
Default maximum attempts.
- DEFAULT_MAX_LIMIT - Static variable in class org.kiwiproject.spring.data.PagingRequest
- DEFAULT_MAX_RECENT_ITEMS - Static variable in class org.kiwiproject.collect.KiwiEvictingQueues
-
The default maximum number of
EvictingQueueitems. - DEFAULT_PAGE_SIZE - Static variable in class org.kiwiproject.search.KiwiSearching
-
A rather opinionated value for the default page size.
- DEFAULT_PAGE_SIZE_AS_STRING - Static variable in class org.kiwiproject.search.KiwiSearching
-
The rather opinionated value for default page size as a String, in order to support web framework annotations like Jakarta REST's
jakarta.ws.rs.DefaultValuethat require a String. - DEFAULT_RETRY_DELAY_TIME - Static variable in class org.kiwiproject.retry.SimpleRetryer
-
Default retry delay time.
- DEFAULT_RETRY_DELAY_UNIT - Static variable in class org.kiwiproject.retry.SimpleRetryer
-
Default retry delay time unit.
- DEFAULT_RETRY_LOG_LEVEL - Static variable in class org.kiwiproject.retry.SimpleRetryer
-
Default value of the log level to use when logging retry attempts.
- DEFAULT_TIMEOUT - Static variable in class org.kiwiproject.net.SocketChecker
- DEFAULT_TYPE - Static variable in class org.kiwiproject.retry.SimpleRetryer
-
Default value to include in attempt log messages.
- DEFAULT_WAIT_FOR_EXIT_TIME_SECONDS - Static variable in class org.kiwiproject.base.process.Processes
-
Default number of seconds to wait for a process to exit.
- defaultCloseMethodNames() - Static method in class org.kiwiproject.io.KiwiIO
-
Return the default method names used when closing objects using any of the methods to close generic
Object. - DefaultEnvironment - Class in org.kiwiproject.base
-
A default implementation of the
KiwiEnvironmentinterface. - DefaultEnvironment() - Constructor for class org.kiwiproject.base.DefaultEnvironment
- deleteErrorLogLevel(String) - Method in class org.kiwiproject.io.TimeBasedDirectoryCleaner.TimeBasedDirectoryCleanerBuilder
- deleteRemoteFile(Path, String) - Method in class org.kiwiproject.jsch.SftpTransfers
-
Deletes a given file from the given path on a remote server.
- DESC - Enum constant in enum class org.kiwiproject.jdbc.SqlOrder
- DESC - Enum constant in enum class org.kiwiproject.spring.data.KiwiSort.Direction
-
A descending sort.
- deserialize(JsonParser, DeserializationContext) - Method in class org.kiwiproject.jackson.ser.ListToCsvStringDeserializer
- detectFormat(String) - Static method in class org.kiwiproject.jackson.KiwiJacksonDataFormats
-
Detect data format of given text using the default
Charset. - detectFormat(String, Charset) - Static method in class org.kiwiproject.jackson.KiwiJacksonDataFormats
-
Detect data format of given text using the given
Charset. - detectFormat(String, Charset, DataFormatDetector) - Static method in class org.kiwiproject.jackson.KiwiJacksonDataFormats
-
Detect data format of given text using given
CharsetandDataFormatDetector. - detectFormatUtf8(String) - Static method in class org.kiwiproject.jackson.KiwiJacksonDataFormats
-
Detect data format of given text using UTF-8
Charset. - detectJson(String) - Method in class org.kiwiproject.json.JsonHelper
-
Use Jackson's data format detection to determine if the given content is JSON, assuming UTF-8 as the charset.
- detectJson(String, Charset) - Method in class org.kiwiproject.json.JsonHelper
-
Use Jackson's data format detection to determine if the given content is JSON.
- detectKeyExchangeTypeForHost(String, HostKeyRepository) - Static method in class org.kiwiproject.jsch.KiwiJSchHelpers
-
Detect the key exchange for a given host (or IP address) and
HostKeyRepository, which is JSch's encapsulation of theknown_hostsfile. - directoryPath(String) - Method in class org.kiwiproject.io.TimeBasedDirectoryCleaner.TimeBasedDirectoryCleanerBuilder
- DirectoryPath - Annotation Interface in org.kiwiproject.validation
-
The annotated element must point to an existing directory.
- DirectoryPathValidator - Class in org.kiwiproject.validation
-
Validates that a string value is a valid path, exists, and is a directory.
- DirectoryPathValidator() - Constructor for class org.kiwiproject.validation.DirectoryPathValidator
- DISABLE_NAMESPACE_VALIDATION - Static variable in class org.kiwiproject.xml.KiwiXml
-
Constant that can be used to disable all namespace validations when converting from XML to objects.
- DISABLED - Enum constant in enum class org.kiwiproject.concurrent.Async.Mode
-
Disable asynchronous behavior (code is executed synchronously).
- disableSniHostCheck(boolean) - Method in class org.kiwiproject.config.SSLContextConfiguration.Builder
-
Whether the SNI (Server Name Indication) host check is disabled.
- disableSniHostCheck(boolean) - Method in class org.kiwiproject.config.TlsContextConfiguration.TlsContextConfigurationBuilder
-
Whether the SNI (Server Name Indication) host check is disabled.
- disableSniHostCheck(boolean) - Method in class org.kiwiproject.security.SimpleSSLContextFactory.Builder
- disableStrictHostChecking(boolean) - Method in class org.kiwiproject.jsch.SftpConfig.SftpConfigBuilder
-
Provides option to disable strict host key checking, equivalent to the
-o StrictHostKeyChecking=[yes|no]option. - disassemble(String) - Method in class org.kiwiproject.hibernate.usertype.JSONBUserType
- disconnect() - Method in class org.kiwiproject.jsch.SftpConnector
-
Closes and cleans up the connection to the remote SFTP server.
- disconnect() - Method in class org.kiwiproject.jsch.SftpTransfers
-
Disconnects from the remote SFTP server.
- distinct(Collection<T>) - Static method in class org.kiwiproject.collect.KiwiLists
-
Returns a list of the collection elements with duplicates stripped out.
- distinct(T[], Class<T>) - Static method in class org.kiwiproject.collect.KiwiArrays
-
Returns an array of the collection elements with duplicates stripped out.
- distinctOrEmpty(Collection<T>) - Static method in class org.kiwiproject.collect.KiwiLists
-
Returns a list of the collection elements with duplicates stripped out or an empty list if the input collection is null (or empty).
- distinctOrNull(Collection<T>) - Static method in class org.kiwiproject.collect.KiwiLists
-
Returns a list of the collection elements with duplicates stripped out or `null` if a null value is passed in.
- distinctOrNull(T[], Class<T>) - Static method in class org.kiwiproject.collect.KiwiArrays
-
Returns an array of the collection elements with duplicates stripped out or `null` if a null value is passed in.
- DKS - Enum constant in enum class org.kiwiproject.security.KeyStoreType
-
A domain keystore is a collection of keystores presented as a single logical keystore.
- doAsync(Runnable) - Static method in class org.kiwiproject.concurrent.Async
-
Execute the given
Runnableasynchronously. - doAsync(Runnable, Executor) - Static method in class org.kiwiproject.concurrent.Async
- doAsync(Supplier<T>) - Static method in class org.kiwiproject.concurrent.Async
-
Execute the given
Supplierasynchronously to return a result, using the common fork join pool as the executor. - doAsync(Supplier<T>, Executor) - Static method in class org.kiwiproject.concurrent.Async
-
Execute the given
Supplierasynchronously to return a result, using the common fork join pool as the executor. - domain(String) - Method in class org.kiwiproject.config.EndpointConfiguration.Builder
- DOMAIN_GROUP - Static variable in class org.kiwiproject.net.KiwiUrls
- domainName(String) - Method in class org.kiwiproject.net.KiwiUrls.Components.ComponentsBuilder
- doubleValueOrNull(ResultSet, String) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Simplifies the JDBC silliness whereby getting a double value that is actually
nullreturns zero, and you have to check if the last value was actuallynullusing theResultSet.wasNull()method. - DTLS - Enum constant in enum class org.kiwiproject.security.SSLContextProtocol
-
Supports the default provider-dependent versions of DTLS versions
- DTLS_1_0 - Enum constant in enum class org.kiwiproject.security.SSLContextProtocol
-
Supports RFC 4347; DTLS version 1.0; may support other DTLS versions
- DTLS_1_2 - Enum constant in enum class org.kiwiproject.security.SSLContextProtocol
-
Supports RFC 6347; DTLS version 1.2; may support other DTLS versions
E
- EMPTY_THROWABLE_INFO - Static variable in class org.kiwiproject.base.KiwiThrowables
-
Represents an "empty"
KiwiThrowables.ThrowableInfo, which is when the Throwable it comes from is null. - emptyByteArrayInputStream() - Static method in class org.kiwiproject.io.KiwiIO
-
Return a newly constructed, empty
ByteArrayInputStream. - emptyThrowableInfo() - Static method in class org.kiwiproject.base.KiwiThrowables
-
Get the singleton "empty" instance.
- ENABLED - Enum constant in enum class org.kiwiproject.concurrent.Async.Mode
-
Asynchronous behavior (default).
- encryptedFilePath(String) - Method in class org.kiwiproject.ansible.vault.VaultDecryptCommand.VaultDecryptCommandBuilder
- encryptedFilePath(String) - Method in class org.kiwiproject.ansible.vault.VaultRekeyCommand.VaultRekeyCommandBuilder
- encryptedFilePath(String) - Method in class org.kiwiproject.ansible.vault.VaultViewCommand.VaultViewCommandBuilder
- encryptFile(String) - Method in class org.kiwiproject.ansible.vault.VaultEncryptionHelper
-
Wraps the ansible-vault encrypt command.
- encryptFile(String, String) - Method in class org.kiwiproject.ansible.vault.VaultEncryptionHelper
-
Wraps the ansible-vault encrypt command using a vault ID label.
- encryptFile(Path) - Method in class org.kiwiproject.ansible.vault.VaultEncryptionHelper
-
Wraps the ansible-vault encrypt command.
- encryptFile(Path, String) - Method in class org.kiwiproject.ansible.vault.VaultEncryptionHelper
-
Wraps the ansible-vault encrypt command using a vault ID label.
- encryptString(String, String) - Method in class org.kiwiproject.ansible.vault.VaultEncryptionHelper
-
Wraps the ansible-vault encrypt_string command.
- encryptString(String, String, String) - Method in class org.kiwiproject.ansible.vault.VaultEncryptionHelper
-
Wraps the ansible-vault encrypt_string command using an optional vault ID label.
- endField() - Element in annotation interface org.kiwiproject.validation.FieldRange
- endFieldLabel() - Element in annotation interface org.kiwiproject.validation.FieldRange
- EndpointConfiguration - Class in org.kiwiproject.config
-
Configuration for a specific REST endpoint.
- EndpointConfiguration() - Constructor for class org.kiwiproject.config.EndpointConfiguration
- EndpointConfiguration.Builder - Class in org.kiwiproject.config
-
To use this
EndpointConfiguration.Builderstandalone, use theEndpointConfiguration.builder()method. - ensureIndices(MongoTemplate, Class<?>, Sort.Direction, String...) - Static method in class org.kiwiproject.spring.data.KiwiMongoIndexes
-
Ensure indexes exist for the given collection (defined by
clazz), sort direction, and properties. - ensureIndices(MongoTemplate, String, Sort.Direction, String...) - Static method in class org.kiwiproject.spring.data.KiwiMongoIndexes
-
Ensure indexes exist for the given collection, sort direction, and properties.
- ensurePaginationProperties(PagingRequest) - Static method in class org.kiwiproject.spring.data.PagingRequest
-
Ensure the given
PagingRequesthas pagination properties by providing default values for any null or invalid properties. - ensureReadable() - Element in annotation interface org.kiwiproject.validation.DirectoryPath
-
Whether to verify that the specified directory can be read by the current process.
- ensureWritable() - Element in annotation interface org.kiwiproject.validation.DirectoryPath
-
Whether to verify that the specified directory can be read by the current process.
- enumClass() - Element in annotation interface org.kiwiproject.validation.InEnum
- enumValueOrEmpty(ResultSet, String, Class<T>) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Returns an enum constant of the given type from the specified column in the result set.
- enumValueOrNull(ResultSet, String, Class<T>) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Returns an enum constant of the given type from the specified column in the result set.
- environment(KiwiEnvironment) - Method in class org.kiwiproject.retry.SimpleRetryer.SimpleRetryerBuilder
-
The
KiwiEnvironmentto use when sleeping between retry attempts. - epochMillisFromTimestamp(ResultSet, String) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Convert the timestamp column given by
columnNamein theResultSetto milliseconds from the epoch. - epochMillisFromTimestamp(Timestamp) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Convert the given
Timestampto milliseconds from the epoch. - epochMillisToXMLGregorianCalendar(long) - Static method in class org.kiwiproject.xml.KiwiXmlConverters
-
Converts milliseconds since the epoch to an
XMLGregorianCalendarobject in the default time zone. - epochMillisToXMLGregorianCalendar(long, ZoneId) - Static method in class org.kiwiproject.xml.KiwiXmlConverters
-
Converts milliseconds since the epoch to an
XMLGregorianCalendarobject in the given time zone. - epochMillisToXMLGregorianCalendarUTC(long) - Static method in class org.kiwiproject.xml.KiwiXmlConverters
-
Converts milliseconds since the epoch to an
XMLGregorianCalendarobject in UTC. - EQUAL_MATCH - Enum constant in enum class org.kiwiproject.spring.data.KiwiSpringMongoQueries.PartialMatchType
-
Requires an equal match, and is case-sensitive.
- equals(Enum<E>, CharSequence) - Static method in class org.kiwiproject.base.KiwiEnums
-
Compares the given enum's
namewith the given value for equality. - equals(Object) - Method in record class org.kiwiproject.io.KiwiIO.CloseableResource
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.kiwiproject.jaxrs.exception.ErrorMessage
- equals(Object) - Method in class org.kiwiproject.net.KiwiInternetAddresses.SimpleHostInfo
- equals(Object) - Method in class org.kiwiproject.net.SimpleHostAndPort
- equals(String, String) - Method in class org.kiwiproject.hibernate.usertype.JSONBUserType
- equalsAny(CharSequence, Enum<E>...) - Static method in class org.kiwiproject.base.KiwiEnums
-
Checks whether the given value matches the
nameof the given enums. - equalsAnyIgnoreCase(CharSequence, Enum<E>...) - Static method in class org.kiwiproject.base.KiwiEnums
-
Checks whether the given value matches the
nameof the given enums, ignoring case. - equalsIgnoreCase(Enum<E>, CharSequence) - Static method in class org.kiwiproject.base.KiwiEnums
-
Compares the given enum's
namewith the given value, ignoring case, for equality. - ErrorMessage - Class in org.kiwiproject.jaxrs.exception
-
An error message that kiwi uses in Jakarta REST related utilities.
- ErrorMessage(int, String) - Constructor for class org.kiwiproject.jaxrs.exception.ErrorMessage
-
Create instance with the given HTTP status code and message.
- ErrorMessage(int, String, String) - Constructor for class org.kiwiproject.jaxrs.exception.ErrorMessage
-
Create instance with the given HTTP status code, message, and field/property name.
- ErrorMessage(Response.Status, String) - Constructor for class org.kiwiproject.jaxrs.exception.ErrorMessage
-
Create instance with the given HTTP status and message.
- ErrorMessage(String) - Constructor for class org.kiwiproject.jaxrs.exception.ErrorMessage
-
Create instance with the given message and the default status code (500).
- ErrorMessage(String, int, String, String) - Constructor for class org.kiwiproject.jaxrs.exception.ErrorMessage
-
Create instance with the given item identifier, HTTP status code, message, and field/property name.
- errorPath(String) - Method in class org.kiwiproject.jsch.SftpConfig.SftpConfigBuilder
-
The local directory to write out any errors if SFTP fails.
- exceptionLogLevel(Level) - Method in class org.kiwiproject.retry.KiwiRetryer.KiwiRetryerBuilder
- exceptionPredicate(Predicate<Exception>) - Method in class org.kiwiproject.retry.KiwiRetryer.KiwiRetryerBuilder
- exceptionPredicates(Collection<? extends Predicate<Exception>>) - Method in class org.kiwiproject.retry.KiwiRetryer.KiwiRetryerBuilder
- ExistingObject - Interface in org.kiwiproject.validation.group
-
An opinionated tagging/marker interface for validation of existing (persistent) objects.
- existingObjectGroups() - Static method in class org.kiwiproject.validation.group.KiwiValidationGroups
-
Use this when validating an existing (persistent) object.
- expectationFailed(int) - Static method in class org.kiwiproject.net.KiwiHttpResponses
-
Check if the given status code is 417 Expectation Failed.
- extractAllFrom(String) - Static method in class org.kiwiproject.net.KiwiUrls
-
Extract all the relevant sections from the given
uri. - extractCanonicalNameFrom(String) - Static method in class org.kiwiproject.net.KiwiUrls
-
Extracts the canonical server name from a given URL.
- extractDbName(String) - Static method in class org.kiwiproject.mongo.KiwiMongoDbs
-
Extract the database name component of the given Mongo connection URI.
- extractDbName(URI) - Static method in class org.kiwiproject.mongo.KiwiMongoDbs
-
Extract the database name component of the given Mongo connection URI.
- extractDomainNameFrom(String) - Static method in class org.kiwiproject.net.KiwiUrls
-
Extracts the server's domain name from a given URL.
- extractHostInformation(String) - Static method in class org.kiwiproject.mongo.KiwiMongoDbs
-
Extract the scheme and host information of the given Mongo connection URI.
- extractHostInformation(URI) - Static method in class org.kiwiproject.mongo.KiwiMongoDbs
-
Extract the scheme and host information of the given Mongo connection URI.
- extractMatch(Pattern, String) - Static method in class org.kiwiproject.util.regex.KiwiRegexes
-
Extracts a regex match as a String.
- extractMatches(Pattern, String) - Static method in class org.kiwiproject.util.regex.KiwiRegexes
- extractMatchOrNull(Pattern, String) - Static method in class org.kiwiproject.util.regex.KiwiRegexes
-
Extracts a regex match as a String, or return
nullif no match found. - extractMatchOrThrow(Pattern, String) - Static method in class org.kiwiproject.util.regex.KiwiRegexes
-
Extracts a regex match as a String, or throws an exception if no match found.
- extractPathFrom(String) - Static method in class org.kiwiproject.net.KiwiUrls
-
Extracts the path from a given URL.
- extractPortFrom(String) - Static method in class org.kiwiproject.net.KiwiUrls
-
Extracts the port from a given URL.
- extractSchemeFrom(String) - Static method in class org.kiwiproject.net.KiwiUrls
-
Extracts the scheme from a given URL.
- extractSubDomainNameFrom(String) - Static method in class org.kiwiproject.net.KiwiUrls
-
Extracts the simple server name from a given URL.
- extraFields - Variable in class org.kiwiproject.json.FlexibleJsonModel
F
- f(String, Object...) - Static method in class org.kiwiproject.base.KiwiStrings
-
Alias for
KiwiStrings.format(String, Object...). - failed() - Method in class org.kiwiproject.retry.RetryResult
-
The result failed if this result does not have an object.
- FieldRange - Annotation Interface in org.kiwiproject.validation
-
The annotated type must have two fields that define a valid range, i.e. in the simplest configuration
FieldRange.startField()must come beforeFieldRange.endField(). - FieldRanges - Annotation Interface in org.kiwiproject.validation
-
Holder for multiple
FieldRangeannotations. - FieldRangeValidator - Class in org.kiwiproject.validation
-
Validator class for
FieldRange. - FieldRangeValidator() - Constructor for class org.kiwiproject.validation.FieldRangeValidator
- fifth(List<T>) - Static method in class org.kiwiproject.collect.KiwiLists
-
Return the fifth element in the specified list of items.
- fifth(T[]) - Static method in class org.kiwiproject.collect.KiwiArrays
-
Return the fifth element in the specified array of items.
- FilePath - Annotation Interface in org.kiwiproject.validation
-
The annotated element must point to an existing file.
- FilePathValidator - Class in org.kiwiproject.validation
-
Validates that a string value is a valid path, exists, and is a regular file (not a directory).
- FilePathValidator() - Constructor for class org.kiwiproject.validation.FilePathValidator
- findAccessor(KiwiReflection.Accessor, String, Class<?>, Class<?>...) - Static method in class org.kiwiproject.reflect.KiwiReflection
-
Finds a public accessor method of the given
methodTypefor the specifiedfieldNamein the giventargetClass. - findAccessor(KiwiReflection.Accessor, String, Object, Class<?>...) - Static method in class org.kiwiproject.reflect.KiwiReflection
-
Finds an accessor method of the given
methodTypefor the specifiedfieldNameintarget. - findChildProcessId(long) - Method in class org.kiwiproject.base.process.ProcessHelper
-
For a given parent process id, find one and only one child process.
- findChildProcessIds(long) - Method in class org.kiwiproject.base.process.ProcessHelper
-
For a given parent process id, find any child processes.
- findField(Object, String) - Static method in class org.kiwiproject.reflect.KiwiReflection
-
Find a field by name in the specified target object, whether it is public or not.
- findFirst(Stream<?>, Class<T>) - Static method in class org.kiwiproject.collect.KiwiStreams
-
Find the first object having the given
typeToFindin a stream of objects. - findFirst(Stream<?>, Class<T>, Predicate<T>) - Static method in class org.kiwiproject.collect.KiwiStreams
-
Find the first object having the given
typeToFindand matching the supplied predicate in a stream of objects. - findFirstMatchingAddress(List<String>, List<String>) - Static method in class org.kiwiproject.net.KiwiInternetAddresses
-
Attempts to find the first IP address from a given list of ip addresses that matches one of the given subnet CIDRs.
- findFirstMatchingAddress(List<String>, KiwiInternetAddresses.IpScheme) - Static method in class org.kiwiproject.net.KiwiInternetAddresses
-
Attempts to find the first IP address on the machine that matches one of the given subnet CIDRs.
- findFirstMatchingAddressOrNull(List<String>, List<String>) - Static method in class org.kiwiproject.net.KiwiInternetAddresses
-
Finds the first IP address from a given list of ip addresses that matches one of the given subnet CIDRs or returns null if not found.
- findFirstMatchingAddressOrNull(List<String>, KiwiInternetAddresses.IpScheme) - Static method in class org.kiwiproject.net.KiwiInternetAddresses
-
Finds the first IP address on the machine that matches one of the given subnet CIDRs or returns null if not found.
- findFirstMatchingAddressOrThrow(List<String>, List<String>) - Static method in class org.kiwiproject.net.KiwiInternetAddresses
-
Finds the first IP address on the machine that matches one of the given subnet CIDRs or throws IllegalStateException if not found.
- findFirstMatchingAddressOrThrow(List<String>, KiwiInternetAddresses.IpScheme) - Static method in class org.kiwiproject.net.KiwiInternetAddresses
-
Finds the first IP address on the machine that matches one of the given subnet CIDRs or throws IllegalStateException if not found.
- findFirstOpenPortAbove(int) - Method in class org.kiwiproject.net.LocalPortChecker
-
Find the first open port above the given port (i.e. if port is 1024 then the first port to be checked will be 1025).
- findFirstOpenPortFrom(int) - Method in class org.kiwiproject.net.LocalPortChecker
-
Find the first open port starting at the given port inclusive, i.e. if
portis 1024 then it is the first port checked. - findMatchingAddresses(List<String>, List<String>) - Static method in class org.kiwiproject.net.KiwiInternetAddresses
-
Finds all IP addresses from a given list of ip addresses that matches one of the given subnet CIDRs.
- findMatchingAddresses(List<String>, KiwiInternetAddresses.IpScheme) - Static method in class org.kiwiproject.net.KiwiInternetAddresses
-
Finds all IP addresses on the machine that matches one of the given subnet CIDRs.
- findMethod(Class<?>, String, Class<?>...) - Static method in class org.kiwiproject.reflect.KiwiReflection
-
Finds a public method having the given name and parameter types in the given class.
- findMethodOptionally(Class<?>, String, Class<?>...) - Static method in class org.kiwiproject.reflect.KiwiReflection
-
Finds a public method having the given name and parameter types in the given class.
- findPage(Class<T>) - Method in class org.kiwiproject.spring.data.PagingQuery
-
Finds a specific page for the given type of object, which is assumed to be mapped to a MongoDB collection.
- findPublicAccessorMethods(Class<?>) - Static method in class org.kiwiproject.reflect.KiwiReflection
-
Finds all public accessor methods (
getXxx/isXxxconforming to JavaBeans rules) in the given class (including superclasses). - findPublicAccessorMethods(Object) - Static method in class org.kiwiproject.reflect.KiwiReflection
-
Finds all public accessor methods (
getXxx/isXxxconforming to JavaBeans rules) in the class of the given object (including superclasses). - findPublicMethods(Class<?>, Predicate<Method>) - Static method in class org.kiwiproject.reflect.KiwiReflection
-
Finds all public methods in the given class (including superclasses) that satisfy the given
Predicate. - findPublicMutatorMethods(Class<?>) - Static method in class org.kiwiproject.reflect.KiwiReflection
-
Finds all public mutator methods (
setXxxconforming to JavaBeans rules) in the given class (including superclasses). - findPublicMutatorMethods(Object) - Static method in class org.kiwiproject.reflect.KiwiReflection
-
Finds all public mutator methods (
setXxxconforming to JavaBeans rules) in the class of the given object (including superclasses). - findRandomOpenPort() - Method in class org.kiwiproject.net.LocalPortChecker
-
Find a random open port.
- findRandomOpenPortAbove(int) - Method in class org.kiwiproject.net.LocalPortChecker
-
Find a random open port starting above the given port.
- findRandomOpenPortFrom(int) - Method in class org.kiwiproject.net.LocalPortChecker
-
Find a random open port starting at the given port.
- first(Collection<T>) - Static method in class org.kiwiproject.collect.KiwiCollections
-
Return the first element in the given sequenced collection.
- first(List<T>) - Static method in class org.kiwiproject.collect.KiwiLists
-
Return the first element in the specified list of items.
- first(T[]) - Static method in class org.kiwiproject.collect.KiwiArrays
-
Return the first element in the specified array of items.
- firstIfPresent(Collection<T>) - Static method in class org.kiwiproject.collect.KiwiCollections
-
Returns an
Optionalcontaining the first element in the given sequenced collection, or an empty optional if the collection is null or empty. - firstIfPresent(List<T>) - Static method in class org.kiwiproject.collect.KiwiLists
-
Returns an
Optionalcontaining the first element in specified list of items, or an empty optional if the list is null or empty. - firstIfPresent(T[]) - Static method in class org.kiwiproject.collect.KiwiArrays
-
Returns an
Optionalcontaining the first element in specified array of items, or an empty optional if the array is null or empty. - firstN(List<T>, int) - Static method in class org.kiwiproject.collect.KiwiLists
-
Returns a view of the "first N" elements of the input list.
- firstN(T[], int) - Static method in class org.kiwiproject.collect.KiwiArrays
-
Returns a new array containing the "first N" elements of the input array.
- firstNonNull(T, T, T...) - Static method in class org.kiwiproject.base.KiwiObjects
- firstNonNullOrNull(T, T, T...) - Static method in class org.kiwiproject.base.KiwiObjects
-
Return the first non-null object, or
nullif all are null. - firstNonZero(int, int) - Static method in class org.kiwiproject.base.KiwiPrimitives
-
Returns the first non-zero argument, otherwise throws
IllegalArgumentExceptionif both arguments are zero. - firstNonZero(long, long) - Static method in class org.kiwiproject.base.KiwiPrimitives
-
Returns the first non-zero argument, otherwise throws
IllegalArgumentExceptionif both arguments are zero. - firstSuppliedNonNull(Supplier<T>, Supplier<T>, Supplier<T>...) - Static method in class org.kiwiproject.base.KiwiObjects
- firstSuppliedNonNullOrNull(Supplier<T>, Supplier<T>, Supplier<T>...) - Static method in class org.kiwiproject.base.KiwiObjects
-
Return the first supplied non-null object, or
nullif all suppliers return null. - FlexibleJsonModel - Class in org.kiwiproject.json
-
This class can be used as a base class for situations where there may be additional/unknown properties in a JSON string that don't have a corresponding property in the class being de-serialized into.
- FlexibleJsonModel() - Constructor for class org.kiwiproject.json.FlexibleJsonModel
- forbidden(int) - Static method in class org.kiwiproject.net.KiwiHttpResponses
-
Check if the given status code is 403 Forbidden.
- FORCE_KILL - Enum constant in enum class org.kiwiproject.base.process.KillTimeoutAction
-
The process will be forced killed (e.g. like a
kill -9) after timeout - format(String, Object...) - Static method in class org.kiwiproject.base.KiwiStrings
-
Substitutes each
%sor{}intemplatewith an argument. - formatAsIsoLocalDate(TemporalAccessor) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
-
Converts the given
TemporalAccessorinto a string using theDateTimeFormatter.ISO_LOCAL_DATEformatter. - formatAsIsoLocalDate(Date, ZoneId) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
-
Converts the given
Datein the given time zone into a string using theDateTimeFormatter.ISO_LOCAL_DATEformatter. - formatAsIsoLocalDateTime(LocalDate) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
-
Converts the given
LocalDate(at the start of the day) into a string using theDateTimeFormatter.ISO_LOCAL_DATE_TIMEformatter. - formatAsIsoLocalDateTime(TemporalAccessor) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
-
Converts the given
TemporalAccessor(at the start of the day) into a string using theDateTimeFormatter.ISO_LOCAL_DATE_TIMEformatter. - formatAsIsoLocalDateTime(Date, ZoneId) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
-
Converts the given
Datein the given time zone into a string using theDateTimeFormatter.ISO_LOCAL_DATE_TIMEformatter. - formatAsIsoLocalDateTimeUTC(Date) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
-
Converts the given
Datein the UTC time zone into a string using theDateTimeFormatter.ISO_LOCAL_DATE_TIMEformatter. - formatAsIsoLocalDateUTC(Date) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
-
Converts the given
Datein the UTC time zone into a string using theDateTimeFormatter.ISO_LOCAL_DATEformatter. - formatAsIsoZonedDateTime(LocalDate, ZoneId) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
-
Converts the given
LocalDate(at the start of the day) in the given time zone into a string using theDateTimeFormatter.ISO_ZONED_DATE_TIMEformatter. - formatAsIsoZonedDateTime(LocalDateTime, ZoneId) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
-
Converts the given
LocalDateTimein the given time zone into a string using theDateTimeFormatter.ISO_ZONED_DATE_TIMEformatter. - formatAsIsoZonedDateTime(ZonedDateTime, ZoneId) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
-
Converts the given
ZonedDateTimein the given time zone into a string using theDateTimeFormatter.ISO_ZONED_DATE_TIMEformatter. - formatAsIsoZonedDateTime(Date, ZoneId) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
-
Converts the given
Datein the given time zone into a string using theDateTimeFormatter.ISO_ZONED_DATE_TIMEformatter. - formatAsIsoZonedDateTimeUTC(LocalDate) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
-
Converts the given
LocalDate(at the start of the day) in the UTC time zone into a string using theDateTimeFormatter.ISO_ZONED_DATE_TIMEformatter. - formatAsIsoZonedDateTimeUTC(LocalDateTime) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
-
Converts the given
LocalDateTimein the UTC time zone into a string using theDateTimeFormatter.ISO_ZONED_DATE_TIMEformatter. - formatAsIsoZonedDateTimeUTC(ZonedDateTime) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
-
Converts the given
ZonedDateTimein the UTC time zone into a string using theDateTimeFormatter.ISO_ZONED_DATE_TIMEformatter. - formatAsIsoZonedDateTimeUTC(Date) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
-
Converts the given
Datein the UTC time zone into a string using theDateTimeFormatter.ISO_ZONED_DATE_TIMEformatter. - formatDurationWords(long) - Static method in class org.kiwiproject.time.KiwiDurationFormatters
-
A thin wrapper around
DurationFormatUtils.formatDurationWords(long, boolean, boolean)that always suppresses leading and trailing "zero elements" because why would you want to see "0 days 7 hours 25 minutes 0 seconds" instead of just "7 hours 25 minutes"? - formatDurationWords(Duration) - Static method in class org.kiwiproject.time.KiwiDurationFormatters
-
Formats a Dropwizard
Durationusing English words. - formatDurationWords(Duration) - Static method in class org.kiwiproject.time.KiwiDurationFormatters
-
Formats a Java
Durationusing English words. - formatGuavaStyle(String, Object...) - Static method in class org.kiwiproject.base.KiwiStrings
-
Same as
KiwiStrings.format(String, Object...)assuming Guava-style placeholders. - formatSlf4jJStyle(String, Object...) - Static method in class org.kiwiproject.base.KiwiStrings
-
Same as
KiwiStrings.format(String, Object...)assuming SLF4J-style placeholders. - formatWith(LocalDateTime, ZoneId, DateTimeFormatter) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
-
Converts the given
LocalDateTime(assuming it is in the UTC time zone) into a string using the givenDateTimeFormatter. - formatWith(LocalDateTime, ZoneId, ZoneId, DateTimeFormatter) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
-
Converts the given
LocalDateTime(assuming it is in the givenlocalZoneIdtime zone) into a string using the givenDateTimeFormatter. - formatWith(TemporalAccessor, DateTimeFormatter) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
-
Converts the given
TemporalAccessorinto a string using the givenDateTimeFormatter. - formatWith(ZonedDateTime, ZoneId, DateTimeFormatter) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
-
Converts the given
ZonedDateTimein the given time zone into a string using the givenDateTimeFormatter. - formatWith(Date, ZoneId, DateTimeFormatter) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
-
Converts the given
Datein the given time zone into a string using the givenDateTimeFormatter. - formatWithUTC(Date, DateTimeFormatter) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
-
Converts the given
Datein the UTC time zone into a string using the givenDateTimeFormatter. - forPattern(Pattern) - Static method in exception org.kiwiproject.util.regex.NoMatchesFoundException
-
Factory method to create a new instance with a standardized message for the given
Pattern. - found(int) - Static method in class org.kiwiproject.net.KiwiHttpResponses
-
Check if the given status code is 302 Found.
- fourth(List<T>) - Static method in class org.kiwiproject.collect.KiwiLists
-
Return the fourth element in the specified list of items.
- fourth(T[]) - Static method in class org.kiwiproject.collect.KiwiArrays
-
Return the fourth element in the specified array of items.
- from(boolean) - Static method in enum class org.kiwiproject.spring.data.KiwiSpringMongoQueries.PartialMatchType
-
Convert the given boolean into a
KiwiSpringMongoQueries.PartialMatchType. - from(String) - Static method in enum class org.kiwiproject.jackson.JacksonDataFormat
-
Returns one of the enum constants for the given
formatName, orJacksonDataFormat.UNKNOWNif the format name is not found. - from(String) - Static method in enum class org.kiwiproject.jdbc.SqlOrder
-
Given a string value, return a
SqlOrder, ignoring case and leading/trailing whitespace. - from(String) - Static method in class org.kiwiproject.net.SimpleHostAndPort
-
Parse
hostPortStringassuming formathost:port - from(String, String) - Static method in class org.kiwiproject.net.KiwiInternetAddresses.SimpleHostInfo
-
Create instance from host name and ip address
- from(String, String, int) - Static method in class org.kiwiproject.net.SimpleHostAndPort
-
Parse
hostPortStringassuming formathost:port; if it is blank, use the specifieddefaultHostanddefaultPortvalues to create a linkSimpleHostAndPort. - from(VaultConfiguration, String, String) - Static method in class org.kiwiproject.ansible.vault.VaultEncryptCommand
-
Create an instance.
- from(VaultConfiguration, String, String, String) - Static method in class org.kiwiproject.ansible.vault.VaultEncryptStringCommand
-
Create an instance.
- from(VaultConfiguration, String) - Static method in class org.kiwiproject.ansible.vault.VaultDecryptCommand
-
Create an instance.
- from(VaultConfiguration, String) - Static method in class org.kiwiproject.ansible.vault.VaultEncryptCommand
-
Create an instance.
- from(VaultConfiguration, String) - Static method in class org.kiwiproject.ansible.vault.VaultViewCommand
-
Create an instance.
- from(VaultConfiguration, String, String) - Static method in class org.kiwiproject.ansible.vault.VaultDecryptCommand
- from(VaultConfiguration, String, String) - Static method in class org.kiwiproject.ansible.vault.VaultEncryptStringCommand
-
Create an instance.
- from(VaultConfiguration, String, String) - Static method in class org.kiwiproject.ansible.vault.VaultRekeyCommand
-
Create an instance.
- fromBooleanString(String) - Static method in enum class org.kiwiproject.spring.data.KiwiSpringMongoQueries.PartialMatchType
-
Convert the given string into a
KiwiSpringMongoQueries.PartialMatchType, where "truthy" values are considered to representKiwiSpringMongoQueries.PartialMatchType.PARTIAL_MATCH, and "falsy" values are considered to meanKiwiSpringMongoQueries.PartialMatchType.EQUAL_MATCH. - fromDropwizardTlsConfiguration(TlsConfiguration) - Static method in class org.kiwiproject.config.TlsContextConfiguration
-
Given a Dropwizard
TlsConfiguration, create a newTlsContextConfiguration. - fromInetAddress(InetAddress) - Static method in class org.kiwiproject.net.KiwiInternetAddresses.SimpleHostInfo
-
Create instance from an
InetAddress - fromString(String) - Static method in enum class org.kiwiproject.spring.data.KiwiSort.Direction
-
Converts the given value to a
KiwiSort.Directionin a case-insensitive manner and ignoring leading and trailing whitespace. - FTP_PROTOCOL - Static variable in class org.kiwiproject.net.KiwiUrls
G
- gatewayTimeout(int) - Static method in class org.kiwiproject.net.KiwiHttpResponses
-
Check if the given status code is 504 Gateway Timeout.
- GET - Enum constant in enum class org.kiwiproject.reflect.KiwiReflection.Accessor
-
Getter method for reference types and primitive types, except primitive
booleantypes. - getAndStoreAllFiles(Path, BiFunction<Path, String, Path>, BiFunction<Path, String, String>) - Method in class org.kiwiproject.jsch.SftpTransfers
-
Recursively gets files off of a remote server starting in the given path and stores the files locally in the given path and given filename.
- getAndStoreFile(Path, Path, String) - Method in class org.kiwiproject.jsch.SftpTransfers
-
Gets a file off of a remote server in the given path and with the given filename and stores the file locally in a given path and the original (remote) filename.
- getAndStoreFile(Path, Path, String, String) - Method in class org.kiwiproject.jsch.SftpTransfers
-
Gets a file off of a remote server in the given path and with the given filename and stores the file locally in a given path and the given filename.
- getAndStoreFile(Path, BiFunction<Path, String, Path>, String, BiFunction<Path, String, String>) - Method in class org.kiwiproject.jsch.SftpTransfers
-
Gets a file off of a remote server in the given path and with the given filename and stores the file locally in a given path and the given filename.
- getAnsibleVaultPath() - Method in class org.kiwiproject.ansible.vault.VaultConfiguration
-
Path to the ansible-vault executable.
- getBroadcastAddress() - Method in class org.kiwiproject.net.CidrRange
-
Returns the broadcast address for the CIDR.
- getCachedJAXBContextClasses() - Static method in class org.kiwiproject.xml.KiwiXml
-
Find the classes for which there is a cached
JAXBContext. - getCanonicalName() - Method in class org.kiwiproject.net.KiwiUrls.Components
- getCause() - Method in class org.kiwiproject.base.KiwiThrowables.ThrowableInfo
- getCause() - Method in exception org.kiwiproject.base.UncheckedInterruptedException
-
Returns the cause of this exception.
- getCause() - Method in exception org.kiwiproject.jdbc.UncheckedSQLException
-
Returns the cause of this exception.
- getCause() - Method in exception org.kiwiproject.net.UncheckedMalformedURLException
- getCause() - Method in exception org.kiwiproject.net.UncheckedURISyntaxException
- getCause() - Method in exception org.kiwiproject.security.UncheckedGeneralSecurityException
- getCause() - Method in exception org.kiwiproject.xml.UncheckedJAXBException
-
Returns the cause of this exception.
- getCertAlias() - Method in class org.kiwiproject.config.TlsContextConfiguration
-
The alias of a specific client certificate to present when authenticating.
- getCleanupInterval() - Method in class org.kiwiproject.dropwizard.config.TimeBasedDirectoryCleanerConfig
- getCloseable() - Method in class org.kiwiproject.dropwizard.lifecycle.ManagedCloseable
- getCode() - Method in class org.kiwiproject.jaxrs.exception.ErrorMessage
- getCommonType() - Method in class org.kiwiproject.retry.SimpleRetryerConfig
- getConfiguration() - Method in class org.kiwiproject.jaxrs.client.WebTargetHelper
- getContent() - Method in class org.kiwiproject.spring.data.KiwiPage
-
The content on this specific page.
- getDayOfMonth(Instant) - Static method in class org.kiwiproject.time.KiwiInstants
-
Return the value of the day of the month from
instant. - getDeleteCount() - Method in class org.kiwiproject.io.TimeBasedDirectoryCleaner
-
Returns the total number of deletes this instance has counted.
- getDeleteErrorCount() - Method in class org.kiwiproject.io.TimeBasedDirectoryCleaner
-
Returns the total number of delete errors this instance has counted.
- getDeleteErrorLogLevel() - Method in class org.kiwiproject.dropwizard.config.TimeBasedDirectoryCleanerConfig
- getDirection() - Method in class org.kiwiproject.spring.data.KiwiSort
- getDirectionObject() - Method in class org.kiwiproject.spring.data.KiwiSort
- getDirectoryPath() - Method in class org.kiwiproject.dropwizard.config.TimeBasedDirectoryCleanerConfig
- getDirectoryPath() - Method in class org.kiwiproject.io.TimeBasedDirectoryCleaner
-
Returns the absolute path of the directory being cleaned.
- getDirectoryPath(Class<?>) - Static method in class org.kiwiproject.jar.KiwiJars
-
Get the directory path of the JAR file that the given class lives in, or an empty
Optionalif the path could not be obtained for any reason. - getDomain() - Method in class org.kiwiproject.config.EndpointConfiguration
-
A single domain, or a comma-separated list of domains.
- getDomainName() - Method in class org.kiwiproject.net.KiwiUrls.Components
- getDomains() - Method in class org.kiwiproject.config.EndpointConfiguration
-
Return the domains as a list.
- getEndpointByPathEnding(String) - Method in class org.kiwiproject.config.SecureEndpointsConfiguration
-
Finds the
EndpointConfigurationwith a path ending with the givenpathEnding, throwing an exception if not found. - getEndpointByPathEndingOrEmpty(String) - Method in class org.kiwiproject.config.SecureEndpointsConfiguration
-
Finds the
EndpointConfigurationwith a path ending with the givenpathEnding, returning an empty Optional if not found. - getEndpointByTag(String) - Method in class org.kiwiproject.config.SecureEndpointsConfiguration
-
Finds the
EndpointConfigurationwith the given tag, throwing an exception if not found. - getEndpointByTagOrEmpty(String) - Method in class org.kiwiproject.config.SecureEndpointsConfiguration
-
Finds the
EndpointConfigurationwith the given tag, returning an empty Optional if not found. - getEndpoints() - Method in class org.kiwiproject.config.SecureEndpointsConfiguration
-
The endpoints in this configuration.
- getenv() - Method in class org.kiwiproject.base.DefaultEnvironment
- getenv() - Method in interface org.kiwiproject.base.KiwiEnvironment
-
Returns an unmodifiable string map view of the environment.
- getenv(String) - Method in class org.kiwiproject.base.DefaultEnvironment
- getenv(String) - Method in interface org.kiwiproject.base.KiwiEnvironment
-
Gets the value of the specified environment variable.
- getErrorCode(Throwable) - Static method in exception org.kiwiproject.jaxrs.exception.JaxrsException
-
Determine an "appropriate" HTTP status code for the given
Throwable. - getErrorOrNull() - Method in class org.kiwiproject.json.JsonDetectionResult
-
If an error occurred during the detection process, return it, otherwise return null
- getErrorPath() - Method in class org.kiwiproject.jsch.SftpConfig
-
The local directory to write out any errors if SFTP fails.
- getErrors() - Method in exception org.kiwiproject.jaxrs.exception.JaxrsException
- getErrors() - Method in class org.kiwiproject.retry.RetryResult
- getExceptionMessage() - Method in class org.kiwiproject.io.TimeBasedDirectoryCleaner.DeleteError
- getExceptionType() - Method in class org.kiwiproject.io.TimeBasedDirectoryCleaner.DeleteError
- getExclusions() - Method in class org.kiwiproject.beans.BeanConverter
-
Set of property names to exclude from copying over.
- getExtraFields() - Method in class org.kiwiproject.json.FlexibleJsonModel
-
Returns the "extra" fields that were not explicitly defined as properties when this object was de-serialized from JSON.
- getFactory() - Method in class org.kiwiproject.spring.context.MongoRepositoryContext
-
Direct access to the
MongoRepositoryFactoryin case it is needed for whatever reason. - getFieldName() - Method in class org.kiwiproject.jaxrs.exception.ErrorMessage
- getFieldValue(Object, Field) - Static method in class org.kiwiproject.reflect.KiwiReflection
-
Get the value of a specific field in an object.
- getFieldValue(Object, String) - Static method in class org.kiwiproject.reflect.KiwiReflection
-
Get the value of a specific field in an object.
- getFileContent(Path, String) - Method in class org.kiwiproject.jsch.SftpTransfers
-
Gets a file off of a remote server with the given path and given filename and returns the contents of the file as a
String. - getFileContentAsInputStream(Path, String) - Method in class org.kiwiproject.jsch.SftpTransfers
-
Gets a file off of a remote server with the given path and given filename and returns an
InputStream. - getFileName() - Method in class org.kiwiproject.io.TimeBasedDirectoryCleaner.DeleteError
- getFormatName() - Method in enum class org.kiwiproject.jackson.JacksonDataFormat
- getFuture() - Method in exception org.kiwiproject.concurrent.AsyncException
-
The future which causes the exception.
- getHealthCheckWarningDuration() - Method in class org.kiwiproject.dropwizard.config.TimeBasedDirectoryCleanerConfig
- getHost() - Method in class org.kiwiproject.jsch.SftpConfig
-
The remote host to connect to via SFTP.
- getHost() - Method in class org.kiwiproject.net.SimpleHostAndPort
- getHostName() - Method in class org.kiwiproject.net.KiwiInternetAddresses.SimpleHostInfo
- getHour(Instant) - Static method in class org.kiwiproject.time.KiwiInstants
-
Return the value of the hour from
instant. - getIfPresent(Class<E>, String) - Static method in class org.kiwiproject.base.KiwiEnums
-
Return an optional enum constant for the given enum type and value.
- getIfPresentIgnoreCase(Class<E>, String) - Static method in class org.kiwiproject.base.KiwiEnums
-
Return an optional enum constant for the given enum type and value, compared against the enum constants in a case-insensitive manner, and ignoring any leading or trailing whitespace.
- getInetAddressClass() - Method in enum class org.kiwiproject.net.KiwiInternetAddresses.IpScheme
- getInitialCleanupDelay() - Method in class org.kiwiproject.dropwizard.config.TimeBasedDirectoryCleanerConfig
- getIpAddr() - Method in class org.kiwiproject.net.KiwiInternetAddresses.SimpleHostInfo
- getItemId() - Method in class org.kiwiproject.jaxrs.exception.ErrorMessage
- getKeyManagers(KeyStore, String) - Static method in class org.kiwiproject.security.KiwiSecurity
-
Get the key managers for the given
KeyStoreand key store password using the default algorithm. - getKeyManagers(KeyStore, String, String) - Static method in class org.kiwiproject.security.KiwiSecurity
-
Get the key managers for the given
KeyStore, key store password, and algorithm. - getKeyStore(String, String, String) - Static method in class org.kiwiproject.security.KiwiSecurity
-
Return an
Optionalcontaining aKeyStorefor the givenKeyStoreType, path, and password, or an emptyOptionalif either path or password is null. - getKeyStore(KeyStoreType, String, String) - Static method in class org.kiwiproject.security.KiwiSecurity
-
Return an
Optionalcontaining aKeyStorefor the givenKeyStoreType, path, and password, or an emptyOptionalif either path or password is null. - getKeyStorePassword() - Method in class org.kiwiproject.config.SSLContextConfiguration
- getKeyStorePassword() - Method in class org.kiwiproject.config.TlsContextConfiguration
-
Key store password.
- getKeyStorePassword() - Method in interface org.kiwiproject.security.KeyAndTrustStoreConfigProvider
-
The key store password (plain text).
- getKeyStorePath() - Method in class org.kiwiproject.config.SSLContextConfiguration
- getKeyStorePath() - Method in class org.kiwiproject.config.TlsContextConfiguration
-
Absolute path to the key store.
- getKeyStorePath() - Method in interface org.kiwiproject.security.KeyAndTrustStoreConfigProvider
-
The path to the key store.
- getKeyStoreProvider() - Method in class org.kiwiproject.config.TlsContextConfiguration
-
The name of the provider for the key store, i.e., the value of
providerto use when getting theKeyStoreinstance for the key store. - getKeyStoreType() - Method in class org.kiwiproject.config.SSLContextConfiguration
- getKeyStoreType() - Method in class org.kiwiproject.config.TlsContextConfiguration
-
Key store type.
- getKeyStoreType() - Method in interface org.kiwiproject.security.KeyAndTrustStoreConfigProvider
-
Key store type.
- getKnownHostsFile() - Method in class org.kiwiproject.jsch.SftpConfig
-
The path to the known hosts file.
- getLastAttempt() - Method in exception org.kiwiproject.retry.KiwiRetryerException
-
If the underlying cause is a
RetryExceptionreturn the last failedAttempt. - getLastError() - Method in class org.kiwiproject.retry.RetryResult
-
Assumes there is at least one error, and returns the last one that was thrown regardless of the number of attempts.
- getLastErrorIfPresent() - Method in class org.kiwiproject.retry.RetryResult
-
Returns an
Optionalthat contains the last error if this result has any errors, otherwise empty. - getLimit() - Method in interface org.kiwiproject.spring.data.PagingParams
- getLimit() - Method in class org.kiwiproject.spring.data.PagingRequest
-
The page size limit.
- getLocalHostInetAddress() - Static method in class org.kiwiproject.net.KiwiInternetAddresses
-
Get local host as an optional of
InetAddress - getLocalHostInetAddress(InetAddress) - Static method in class org.kiwiproject.net.KiwiInternetAddresses
-
Get local host as a
InetAddress. - getLocalHostInetAddress(Supplier<InetAddress>) - Static method in class org.kiwiproject.net.KiwiInternetAddresses
-
Get local host as a
InetAddress. - getLocalHostInfo() - Static method in class org.kiwiproject.net.KiwiInternetAddresses
-
Get local host as an optional of
KiwiInternetAddresses.SimpleHostInfo. - getLocalHostInfo(Supplier<KiwiInternetAddresses.SimpleHostInfo>) - Static method in class org.kiwiproject.net.KiwiInternetAddresses
-
Get local host as a
KiwiInternetAddresses.SimpleHostInfo. - getLocalHostInfo(KiwiInternetAddresses.SimpleHostInfo) - Static method in class org.kiwiproject.net.KiwiInternetAddresses
-
Get local host as a
KiwiInternetAddresses.SimpleHostInfo. - getLockWaitDuration() - Method in class org.kiwiproject.concurrent.TryLocker
-
Return the maximum lock wait time as a
Duration. - getLockWaitTime() - Method in class org.kiwiproject.concurrent.TryLocker
- getLockWaitTimeUnit() - Method in class org.kiwiproject.concurrent.TryLocker
- getLogLevelForSubsequentAttempts() - Method in class org.kiwiproject.retry.SimpleRetryerConfig
- getMappers() - Method in class org.kiwiproject.beans.BeanConverter
-
Custom mappers that map specific field names to a function that will accept the data and convert it to the new value.
- getMaskedFieldRegexps() - Method in class org.kiwiproject.json.PropertyMaskingOptions
-
Regular expressions that define that field names to be masked, e.g.
- getMaskedFieldReplacementText() - Method in class org.kiwiproject.json.PropertyMaskingOptions
-
The replacement text for masked field values.
- getMaxAttempts() - Method in class org.kiwiproject.retry.RetryResult
- getMaxAttempts() - Method in class org.kiwiproject.retry.SimpleRetryerConfig
- getMessage() - Method in class org.kiwiproject.base.KiwiThrowables.ThrowableInfo
- getMessage() - Method in class org.kiwiproject.jaxrs.exception.ErrorMessage
- getMinimumPageNumber() - Method in enum class org.kiwiproject.search.KiwiSearching.PageNumberingScheme
- getMinute(Instant) - Static method in class org.kiwiproject.time.KiwiInstants
-
Return the value of the minute from
instant. - getMongoTemplate() - Method in class org.kiwiproject.spring.context.MongoRepositoryContext
-
The
MongoTemplateinitialized by this context. - getMonth(Instant) - Static method in class org.kiwiproject.time.KiwiInstants
-
Return the
Monthfrominstant. - getMonthValue(Instant) - Static method in class org.kiwiproject.time.KiwiInstants
-
Return the value of the month (1-12) from
instant. - getNameAndNamespace(Class<?>) - Static method in class org.kiwiproject.xml.KiwiXml
-
Extract XML name and namespace from the given class, assuming it is annotated with
XmlType. - getNetworkAddress() - Method in class org.kiwiproject.net.CidrRange
-
Returns the network address for the CIDR.
- getNumAttemptsMade() - Method in class org.kiwiproject.retry.RetryResult
- getNumber() - Method in class org.kiwiproject.spring.data.KiwiPage
-
The number of this page, e.g. page X of Y.
- getNumbering() - Method in interface org.kiwiproject.spring.data.PagingParams
- getNumbering() - Method in class org.kiwiproject.spring.data.PagingRequest
-
The page numbering scheme used by this paging request.
- getNumberOfElements() - Method in class org.kiwiproject.spring.data.KiwiPage
-
The number of items/elements on this page.
- getNumberOfFailedAttempts() - Method in exception org.kiwiproject.retry.KiwiRetryerException
-
If the underlying cause is a
RetryExceptionreturn the number of failedAttempts. - getNumberOfRecentDeleteErrors() - Method in class org.kiwiproject.io.TimeBasedDirectoryCleaner
-
Returns the number of recent delete errors currently stored in memory.
- getNumErrors() - Method in class org.kiwiproject.retry.RetryResult
-
The number of failed attempts, which can be zero up to the maximum number of attempts.
- getObject() - Method in class org.kiwiproject.retry.RetryResult
-
Assumes there is an object and returns it, otherwise throws an exception.
- getObjectIfPresent() - Method in class org.kiwiproject.retry.RetryResult
-
Returns an
Optionalthat contains the object if this result was successful, otherwise it will be empty. - getObjectMapper() - Method in class org.kiwiproject.json.JsonHelper
-
Provides direct access to the underlying object mapper.
- getOrThrow(Map<K, V>, K) - Static method in class org.kiwiproject.collect.KiwiMaps
-
Returns the value to which the specified key is mapped.
- getOrThrow(Map<K, V>, K, Supplier<E>) - Static method in class org.kiwiproject.collect.KiwiMaps
-
Returns the value to which the specified key is mapped.
- getOrThrowChecked(Map<K, V>, K, Supplier<E>) - Static method in class org.kiwiproject.collect.KiwiMaps
-
Returns the value to which the specified key is mapped.
- getOtherData() - Method in exception org.kiwiproject.jaxrs.exception.JaxrsException
- getPage() - Method in interface org.kiwiproject.spring.data.PagingParams
- getPage() - Method in class org.kiwiproject.spring.data.PagingRequest
-
The page number.
- getPageNumber() - Method in interface org.kiwiproject.search.PaginatedResult
-
The page number of this result.
- getPageNumberError() - Method in enum class org.kiwiproject.search.KiwiSearching.PageNumberingScheme
- getPageSize() - Method in interface org.kiwiproject.search.PaginatedResult
-
The page size being used to paginate the search results.
- getPagingStartsWith() - Method in class org.kiwiproject.spring.data.KiwiPage
-
Allows adjustment for instances where pagination starts with one instead of zero.
- getPassword() - Method in class org.kiwiproject.jsch.SftpConfig
-
The password, only used if password authentication is used.
- getPath() - Method in class org.kiwiproject.config.EndpointConfiguration
-
The path component of the URI.
- getPath() - Method in class org.kiwiproject.net.KiwiUrls.Components
- getPath(Class<?>) - Static method in class org.kiwiproject.jar.KiwiJars
-
Get the path of the JAR file that the given class lives in, or an empty
Optionalif the path could not be obtained for any reason. - getPath(Object, String, TypeReference<T>) - Method in class org.kiwiproject.json.JsonHelper
-
Get the value at the given path in the object, with the type as the given target class.
- getPath(Object, String, Class<T>) - Method in class org.kiwiproject.json.JsonHelper
-
Get the value at the given path in the object, with the type as the given target class.
- getPath(String, String, TypeReference<T>) - Method in class org.kiwiproject.json.JsonHelper
-
Get the value at the given path in the JSON, with the type as the given target class.
- getPath(String, String, Class<T>) - Method in class org.kiwiproject.json.JsonHelper
-
Get the value at the given path in the JSON, with the type as the given target class.
- getPathComponents(Class<?>) - Static method in class org.kiwiproject.jar.KiwiJars
-
Get the path components of the JAR file path that the given class lives in, or an empty list if the path components could not be obtained.
- getPathPrefix() - Method in class org.kiwiproject.config.UrlRewriteConfiguration
-
If specified, then URIs/URLs generated by
EndpointConfigurationwill include this prefix, e.g. - getPgrepFlags() - Static method in class org.kiwiproject.base.process.Processes
-
Returns the pgrep flags that
Processeswill use in all pgrep methods. - getPort() - Method in class org.kiwiproject.config.EndpointConfiguration
-
The port the endpoint listens on.
- getPort() - Method in class org.kiwiproject.jsch.SftpConfig
-
The SFTP port.
- getPort() - Method in class org.kiwiproject.net.KiwiUrls.Components
- getPort() - Method in class org.kiwiproject.net.SimpleHostAndPort
- getPreferredAuthentications() - Method in class org.kiwiproject.jsch.SftpConfig
-
The comma-separated list of preferred authentication mechanisms.
- getPrimaryDirection() - Method in interface org.kiwiproject.spring.data.PagingParams
- getPrimaryDirection() - Method in class org.kiwiproject.spring.data.PagingRequest
-
The primary sort direction.
- getPrimarySort() - Method in interface org.kiwiproject.spring.data.PagingParams
- getPrimarySort() - Method in class org.kiwiproject.spring.data.PagingRequest
-
The primary sort property.
- getPrivateKeyFilePath() - Method in class org.kiwiproject.jsch.SftpConfig
-
The path to the private key file, only used if public key authentication is used.
- getProperties() - Method in class org.kiwiproject.base.DefaultEnvironment
- getProperties() - Method in interface org.kiwiproject.base.KiwiEnvironment
-
Returns the current system properties.
- getProperty() - Method in class org.kiwiproject.spring.data.KiwiSort
- getProperty(String) - Method in class org.kiwiproject.base.DefaultEnvironment
- getProperty(String) - Method in interface org.kiwiproject.base.KiwiEnvironment
-
Gets the system property indicated by the specified key.
- getProperty(String, String) - Method in class org.kiwiproject.base.DefaultEnvironment
- getProperty(String, String) - Method in interface org.kiwiproject.base.KiwiEnvironment
-
Gets the system property indicated by the specified key.
- getPropertyMapper(String) - Method in class org.kiwiproject.beans.BeanConverter
-
Get the property mapper function for a specific property name.
- getPropertySet(T, BeanWrapper) - Method in class org.kiwiproject.beans.BeanConverter
- getPropertyValue(Object, String) - Static method in class org.kiwiproject.validation.KiwiValidations
-
Finds the value of the specified property by direct field access.
- getProtocol() - Method in class org.kiwiproject.config.SSLContextConfiguration
- getProtocol() - Method in class org.kiwiproject.config.TlsContextConfiguration
-
The TLS/SSL protocol to use.
- getProtocol() - Method in interface org.kiwiproject.security.TrustStoreConfigProvider
-
The protocol to use.
- getProvider() - Method in class org.kiwiproject.config.TlsContextConfiguration
-
The name of the JCE (Java Cryptography Extension) provider to use on the client side for cryptographic support (for example, SunJCE, Conscrypt, BC, etc.).
- getRecentDeleteErrors() - Method in class org.kiwiproject.io.TimeBasedDirectoryCleaner
-
Returns all the recent delete failures stored in memory.
- getRemoteBasePath() - Method in class org.kiwiproject.jsch.SftpConfig
-
The root directory of the remote SFTP location, provided as a convenience to store the remote path in the same place as the other SFTP properties.
- getRepository(Class<T>) - Method in class org.kiwiproject.spring.context.MongoRepositoryContext
-
Get a MongoRepository having the given class.
- getResults() - Method in class org.kiwiproject.spring.data.AggregateResult
- getResultUuid() - Method in class org.kiwiproject.retry.RetryResult
- getRetentionThreshold() - Method in class org.kiwiproject.dropwizard.config.TimeBasedDirectoryCleanerConfig
- getRetentionThreshold() - Method in class org.kiwiproject.io.TimeBasedDirectoryCleaner
-
Returns the retention threshold as a
Duration - getRetentionThresholdDescription() - Method in class org.kiwiproject.io.TimeBasedDirectoryCleaner
- getRetryDelayTime() - Method in class org.kiwiproject.retry.SimpleRetryerConfig
- getRetryDelayUnit() - Method in class org.kiwiproject.retry.SimpleRetryerConfig
- getRollUpStatus() - Method in exception org.kiwiproject.jaxrs.exception.JaxrsException
-
Calculates an overall status code as the "roll up" of the status codes in the ErrorMessage objects contained in this exception.
- getScheme() - Method in class org.kiwiproject.config.EndpointConfiguration
-
The connection scheme, e.g. https or https.
- getScheme() - Method in class org.kiwiproject.net.KiwiUrls.Components
- getSecond(Instant) - Static method in class org.kiwiproject.time.KiwiInstants
-
Return the value of the second from
instant. - getSecondaryDirection() - Method in interface org.kiwiproject.spring.data.PagingParams
- getSecondaryDirection() - Method in class org.kiwiproject.spring.data.PagingRequest
-
The secondary sort direction.
- getSecondarySort() - Method in interface org.kiwiproject.spring.data.PagingParams
- getSecondarySort() - Method in class org.kiwiproject.spring.data.PagingRequest
-
The secondary sort property.
- getSerializationErrorReplacementText() - Method in class org.kiwiproject.json.PropertyMaskingOptions
-
The replacement text for serialization errors.
- getSize() - Method in class org.kiwiproject.spring.data.KiwiPage
-
The size limit of the pagination, for example each page can have up to 25 items.
- getSort() - Method in class org.kiwiproject.spring.data.KiwiPage
-
Describes any sort that is active for the pagination.
- getSortDirection() - Method in interface org.kiwiproject.search.Sorted
-
Defines a general sort direction, which will usually by something like "asc" or "desc" but can be customized however an application likes.
- getSpringContext() - Method in class org.kiwiproject.spring.context.MongoRepositoryContext
-
The Spring application context used by this instance, in case it is needed for whatever reason.
- getSqlType() - Method in class org.kiwiproject.hibernate.usertype.JSONBUserType
- getSslContext() - Method in class org.kiwiproject.security.SimpleSSLContextFactory
-
Create/get a
SSLContextinstance for the key and trust store properties and protocol that thisSimpleSSLContextFactoryinstance was built with. - getStackTrace() - Method in class org.kiwiproject.base.KiwiThrowables.ThrowableInfo
- getStatusCode() - Method in exception org.kiwiproject.jaxrs.exception.JaxrsException
- getSubDomainName() - Method in class org.kiwiproject.net.KiwiUrls.Components
- getSupportedCiphers() - Method in class org.kiwiproject.config.TlsContextConfiguration
-
A list of cipher suites (e.g., TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256) which are supported.
- getSupportedProtocols() - Method in class org.kiwiproject.config.TlsContextConfiguration
-
List of supported protocols.
- getTag() - Method in class org.kiwiproject.config.EndpointConfiguration
-
Use this to uniquely identify an endpoint within a
SecureEndpointsConfiguration, or to provide a way to find anEndpointConfigurationin any collection of them, e.g. using aStream.filter(Predicate)on a stream of endpoint configurations. - getTempDirectory() - Method in class org.kiwiproject.ansible.vault.VaultConfiguration
-
A temporary directory that is used to store encrypted content when decrypting string variables via the
ansible-vault encrypt_stringcommand. - getTimeout() - Method in class org.kiwiproject.jsch.SftpConfig
-
SFTP connection timeout.
- getTimestamp() - Method in class org.kiwiproject.io.TimeBasedDirectoryCleaner.DeleteError
- getTotalCount() - Method in interface org.kiwiproject.search.PaginatedResult
-
The total number of results, though a
PaginatedResultinstance will contain only a subset of the total. - getTotalCount() - Method in class org.kiwiproject.spring.data.AggregateResult
- getTotalElements() - Method in class org.kiwiproject.spring.data.KiwiPage
-
The total number of items/elements in the overall result list.
- getTotalPages() - Method in class org.kiwiproject.spring.data.KiwiPage
-
The total number of pages, calculated from the page size and total number of elements.
- getTrustManagers(KeyStore) - Static method in class org.kiwiproject.security.KiwiSecurity
-
Get the trust managers for the given trust store using the default algorithm.
- getTrustManagers(KeyStore, String) - Static method in class org.kiwiproject.security.KiwiSecurity
-
Get the trust managers for the given trust store and algorithm.
- getTrustStorePassword() - Method in class org.kiwiproject.config.SSLContextConfiguration
- getTrustStorePassword() - Method in class org.kiwiproject.config.TlsContextConfiguration
-
Trust store password.
- getTrustStorePassword() - Method in interface org.kiwiproject.security.TrustStoreConfigProvider
-
The trust store password (plain text).
- getTrustStorePath() - Method in class org.kiwiproject.config.SSLContextConfiguration
- getTrustStorePath() - Method in class org.kiwiproject.config.TlsContextConfiguration
-
Absolute path to the trust store.
- getTrustStorePath() - Method in interface org.kiwiproject.security.TrustStoreConfigProvider
-
The path to the trust store.
- getTrustStoreProvider() - Method in class org.kiwiproject.config.TlsContextConfiguration
-
The name of the provider for the trust store, i.e., the value of
providerto use when getting theKeyStoreinstance for the trust store. - getTrustStoreType() - Method in class org.kiwiproject.config.SSLContextConfiguration
- getTrustStoreType() - Method in class org.kiwiproject.config.TlsContextConfiguration
-
Trust store type.
- getTrustStoreType() - Method in interface org.kiwiproject.security.TrustStoreConfigProvider
-
Trust store type.
- getType() - Method in class org.kiwiproject.base.KiwiThrowables.ThrowableInfo
- getTypedFieldValue(Object, Field, Class<T>) - Static method in class org.kiwiproject.reflect.KiwiReflection
-
Get the value of a specific field in an object, cast to the specified type.
- getTypedFieldValue(Object, String, Class<T>) - Static method in class org.kiwiproject.reflect.KiwiReflection
-
Get the value of a specific field in an object, cast to the specified type.
- getUnexpectedPaths() - Method in class org.kiwiproject.json.LoggingDeserializationProblemHandler
-
Return the unique unexpected paths in the format
className -> propertyName. - getUnexpectedPropertyPaths() - Method in class org.kiwiproject.json.LoggingDeserializationProblemHandler
-
Return the unique unexpected paths in the format
className.propertyName. - getUniqueErrorTypes() - Method in class org.kiwiproject.retry.RetryResult
-
Return a set containing the unique error types in this result.
- getUnknownPropertyCount() - Method in class org.kiwiproject.json.LoggingDeserializationProblemHandler
-
Current total count of unique unknown properties.
- getUri() - Method in class org.kiwiproject.jaxrs.client.WebTargetHelper
- getURI() - Method in class org.kiwiproject.config.EndpointConfiguration
-
Uses this endpoint's
pathto build a URI as a String. - getUriBuilder() - Method in class org.kiwiproject.jaxrs.client.WebTargetHelper
- getUriObject() - Method in class org.kiwiproject.config.EndpointConfiguration
-
Uses this endpoint's
pathto build aURI. - getUrlRewriteConfiguration() - Method in class org.kiwiproject.config.EndpointConfiguration
-
Configures any URI rewriting that should be performed when building URIs.
- getUser() - Method in class org.kiwiproject.jsch.SftpConfig
-
The remote user to connect with via SFTP.
- getValidator() - Static method in class org.kiwiproject.validation.KiwiValidations
-
Return the re-usable (singleton) Validator instance.
- getValue() - Method in enum class org.kiwiproject.security.KeyStoreType
-
The keystore type as a String which can be directly supplied to
KeyStore.getInstance(String). - getValue() - Method in enum class org.kiwiproject.security.SSLContextProtocol
-
The protocol name that can be directly supplied to
SSLContext.getInstance(String). - getVaultPasswordFilePath() - Method in class org.kiwiproject.ansible.vault.VaultConfiguration
-
Path to the file containing passwords to use when encrypting and decrypting with ansible-vault.
- getYear(Instant) - Static method in class org.kiwiproject.time.KiwiInstants
-
Return the value of the year from
instant. - gone(int) - Static method in class org.kiwiproject.net.KiwiHttpResponses
-
Check if the given status code is 410 Gone.
- groups() - Element in annotation interface org.kiwiproject.validation.DirectoryPath
- groups() - Element in annotation interface org.kiwiproject.validation.FieldRange
- groups() - Element in annotation interface org.kiwiproject.validation.FilePath
- groups() - Element in annotation interface org.kiwiproject.validation.InEnum
- groups() - Element in annotation interface org.kiwiproject.validation.IntValue
- groups() - Element in annotation interface org.kiwiproject.validation.Ipv4Address
- groups() - Element in annotation interface org.kiwiproject.validation.Ipv4AndPort
- groups() - Element in annotation interface org.kiwiproject.validation.LongValue
- groups() - Element in annotation interface org.kiwiproject.validation.Range
- groups() - Element in annotation interface org.kiwiproject.validation.Required
H
- handleExceptionSafely(Exception) - Method in interface org.kiwiproject.base.CatchingRunnable
-
Handle an exception thrown by
CatchingRunnable.runSafely(). - handleUnknownProperty(DeserializationContext, JsonParser, JsonDeserializer<?>, Object, String) - Method in class org.kiwiproject.json.LoggingDeserializationProblemHandler
- hasAnyErrors() - Method in class org.kiwiproject.retry.RetryResult
-
Did any attempts fail with an exception?
- hasCause() - Method in class org.kiwiproject.base.KiwiThrowables.ThrowableInfo
- hasDetectionResult() - Method in class org.kiwiproject.json.JsonDetectionResult
-
Whether format detection succeeded in determining a positive or negative result.
- hasError() - Method in class org.kiwiproject.json.JsonDetectionResult
-
Whether format detection caught an exception during the detection process.
- hasFamily(Response, Response.Status.Family) - Static method in class org.kiwiproject.jaxrs.KiwiResponses
-
Check if the given response has the expected family.
- hasFuture() - Method in exception org.kiwiproject.concurrent.AsyncException
-
Does this AsyncException contain a future?
- hashCode() - Method in record class org.kiwiproject.io.KiwiIO.CloseableResource
-
Returns a hash code value for this object.
- hashCode() - Method in class org.kiwiproject.jaxrs.exception.ErrorMessage
- hashCode() - Method in class org.kiwiproject.net.KiwiInternetAddresses.SimpleHostInfo
- hashCode() - Method in class org.kiwiproject.net.SimpleHostAndPort
- hashCode(String) - Method in class org.kiwiproject.hibernate.usertype.JSONBUserType
- hasMessage() - Method in class org.kiwiproject.base.KiwiThrowables.ThrowableInfo
- hasMoreThanOneAttempt() - Method in class org.kiwiproject.retry.RetryResult
-
Whether more than one attempt was made to retrieve the object.
- hasObject() - Method in class org.kiwiproject.retry.RetryResult
-
Does this result have an object that was successfully retrieved before the maximum number of attempts?
- hasOneElement(Collection<T>) - Static method in class org.kiwiproject.collect.KiwiCollections
-
Checks whether the specified collection is non-null and has only one item.
- hasOneElement(List<T>) - Static method in class org.kiwiproject.collect.KiwiLists
-
Checks whether the specified list is non-null and has only one item.
- hasOneElement(Set<T>) - Static method in class org.kiwiproject.collect.KiwiSets
-
Checks whether the specified set is non-null and has only one item.
- hasOneElement(T[]) - Static method in class org.kiwiproject.collect.KiwiArrays
-
Checks whether the specified array is non-null and has only one item.
- hasPaginationProperties() - Method in interface org.kiwiproject.spring.data.PagingParams
-
Check if all pagination properties exist.
- hasPrimarySort() - Method in interface org.kiwiproject.spring.data.PagingParams
-
Check if there is a primary sort.
- hasPropertyMapper(String) - Method in class org.kiwiproject.beans.BeanConverter
-
Checks to see if a property mapper exists for a given property name
- hasSecondarySort() - Method in interface org.kiwiproject.spring.data.PagingParams
-
Check if there is a secondary sort.
- hasSort() - Method in interface org.kiwiproject.spring.data.PagingParams
-
Check if there is a primary or secondary sort.
- hasStatus(Response, Response.Status) - Static method in class org.kiwiproject.jaxrs.KiwiResponses
-
Check if the given response has the expected status.
- hasSuccessfulExitCode(Process) - Static method in class org.kiwiproject.base.process.Processes
-
Check if the given
Processhas an exit code representing successful termination. - HEALTH_CHECK_EXECUTOR - Static variable in class org.kiwiproject.dropwizard.metrics.health.TimedHealthCheck
- higherVersion(String, String) - Static method in class org.kiwiproject.base.Versions
-
Given two versions, return the higher version
- host(String) - Method in class org.kiwiproject.jsch.SftpConfig.SftpConfigBuilder
-
The remote host to connect to via SFTP.
- hostAndPortFrom(String) - Static method in class org.kiwiproject.net.KiwiInternetAddresses
-
Returns a
HostAndPortfrom the given URL. - hostAndPortFrom(URL) - Static method in class org.kiwiproject.net.KiwiInternetAddresses
-
Returns a
HostAndPortfrom the given URL. - hostName(String) - Method in class org.kiwiproject.net.KiwiInternetAddresses.SimpleHostInfo.SimpleHostInfoBuilder
- HTTP_PROTOCOL - Static variable in class org.kiwiproject.net.KiwiUrls
- HTTPS_PROTOCOL - Static variable in class org.kiwiproject.net.KiwiUrls
- httpVersionNotSupported(int) - Static method in class org.kiwiproject.net.KiwiHttpResponses
-
Check if the given status code is 505 HTTP Version Not Supported.
- humanize(Path) - Static method in class org.kiwiproject.validation.KiwiConstraintViolations
-
Transforms the given property path into a human-readable version.
- humanize(Path, String) - Static method in class org.kiwiproject.validation.KiwiConstraintViolations
-
Transforms the give property path into a human-readable version.
I
- iAmATeapot(int) - Static method in class org.kiwiproject.net.KiwiHttpResponses
-
Check if the given status code is 418 I'm a teapot.
- ifPresentOrElseThrow(Optional<T>, Consumer<? super T>, Supplier<? extends RuntimeException>) - Static method in class org.kiwiproject.base.Optionals
-
Takes an action if the
optionalis present, otherwise throws aRuntimeExceptionthat is created by the givenSupplier. - ifPresentOrElseThrowChecked(Optional<T>, Consumer<? super T>, Supplier<E>) - Static method in class org.kiwiproject.base.Optionals
-
Takes an action if the
optionalis present, otherwise throws a checked exception that is created by the givenSupplier. - IGNORE_NULLS - Enum constant in enum class org.kiwiproject.json.JsonHelper.MergeOption
-
This option will ignore null values in an update object.
- ignoreCase() - Element in annotation interface org.kiwiproject.validation.InEnum
-
Whether to ignore case.
- ignoringCase() - Method in class org.kiwiproject.spring.data.KiwiSort
-
Specifies that the sort is not case-sensitive, i.e. it ignores case.
- IllegalArgumentExceptionMapper - Class in org.kiwiproject.jaxrs.exception
-
Map
IllegalArgumentExceptiontoResponse. - IllegalArgumentExceptionMapper() - Constructor for class org.kiwiproject.jaxrs.exception.IllegalArgumentExceptionMapper
- IllegalStateExceptionMapper - Class in org.kiwiproject.jaxrs.exception
-
Map
IllegalStateExceptiontoResponse. - IllegalStateExceptionMapper() - Constructor for class org.kiwiproject.jaxrs.exception.IllegalStateExceptionMapper
- indicesOf(List<T>) - Static method in class org.kiwiproject.stream.IntStreams
- InEnum - Annotation Interface in org.kiwiproject.validation
-
The annotated element must have a value in the specified enum class.
- InEnumValidator - Class in org.kiwiproject.validation
-
Validates that a string value is in the list of enum constants, or a value derived from an enum constant.
- InEnumValidator() - Constructor for class org.kiwiproject.validation.InEnumValidator
- informational(int) - Static method in class org.kiwiproject.net.KiwiHttpResponses
-
Check if the given status code is in the informational family (1xx codes).
- informational(Response) - Static method in class org.kiwiproject.jaxrs.KiwiResponses
-
Check if the given response is in the INFORMATIONAL (1xx codes) family.
- initialize(DirectoryPath) - Method in class org.kiwiproject.validation.DirectoryPathValidator
- initialize(FieldRange) - Method in class org.kiwiproject.validation.FieldRangeValidator
- initialize(FilePath) - Method in class org.kiwiproject.validation.FilePathValidator
- initialize(InEnum) - Method in class org.kiwiproject.validation.InEnumValidator
- initialize(IntValue) - Method in class org.kiwiproject.validation.IntValueValidator
- initialize(Ipv4Address) - Method in class org.kiwiproject.validation.Ipv4AddressValidator
- initialize(Ipv4AndPort) - Method in class org.kiwiproject.validation.Ipv4AndPortValidator
- initialize(LongValue) - Method in class org.kiwiproject.validation.LongValueValidator
- initialize(Range) - Method in class org.kiwiproject.validation.RangeValidator
- initialize(Required) - Method in class org.kiwiproject.validation.RequiredValidator
- initializeMongoTemplate(String) - Static method in class org.kiwiproject.spring.context.MongoRepositoryContext
-
Convenience method to initialize a new
MongoTemplatefrom the given MongoDB connection string. - initialSleepTimeAmount(long) - Method in class org.kiwiproject.retry.KiwiRetryer.KiwiRetryerBuilder
- initialSleepTimeUnit(TimeUnit) - Method in class org.kiwiproject.retry.KiwiRetryer.KiwiRetryerBuilder
- InstantEpochTimeSerializer - Class in org.kiwiproject.jackson.ser
-
Jackson serializer that converts an
Instantinto milliseconds since the epoch. - InstantEpochTimeSerializer() - Constructor for class org.kiwiproject.jackson.ser.InstantEpochTimeSerializer
-
Create a new instance that serializes
Instantto epoch millis. - instantFromTimestamp(ResultSet, String) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
- instantFromTimestamp(Timestamp) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
- instantToXMLGregorianCalendar(Instant) - Static method in class org.kiwiproject.xml.KiwiXmlConverters
-
Converts an
Instantobject to anXMLGregorianCalendarin the default time zone. - instantToXMLGregorianCalendar(Instant, ZoneId) - Static method in class org.kiwiproject.xml.KiwiXmlConverters
-
Converts an
Instantobject to anXMLGregorianCalendarin the given time zone. - instantToXMLGregorianCalendarUTC(Instant) - Static method in class org.kiwiproject.xml.KiwiXmlConverters
-
Converts an
Instantobject to anXMLGregorianCalendarin UTC. - internalServerError(int) - Static method in class org.kiwiproject.net.KiwiHttpResponses
-
Check if the given status code is 500 Internal Server Error.
- internalServerError(Response) - Static method in class org.kiwiproject.jaxrs.KiwiResponses
-
Check if the given response has status 500 Internal Server Error.
- IntStreams - Class in org.kiwiproject.stream
-
Static utilities related to
IntStream. - IntValue - Annotation Interface in org.kiwiproject.validation
-
The annotated element must have a value that can be converted to a Java int or
Integer. - intValueOrNull(ResultSet, String) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Simplifies the JDBC silliness whereby getting an int value that is actually
nullreturns zero, and you have to check if the last value was actuallynullusing theResultSet.wasNull()method. - IntValueValidator - Class in org.kiwiproject.validation
-
Validates that a string value is an integer value, i.e. that it can be converted to an int or
Integer. - IntValueValidator() - Constructor for class org.kiwiproject.validation.IntValueValidator
- invokeExpectingReturn(Method, Object, Class<T>, Object...) - Static method in class org.kiwiproject.reflect.KiwiReflection
-
Invokes a method on an object expecting a return value of a specific type.
- invokeExpectingReturn(Method, Object, Object...) - Static method in class org.kiwiproject.reflect.KiwiReflection
-
Invokes a method on an object expecting a return value.
- invokeMutatorMethodsWithNull(Object) - Static method in class org.kiwiproject.reflect.KiwiReflection
-
Finds public mutator methods for the given object, then for reference types invokes the mutator supplying
nullas the argument. - invokeMutatorMethodsWithNullIgnoringProperties(Object, String...) - Static method in class org.kiwiproject.reflect.KiwiReflection
-
Finds public mutator methods for the given object, then for reference types invokes the mutator supplying
nullas the argument except for property names contained inproperties. - invokeMutatorMethodsWithNullIncludingOnlyProperties(Object, String...) - Static method in class org.kiwiproject.reflect.KiwiReflection
-
Finds public mutator methods for the given object, then for reference types invokes the mutator supplying
nullas the argument including only the property names contained inproperties. - invokeMutatorMethodsWithNullSatisfying(Object, Predicate<Method>) - Static method in class org.kiwiproject.reflect.KiwiReflection
-
Finds public mutator methods for the given object, then for reference types invokes the mutator supplying
nullas the argument including only methods that satisfy the givenPredicate. - invokeVoidReturn(Method, Object, Object...) - Static method in class org.kiwiproject.reflect.KiwiReflection
-
Invokes a method on an object expecting no return value.
- ipAddr(String) - Method in class org.kiwiproject.net.KiwiInternetAddresses.SimpleHostInfo.SimpleHostInfoBuilder
- IPV4 - Enum constant in enum class org.kiwiproject.net.KiwiInternetAddresses.IpScheme
- Ipv4Address - Annotation Interface in org.kiwiproject.validation
-
The annotated element must have a value that is a valid IPv4 address.
- Ipv4AddressValidator - Class in org.kiwiproject.validation
-
Validates that a string value is a valid IPV4 address.
- Ipv4AddressValidator() - Constructor for class org.kiwiproject.validation.Ipv4AddressValidator
- Ipv4AndPort - Annotation Interface in org.kiwiproject.validation
-
The annotated element must have the form
ipv4-address:port. - Ipv4AndPortValidator - Class in org.kiwiproject.validation
-
Validates that a string matches a regular expression representing an IPv4 address and port separated by a colon.
- Ipv4AndPortValidator() - Constructor for class org.kiwiproject.validation.Ipv4AndPortValidator
- IPV6 - Enum constant in enum class org.kiwiproject.net.KiwiInternetAddresses.IpScheme
- IS - Enum constant in enum class org.kiwiproject.reflect.KiwiReflection.Accessor
-
Getter method type for primitive
boolean. - IS_HTTP_400s - Static variable in class org.kiwiproject.retry.KiwiRetryerPredicates
-
Check if a given Jakarta REST
Responseis a client error (4xx). - IS_HTTP_500s - Static variable in class org.kiwiproject.retry.KiwiRetryerPredicates
-
Check if a given Jakarta REST
Responseis a server error (5xx). - isAscending() - Method in enum class org.kiwiproject.spring.data.KiwiSort.Direction
-
Accessible via a getter method as well as direct field access.
- isAscending() - Method in class org.kiwiproject.spring.data.KiwiSort
- isCauseInterruptedException() - Method in exception org.kiwiproject.retry.KiwiRetryerException
- isCauseRetryException() - Method in exception org.kiwiproject.retry.KiwiRetryerException
- isCloseToZero(double) - Static method in class org.kiwiproject.base.KiwiDoubles
-
Return true if value is close to zero, within the default tolerance.
- isCloseToZero(double, double) - Static method in class org.kiwiproject.base.KiwiDoubles
-
Return true if value is close to zero, using the given tolerance.
- isDescending() - Method in enum class org.kiwiproject.spring.data.KiwiSort.Direction
-
Convenience method to allow checking if this
KiwiSort.Directionis descending. - isDescending() - Method in class org.kiwiproject.spring.data.KiwiSort
-
Convenience method to allow checking if this
KiwiSortis descending. - isDisableSniHostCheck() - Method in class org.kiwiproject.config.SSLContextConfiguration
- isDisableSniHostCheck() - Method in class org.kiwiproject.config.TlsContextConfiguration
-
Whether the SNI (Server Name Indication) host check is disabled.
- isDisableSniHostCheck() - Method in class org.kiwiproject.security.SimpleSSLContextFactory
-
This is not strictly needed when creating
SSLContexts. - isDisableStrictHostChecking() - Method in class org.kiwiproject.jsch.SftpConfig
-
Provides option to disable strict host key checking, equivalent to the
-o StrictHostKeyChecking=[yes|no]option. - isEmptyInstance() - Method in class org.kiwiproject.base.KiwiThrowables.ThrowableInfo
-
Use this method to check whether this instance was created from a null Throwable object.
- isEnabled(int) - Method in class org.kiwiproject.jsch.JSchSlf4jLogger
-
Is the given level enabled?
- isExceptionError() - Method in class org.kiwiproject.io.TimeBasedDirectoryCleaner.DeleteError
- isFailOnError() - Method in class org.kiwiproject.beans.BeanConverter
-
Allows for a failed conversion to throw an exception if
true; otherwise just logs a failure iffalse - isFileDeleteError() - Method in class org.kiwiproject.io.TimeBasedDirectoryCleaner.DeleteError
- isFirst() - Method in class org.kiwiproject.spring.data.KiwiPage
-
Determines if this is the first page when paginating a result list.
- isFormat(JacksonDataFormat, String, Charset) - Static method in class org.kiwiproject.jackson.KiwiJacksonDataFormats
-
Does the given text, using the given
Charset, have data formatmatchFormat. - isHigherOrSameVersion(String, String) - Static method in class org.kiwiproject.base.Versions
-
Returns true if the "left" version is higher than or equal to the "right" version.
- isIgnoreCase() - Method in class org.kiwiproject.spring.data.KiwiSort
- isInRange(String) - Method in class org.kiwiproject.net.CidrRange
-
Checks if a given IP address (as a string) is in the CIDR range.
- isInRange(InetAddress) - Method in class org.kiwiproject.net.CidrRange
-
Checks if a given IP address (as an
InetAddress) is in the CIDR range. - isJson() - Method in class org.kiwiproject.json.JsonDetectionResult
-
Is the content JSON?
- isJson(String) - Method in class org.kiwiproject.json.JsonHelper
-
Use Jackson's data format detection to determine if the given content is JSON, assuming UTF-8 as the charset.
- isJson(String, Charset) - Method in class org.kiwiproject.json.JsonHelper
-
Use Jackson's data format detection to determine if the given content is JSON.
- isJson(String) - Static method in class org.kiwiproject.jackson.KiwiJacksonDataFormats
-
Is the given text JSON using the default
Charset? - isJson(String, Charset) - Static method in class org.kiwiproject.jackson.KiwiJacksonDataFormats
-
Is the given text JSON using the given
Charset? - isJsonUtf8(String) - Static method in class org.kiwiproject.jackson.KiwiJacksonDataFormats
-
Is the given text JSON using UTF-8
Charset? - isLast() - Method in class org.kiwiproject.spring.data.KiwiPage
-
Determines if this is the last page when paginating a result list.
- isLowerOrSameVersion(String, String) - Static method in class org.kiwiproject.base.Versions
-
Returns true if the "left" version is lower than or equal to the "right" version.
- isMutable() - Method in class org.kiwiproject.hibernate.usertype.JSONBUserType
- isNonzeroExitCode(int) - Static method in class org.kiwiproject.base.process.Processes
-
Check if the given exit code represents anything other than successful termination.
- isNotNullOrEmpty(Collection<T>) - Static method in class org.kiwiproject.collect.KiwiCollections
-
Checks whether the specified collection is neither null nor empty.
- isNotNullOrEmpty(List<T>) - Static method in class org.kiwiproject.collect.KiwiLists
-
Checks whether the specified list is neither null nor empty.
- isNotNullOrEmpty(Map<K, V>) - Static method in class org.kiwiproject.collect.KiwiMaps
-
Checks whether the specified map is neither null nor empty.
- isNotNullOrEmpty(Set<T>) - Static method in class org.kiwiproject.collect.KiwiSets
-
Checks whether the specified set is neither null nor empty.
- isNotNullOrEmpty(T[]) - Static method in class org.kiwiproject.collect.KiwiArrays
-
Checks whether the specified array is neither null nor empty.
- isNotZero(double) - Static method in class org.kiwiproject.base.KiwiDoubles
-
Return true if value is not exactly equal to zero.
- isNullOrEmpty(Collection<T>) - Static method in class org.kiwiproject.collect.KiwiCollections
-
Checks whether the specified collection is null or empty.
- isNullOrEmpty(List<T>) - Static method in class org.kiwiproject.collect.KiwiLists
-
Checks whether the specified list is null or empty.
- isNullOrEmpty(Map<K, V>) - Static method in class org.kiwiproject.collect.KiwiMaps
-
Checks whether the specified map is null or empty.
- isNullOrEmpty(Set<T>) - Static method in class org.kiwiproject.collect.KiwiSets
-
Checks whether the specified set is null or empty.
- isNullOrEmpty(T[]) - Static method in class org.kiwiproject.collect.KiwiArrays
-
Checks whether the specified array is null or empty.
- isPortAvailable(int) - Method in class org.kiwiproject.net.LocalPortChecker
-
Check port availability.
- isPublicAccessorMethod(Method) - Static method in class org.kiwiproject.reflect.KiwiReflection
-
Checks whether the given method is a public accessor method (
getXxx/isXxxconforming to JavaBeans rules). - isPublicMutatorMethod(Method) - Static method in class org.kiwiproject.reflect.KiwiReflection
-
Checks whether the given method is a public mutator method (
setXxxconforming to JavaBeans rules). - isSameVersion(String, String) - Static method in class org.kiwiproject.base.Versions
-
Returns true if the "left" version exactly equals the "right" version.
- isSecure() - Method in class org.kiwiproject.config.EndpointConfiguration
-
Returns true if the scheme is "wss" or "https".
- isSecure() - Method in class org.kiwiproject.config.SecureEndpointsConfiguration
-
Returns true if any of the endpoints in this configuration is secure.
- isSequenced(Collection<T>) - Static method in class org.kiwiproject.collect.KiwiCollections
-
Checks whether the given collection is "sequenced".
- isSorted() - Method in class org.kiwiproject.spring.data.KiwiPage
-
Does this page have a sort applied?
- isStrictlyGetAccessorMethod(Method) - Static method in class org.kiwiproject.reflect.KiwiReflection
-
Checks whether the given method is a public accessor method (only
getXxxconforming to JavaBeans rules). - isStrictlyHigherVersion(String, String) - Static method in class org.kiwiproject.base.Versions
-
Returns true if the "left" version is strictly higher than the "right" version.
- isStrictlyIsAccessorMethod(Method) - Static method in class org.kiwiproject.reflect.KiwiReflection
-
Checks whether the given method is a public accessor method (only
isXxxconforming to JavaBeans rules). - isStrictlyLowerVersion(String, String) - Static method in class org.kiwiproject.base.Versions
-
Returns true if the "left" version is strictly lower than the "right" version.
- isSuccessfulExitCode(int) - Static method in class org.kiwiproject.base.process.Processes
-
Check if the given exit code represents successful termination.
- isTrustSelfSignedCertificates() - Method in class org.kiwiproject.config.TlsContextConfiguration
-
Whether self-signed certificates should be trusted.
- isValid(CharSequence, ConstraintValidatorContext) - Method in class org.kiwiproject.validation.IntValueValidator
- isValid(CharSequence, ConstraintValidatorContext) - Method in class org.kiwiproject.validation.LongValueValidator
- isValid(Object, ConstraintValidatorContext) - Method in class org.kiwiproject.validation.FieldRangeValidator
- isValid(Object, ConstraintValidatorContext) - Method in class org.kiwiproject.validation.RangeValidator
- isValid(Object, ConstraintValidatorContext) - Method in class org.kiwiproject.validation.RequiredValidator
-
Perform the validation on the given value.
- isValid(String, ConstraintValidatorContext) - Method in class org.kiwiproject.validation.DirectoryPathValidator
- isValid(String, ConstraintValidatorContext) - Method in class org.kiwiproject.validation.FilePathValidator
- isValid(String, ConstraintValidatorContext) - Method in class org.kiwiproject.validation.InEnumValidator
- isValid(String, ConstraintValidatorContext) - Method in class org.kiwiproject.validation.Ipv4AddressValidator
- isValid(String, ConstraintValidatorContext) - Method in class org.kiwiproject.validation.Ipv4AndPortValidator
- isValidUUID(String) - Static method in class org.kiwiproject.base.UUIDs
-
Checks if the
valueis a valid UUID conforming to RFC 4122. - isValidUUIDAllowingNil(String) - Static method in class org.kiwiproject.base.UUIDs
-
Checks if the
valueis a valid UUID conforming to RFC 4122 (including the Nil UUID). - isVerifyHostname() - Method in class org.kiwiproject.config.SSLContextConfiguration
- isVerifyHostname() - Method in class org.kiwiproject.config.TlsContextConfiguration
-
Should host names be verified when establishing secure connections?
- isVerifyHostname() - Method in class org.kiwiproject.security.SimpleSSLContextFactory
-
This is not strictly needed when creating
SSLContexts. - isVerifyHostname() - Method in interface org.kiwiproject.security.TrustStoreConfigProvider
-
Defaults to
true. - isXml(String) - Static method in class org.kiwiproject.jackson.KiwiJacksonDataFormats
-
Is the given text XML using the default
Charset? - isXml(String, Charset) - Static method in class org.kiwiproject.jackson.KiwiJacksonDataFormats
-
Is the given text XML using the given
Charset? - isXmlUtf8(String) - Static method in class org.kiwiproject.jackson.KiwiJacksonDataFormats
-
Is the given text XML using UTF-8
Charset? - isYaml(String) - Static method in class org.kiwiproject.jackson.KiwiJacksonDataFormats
-
Is the given text YAML using the default
Charset? - isYaml(String, Charset) - Static method in class org.kiwiproject.jackson.KiwiJacksonDataFormats
-
Is the given text YAML using the given
Charset? - isYamlUtf8(String) - Static method in class org.kiwiproject.jackson.KiwiJacksonDataFormats
-
Is the given text YAML using UTF-8
Charset? - isZero(double) - Static method in class org.kiwiproject.base.KiwiDoubles
-
Return true if value is exactly equal to zero.
J
- JacksonDataFormat - Enum Class in org.kiwiproject.jackson
-
Represents the detected type of the given
String. - JAX_WS_DEFAULT_CONNECT_TIMEOUT_MILLIS - Static variable in class org.kiwiproject.jaxws.KiwiJaxWs
-
Default value of the connect timeout in milliseconds.
- JAX_WS_DEFAULT_READ_TIMEOUT_MILLIS - Static variable in class org.kiwiproject.jaxws.KiwiJaxWs
-
Default value of the read timeout in milliseconds.
- JaxbElementSerializer - Class in org.kiwiproject.json
-
A Jackson
JsonSerializerthat serializesJAXBElementobjects, with "nil" values handled by writing a JSON null. - JaxbElementSerializer() - Constructor for class org.kiwiproject.json.JaxbElementSerializer
- JaxrsBadRequestException - Exception in org.kiwiproject.jaxrs.exception
-
Exception representing a 400 Bad Request that extends
JaxrsExceptionto use Kiwi'sErrorMessage. - JaxrsBadRequestException(String) - Constructor for exception org.kiwiproject.jaxrs.exception.JaxrsBadRequestException
-
New instance with given message and 400 status code.
- JaxrsBadRequestException(String, String) - Constructor for exception org.kiwiproject.jaxrs.exception.JaxrsBadRequestException
-
New instance with the given message and field name, and 400 status code.
- JaxrsBadRequestException(String, String, String) - Constructor for exception org.kiwiproject.jaxrs.exception.JaxrsBadRequestException
-
New instance with the given message, field name, item ID, and 400 status code.
- JaxrsBadRequestException(String, String, String, Throwable) - Constructor for exception org.kiwiproject.jaxrs.exception.JaxrsBadRequestException
-
New instance with the given message, field name, item ID, cause, and 400 status code.
- JaxrsBadRequestException(String, Throwable) - Constructor for exception org.kiwiproject.jaxrs.exception.JaxrsBadRequestException
-
New instance with given message, cause, and 400 status code.
- JaxrsBadRequestException(Throwable) - Constructor for exception org.kiwiproject.jaxrs.exception.JaxrsBadRequestException
-
New instance with given cause and 400 status code.
- JaxrsConflictException - Exception in org.kiwiproject.jaxrs.exception
-
Exception representing a 409 Conflict that extends
JaxrsExceptionto use Kiwi'sErrorMessage. - JaxrsConflictException(String) - Constructor for exception org.kiwiproject.jaxrs.exception.JaxrsConflictException
-
New instance with given message and 409 status code.
- JaxrsConflictException(String, String) - Constructor for exception org.kiwiproject.jaxrs.exception.JaxrsConflictException
-
New instance with the given message and field name, and 409 status code.
- JaxrsConflictException(String, String, String) - Constructor for exception org.kiwiproject.jaxrs.exception.JaxrsConflictException
-
New instance with the given message, field name, item ID, and 409 status code.
- JaxrsConflictException(String, String, String, Throwable) - Constructor for exception org.kiwiproject.jaxrs.exception.JaxrsConflictException
-
New instance with the given message, field name, item ID, cause, and 409 status code.
- JaxrsConflictException(String, Throwable) - Constructor for exception org.kiwiproject.jaxrs.exception.JaxrsConflictException
-
New instance with given message, cause, and 409 status code.
- JaxrsConflictException(Throwable) - Constructor for exception org.kiwiproject.jaxrs.exception.JaxrsConflictException
-
New instance with given cause and 409 status code.
- JaxrsException - Exception in org.kiwiproject.jaxrs.exception
-
Represents a Jakarta REST exception that uses the Kiwi
ErrorMessageto describe the errors causing this exception. - JaxrsException(String) - Constructor for exception org.kiwiproject.jaxrs.exception.JaxrsException
-
New instance with given message and default status code.
- JaxrsException(String, int) - Constructor for exception org.kiwiproject.jaxrs.exception.JaxrsException
-
New instance with given message and status code.
- JaxrsException(String, Throwable) - Constructor for exception org.kiwiproject.jaxrs.exception.JaxrsException
-
New instance with given message and cause.
- JaxrsException(String, Throwable, int) - Constructor for exception org.kiwiproject.jaxrs.exception.JaxrsException
-
New instance with given message, cause, and status code.
- JaxrsException(Throwable) - Constructor for exception org.kiwiproject.jaxrs.exception.JaxrsException
-
New instance with given cause.
- JaxrsException(Throwable, int) - Constructor for exception org.kiwiproject.jaxrs.exception.JaxrsException
-
New instance with given cause and status code.
- JaxrsException(List<ErrorMessage>, Integer) - Constructor for exception org.kiwiproject.jaxrs.exception.JaxrsException
-
New "aggregate" instance with given list of ErrorMessage objects.
- JaxrsException(List<JaxrsException>) - Constructor for exception org.kiwiproject.jaxrs.exception.JaxrsException
-
New "aggregate" instance with given list of JaxrsException objects.
- JaxrsException(ErrorMessage) - Constructor for exception org.kiwiproject.jaxrs.exception.JaxrsException
-
New instance with given ErrorMessage.
- JaxrsException(ErrorMessage, Throwable) - Constructor for exception org.kiwiproject.jaxrs.exception.JaxrsException
-
New instance with given ErrorMessage and Throwable.
- JaxrsExceptionMapper - Class in org.kiwiproject.jaxrs.exception
-
Map a
JaxrsExceptionto aResponse. - JaxrsExceptionMapper() - Constructor for class org.kiwiproject.jaxrs.exception.JaxrsExceptionMapper
- JaxrsForbiddenException - Exception in org.kiwiproject.jaxrs.exception
-
Exception representing a 403 Forbidden that extends
JaxrsExceptionto use Kiwi'sErrorMessage. - JaxrsForbiddenException(String) - Constructor for exception org.kiwiproject.jaxrs.exception.JaxrsForbiddenException
-
New instance with given message and 403 status code.
- JaxrsForbiddenException(String, String) - Constructor for exception org.kiwiproject.jaxrs.exception.JaxrsForbiddenException
-
New instance with the given message and field name, and 403 status code.
- JaxrsForbiddenException(String, String, String) - Constructor for exception org.kiwiproject.jaxrs.exception.JaxrsForbiddenException
-
New instance with the given message, field name, item ID, and 403 status code.
- JaxrsForbiddenException(String, String, String, Throwable) - Constructor for exception org.kiwiproject.jaxrs.exception.JaxrsForbiddenException
-
New instance with the given message, field name, item ID, cause, and 403 status code.
- JaxrsForbiddenException(String, Throwable) - Constructor for exception org.kiwiproject.jaxrs.exception.JaxrsForbiddenException
-
New instance with given message, cause, and 403 status code.
- JaxrsForbiddenException(Throwable) - Constructor for exception org.kiwiproject.jaxrs.exception.JaxrsForbiddenException
-
New instance with given cause and 403 status code.
- JaxrsInternalServerErrorException - Exception in org.kiwiproject.jaxrs.exception
-
Exception representing a 500 Internal Server Error.
- JaxrsInternalServerErrorException(String) - Constructor for exception org.kiwiproject.jaxrs.exception.JaxrsInternalServerErrorException
-
New instance with given message and 500 status code.
- JaxrsInternalServerErrorException(String, String) - Constructor for exception org.kiwiproject.jaxrs.exception.JaxrsInternalServerErrorException
-
New instance with the given message and field name, and 500 status code.
- JaxrsInternalServerErrorException(String, String, String) - Constructor for exception org.kiwiproject.jaxrs.exception.JaxrsInternalServerErrorException
-
New instance with the given message, field name, item ID, and 500 status code.
- JaxrsInternalServerErrorException(String, String, String, Throwable) - Constructor for exception org.kiwiproject.jaxrs.exception.JaxrsInternalServerErrorException
-
New instance with the given message, field name, item ID, cause, and 500 status code.
- JaxrsInternalServerErrorException(String, Throwable) - Constructor for exception org.kiwiproject.jaxrs.exception.JaxrsInternalServerErrorException
-
New instance with given message, cause, and 500 status code.
- JaxrsInternalServerErrorException(Throwable) - Constructor for exception org.kiwiproject.jaxrs.exception.JaxrsInternalServerErrorException
-
New instance with given cause and 500 status code.
- JaxrsNotAuthorizedException - Exception in org.kiwiproject.jaxrs.exception
-
Exception representing a 401 Unauthorized that extends
JaxrsExceptionto use Kiwi'sErrorMessage. - JaxrsNotAuthorizedException(String) - Constructor for exception org.kiwiproject.jaxrs.exception.JaxrsNotAuthorizedException
-
New instance with given message and 401 status code.
- JaxrsNotAuthorizedException(String, String) - Constructor for exception org.kiwiproject.jaxrs.exception.JaxrsNotAuthorizedException
-
New instance with the given message and field name, and 401 status code.
- JaxrsNotAuthorizedException(String, String, String) - Constructor for exception org.kiwiproject.jaxrs.exception.JaxrsNotAuthorizedException
-
New instance with the given message, field name, item ID, and 401 status code.
- JaxrsNotAuthorizedException(String, String, String, Throwable) - Constructor for exception org.kiwiproject.jaxrs.exception.JaxrsNotAuthorizedException
-
New instance with the given message, field name, item ID, cause, and 401 status code.
- JaxrsNotAuthorizedException(String, Throwable) - Constructor for exception org.kiwiproject.jaxrs.exception.JaxrsNotAuthorizedException
-
New instance with given message, cause, and 401 status code.
- JaxrsNotAuthorizedException(Throwable) - Constructor for exception org.kiwiproject.jaxrs.exception.JaxrsNotAuthorizedException
-
New instance with given cause and 401 status code.
- JaxrsNotFoundException - Exception in org.kiwiproject.jaxrs.exception
-
Exception representing a 404 Not Found that extends
JaxrsExceptionto use Kiwi'sErrorMessage. - JaxrsNotFoundException(String) - Constructor for exception org.kiwiproject.jaxrs.exception.JaxrsNotFoundException
-
New instance with given message and 404 status code.
- JaxrsNotFoundException(String, Object) - Constructor for exception org.kiwiproject.jaxrs.exception.JaxrsNotFoundException
-
New instance with given type and item ID.
- JaxrsNotFoundException(String, String) - Constructor for exception org.kiwiproject.jaxrs.exception.JaxrsNotFoundException
-
New instance with given type and item ID.
- JaxrsNotFoundException(String, Throwable) - Constructor for exception org.kiwiproject.jaxrs.exception.JaxrsNotFoundException
-
New instance with given message, cause, and 404 status code.
- JaxrsNotFoundException(Throwable) - Constructor for exception org.kiwiproject.jaxrs.exception.JaxrsNotFoundException
-
New instance with given cause and 404 status code.
- JaxrsValidationException - Exception in org.kiwiproject.jaxrs.exception
-
Exception representing a 422 status code that extends
JaxrsExceptionto use Kiwi'sErrorMessage. - JaxrsValidationException(String, List<Map<String, String>>) - Constructor for exception org.kiwiproject.jaxrs.exception.JaxrsValidationException
-
New instance with given item ID and error messages.
- JaxrsValidationException(String, Set<? extends ConstraintViolation<?>>) - Constructor for exception org.kiwiproject.jaxrs.exception.JaxrsValidationException
-
New instance with given item ID and constraint violations.
- JaxrsValidationException(String, Set<? extends ConstraintViolation<?>>, Map<String, String>) - Constructor for exception org.kiwiproject.jaxrs.exception.JaxrsValidationException
-
New instance with given item ID, constraint violations, and a map containing entries whose keys are the property path of the
ConstraintViolationand values are the field/property name that should be used in place of the property path. - JaxrsValidationException(List<ErrorMessage>) - Constructor for exception org.kiwiproject.jaxrs.exception.JaxrsValidationException
-
New instance with given
ErrorMessageobjects. - JCEKS - Enum constant in enum class org.kiwiproject.security.KeyStoreType
-
The proprietary keystore implementation provided by the SunJCE provider.
- Jdbi3Builders - Class in org.kiwiproject.dropwizard.jdbi3
-
Utilities for building Dropwizard-managed
Jdbiversion 3 instances. - JKS - Enum constant in enum class org.kiwiproject.security.KeyStoreType
-
The proprietary keystore implementation provided by the SUN provider.
- JSchSlf4jLogger - Class in org.kiwiproject.jsch
-
Custom logger implementing Jsch's
Loggerclass. - JSchSlf4jLogger() - Constructor for class org.kiwiproject.jsch.JSchSlf4jLogger
-
Construct an instance with a default logger, e.g. for
org.kiwiproject.jsch.JSchSlf4jLogger. - JSchSlf4jLogger(Logger) - Constructor for class org.kiwiproject.jsch.JSchSlf4jLogger
-
Construct an instance using the given SLF4J logger.
- JSON - Enum constant in enum class org.kiwiproject.jackson.JacksonDataFormat
- JSON_TYPE - Static variable in class org.kiwiproject.jdbc.postgres.KiwiPostgres
-
The Postgres "json" type.
- JSONB_TYPE - Static variable in class org.kiwiproject.jdbc.postgres.KiwiPostgres
-
The Postgres "jsonb" type.
- JSONBUserType - Class in org.kiwiproject.hibernate.usertype
-
A Hibernate user-defined type that maps to/from Postgres
jsonbcolumns. - JSONBUserType() - Constructor for class org.kiwiproject.hibernate.usertype.JSONBUserType
- JsonDetectionResult - Class in org.kiwiproject.json
-
Represents the result of attempting to detect if content is JSON.
- jsonDiff(List<Object>, String...) - Method in class org.kiwiproject.json.JsonHelper
-
Compare an object to an arbitrary number of other objects via their JSON differences.
- jsonDiff(List<String>) - Method in class org.kiwiproject.json.JsonHelper
-
Compare a JSON object to an arbitrary number of other objects via their JSON differences.
- jsonDiff(Object, Object, String...) - Method in class org.kiwiproject.json.JsonHelper
-
Compare two objects via their JSON differences, optionally ignoring one or more paths.
- jsonEquals(Object...) - Method in class org.kiwiproject.json.JsonHelper
-
Compare the JSON representation of multiple objects.
- jsonEqualsIgnoringPaths(Object, Object, String...) - Method in class org.kiwiproject.json.JsonHelper
-
Compare the JSON representations of two objects, optionally ignoring paths.
- JsonHelper - Class in org.kiwiproject.json
-
A bunch of utilities to make it easier to work with JSON.
- JsonHelper() - Constructor for class org.kiwiproject.json.JsonHelper
-
Create a new instance using an
ObjectMappercreated usingJsonHelper.newDropwizardObjectMapper(). - JsonHelper(ObjectMapper) - Constructor for class org.kiwiproject.json.JsonHelper
-
Create a new instance using the given
ObjectMapper. - JsonHelper.MergeOption - Enum Class in org.kiwiproject.json
-
Describes how objects are to be merged.
- JsonHelper.OutputFormat - Enum Class in org.kiwiproject.json
-
Represents an output format when serializing an object to JSON.
- jsonPathsEqual(Object, Object, String, Class<T>) - Method in class org.kiwiproject.json.JsonHelper
-
Compare the values at a given path in two objects.
K
- KEY_CODE - Static variable in class org.kiwiproject.jaxrs.exception.ErrorMessage
- KEY_ERRORS - Static variable in class org.kiwiproject.jaxrs.exception.JaxrsExceptionMapper
-
The map key under which the list of
ErrorMessageobjects resides. - KEY_FIELD_NAME - Static variable in class org.kiwiproject.jaxrs.exception.ErrorMessage
- KEY_ITEM_ID - Static variable in class org.kiwiproject.jaxrs.exception.ErrorMessage
- KEY_MESSAGE - Static variable in class org.kiwiproject.jaxrs.exception.ErrorMessage
- KeyAndTrustStoreConfigProvider - Interface in org.kiwiproject.security
-
Defines a configuration interface for properties needed to create key and trust stores, and a contract to be able to create an
SSLContextandSSLSocketFactoryfrom this configuration. - keyExistsWithNonNullValue(Map<K, V>, K) - Static method in class org.kiwiproject.collect.KiwiMaps
-
Checks whether the given map contains a key whose value is not null.
- keyExistsWithNullValue(Map<K, V>, K) - Static method in class org.kiwiproject.collect.KiwiMaps
-
Returns
trueif and only if (1)mapis not null or empty, (2)mapcontains the givenkey, and (3) the value associated with the given key isnull. - keyStorePassword(String) - Method in class org.kiwiproject.config.SecureEndpointsConfiguration.Builder
- keyStorePassword(String) - Method in class org.kiwiproject.config.SSLContextConfiguration.Builder
- keyStorePassword(String) - Method in class org.kiwiproject.config.TlsContextConfiguration.TlsContextConfigurationBuilder
-
Key store password.
- keyStorePassword(String) - Method in class org.kiwiproject.security.SimpleSSLContextFactory.Builder
- keyStorePath(String) - Method in class org.kiwiproject.config.SecureEndpointsConfiguration.Builder
- keyStorePath(String) - Method in class org.kiwiproject.config.SSLContextConfiguration.Builder
- keyStorePath(String) - Method in class org.kiwiproject.config.TlsContextConfiguration.TlsContextConfigurationBuilder
-
Absolute path to the key store.
- keyStorePath(String) - Method in class org.kiwiproject.security.SimpleSSLContextFactory.Builder
- keyStoreProvider(String) - Method in class org.kiwiproject.config.TlsContextConfiguration.TlsContextConfigurationBuilder
-
The name of the provider for the key store, i.e., the value of
providerto use when getting theKeyStoreinstance for the key store. - keyStoreType(String) - Method in class org.kiwiproject.config.SecureEndpointsConfiguration.Builder
- keyStoreType(String) - Method in class org.kiwiproject.config.SSLContextConfiguration.Builder
- keyStoreType(String) - Method in class org.kiwiproject.config.TlsContextConfiguration.TlsContextConfigurationBuilder
-
Key store type.
- keyStoreType(String) - Method in class org.kiwiproject.security.SimpleSSLContextFactory.Builder
- KeyStoreType - Enum Class in org.kiwiproject.security
-
KeyStore types that can be specified when generating an instance of
KeyStoreusingKeyStore.getInstance(String). - kill(long, String, long, TimeUnit, KillTimeoutAction) - Static method in class org.kiwiproject.base.process.Processes
-
Kill a process, waiting up to
timeoutin the specifiedTimeUnitfor it to terminate. - kill(long, String, long, TimeUnit, KillTimeoutAction) - Method in class org.kiwiproject.base.process.ProcessHelper
-
Kill a process, waiting up to
timeoutin the specifiedTimeUnitfor it to terminate. - kill(long, String, KillTimeoutAction) - Static method in class org.kiwiproject.base.process.Processes
-
Kill a process, waiting up to
Processes.DEFAULT_KILL_TIMEOUT_SECONDSseconds for it to terminate. - kill(long, String, KillTimeoutAction) - Method in class org.kiwiproject.base.process.ProcessHelper
-
Kill a process, waiting up to
Processes.DEFAULT_KILL_TIMEOUT_SECONDSseconds for it to terminate. - kill(long, KillSignal, long, TimeUnit, KillTimeoutAction) - Static method in class org.kiwiproject.base.process.Processes
-
Kill a process, waiting up to
timeoutin the specifiedTimeUnitfor it to terminate. - kill(long, KillSignal, long, TimeUnit, KillTimeoutAction) - Method in class org.kiwiproject.base.process.ProcessHelper
-
Kill a process, waiting up to
timeoutin the specifiedTimeUnitfor it to terminate. - kill(long, KillSignal, KillTimeoutAction) - Static method in class org.kiwiproject.base.process.Processes
-
Kill a process, waiting up to
Processes.DEFAULT_KILL_TIMEOUT_SECONDSseconds for it to terminate. - kill(long, KillSignal, KillTimeoutAction) - Method in class org.kiwiproject.base.process.ProcessHelper
-
Kill a process, waiting up to
Processes.DEFAULT_KILL_TIMEOUT_SECONDSseconds for it to terminate. - killForcibly(Process, long, TimeUnit) - Static method in class org.kiwiproject.base.process.Processes
-
Equivalent to a
kill -9(i.e. aSIGKILL). - killForcibly(Process, long, TimeUnit) - Method in class org.kiwiproject.base.process.ProcessHelper
-
Equivalent to a
kill -9(i.e. aSIGKILL). - KillSignal - Enum Class in org.kiwiproject.base.process
-
A few common (Unix/Linux/etc) kill signals.
- KillTimeoutAction - Enum Class in org.kiwiproject.base.process
-
Possible actions to take if a kill command times out.
- KiwiArrays - Class in org.kiwiproject.collect
-
Utility methods for working with Array instances.
- KiwiBiConsumers - Class in org.kiwiproject.util.function
-
Contains helper methods for
BiConsumer. - KiwiBigDecimals - Class in org.kiwiproject.base
-
Utilities for working with
BigDecimal. - KiwiBooleans - Class in org.kiwiproject.base
-
Utilities for working with
Booleanwrapper objects. - KiwiCollections - Class in org.kiwiproject.collect
-
Utility methods for working with
Collectioninstances. - KiwiCollectors - Class in org.kiwiproject.collect
-
Utility for custom
Collectorimplementations - KiwiConstraintViolations - Class in org.kiwiproject.validation
-
Static utilities for working with
ConstraintViolationobjects, generallySets of them. - KiwiConsumers - Class in org.kiwiproject.util.function
-
Contains helper methods for
Consumer. - KiwiDates - Class in org.kiwiproject.time
-
The original JDK 1.0
Dateclass leaves, ahem, much to be desired, but there are still (unfortunately) many classes, interfaces, and libraries that use it and probably won't be changed soon or ever. - KiwiDateTimeConverters - Class in org.kiwiproject.time
-
A collection of small utility methods to convert between legacy
Dateand the Java 8 date/time API classes. - KiwiDateTimeFormatters - Class in org.kiwiproject.time
-
A collection of small utilities to format various types of Java date/time classes, both the legacy
Dateand the Java 8 date/time API classes injava.time. - KiwiDateTimeParsers - Class in org.kiwiproject.time
-
A collection of small utilities to parse strings into various types of Java date/time classes, both the legacy
Dateand the Java 8 date/time API classes injava.time. - KiwiDeprecated - Annotation Interface in org.kiwiproject.base
-
A Kiwi-flavored version of
Deprecatedthat includes thesinceattribute added in JDK 9 plus additional attributes we think are useful. - KiwiDeprecated.Severity - Enum Class in org.kiwiproject.base
- KiwiDoubles - Class in org.kiwiproject.base
-
Doubleutilities. - KiwiDropwizardLifecycles - Class in org.kiwiproject.dropwizard.lifecycle
-
Provides utilities related to the Dropwizard lifecycle.
- KiwiDurationFormatters - Class in org.kiwiproject.time
-
Utilities for formatting durations of various types.
- KiwiEntities - Class in org.kiwiproject.jaxrs
-
Static utilities related to reading entities from a
Response. - KiwiEnums - Class in org.kiwiproject.base
-
Static utilities for working with
Enum. - KiwiEnvironment - Interface in org.kiwiproject.base
-
Interface that defines methods related to the external environment, for example getting the current time in milliseconds, obtaining the process ID, and sleeping quietly for a specified time.
- KiwiEvictingQueues - Class in org.kiwiproject.collect
-
Utility methods for working with Guava
EvictingQueueinstances. - KiwiGenericTypes - Class in org.kiwiproject.jaxrs
-
Utilities/constants for containing common, re-usable types of
GenericTypeobjects. - KiwiHttpResponses - Class in org.kiwiproject.net
-
Static utilities related to HTTP responses, mainly for checking status codes.
- KiwiInstants - Class in org.kiwiproject.time
-
Provides utilities related to
Instant. - KiwiIntegers - Class in org.kiwiproject.base
-
Utilities for working with
Integerwrapper objects. - KiwiInternetAddresses - Class in org.kiwiproject.net
-
Utilities for
InetAddressand other things related to internet addresses. - KiwiInternetAddresses.IpScheme - Enum Class in org.kiwiproject.net
-
Enum that defines the IP scheme to use when looking up a machine's IP addresses.
- KiwiInternetAddresses.SimpleHostInfo - Class in org.kiwiproject.net
-
Simple value class encapsulating a host name and IP address
- KiwiInternetAddresses.SimpleHostInfo.SimpleHostInfoBuilder - Class in org.kiwiproject.net
- KiwiIO - Class in org.kiwiproject.io
-
Static I/O utilities.
- KiwiIO.CloseableResource - Record Class in org.kiwiproject.io
-
Represents a resource that can be closed using a "close" method.
- KiwiIterators - Class in org.kiwiproject.collect
-
Utility methods for working with
Iteratorinstances. - KiwiJacksonDataFormats - Class in org.kiwiproject.jackson
-
Static utilities for easily performing data format detection on String values.
- KiwiJacksonSerializers - Class in org.kiwiproject.json
-
Custom Jackson serializers.
- KiwiJars - Class in org.kiwiproject.jar
-
Utilities for working with Java JAR files.
- KiwiJaxrsValidations - Class in org.kiwiproject.jaxrs
-
Static utility methods that perform validation on an object or value, and throw an appropriate subclass of
JaxrsExceptionif there are validation errors. - KiwiJaxWs - Class in org.kiwiproject.jaxws
-
Some utilities and constants for Jakarta XML Web Services.
- KiwiJdbc - Class in org.kiwiproject.jdbc
-
JDBC utilities.
- KiwiJdbc.StringTrimOption - Enum Class in org.kiwiproject.jdbc
-
Enum representing options for trimming strings.
- KiwiJerseyClients - Class in org.kiwiproject.jaxrs.client
-
Static utilities related to Jersey
Clientinstances. - KiwiJSchHelpers - Class in org.kiwiproject.jsch
-
Static utilities for working with JSch.
- KiwiLists - Class in org.kiwiproject.collect
-
Utility methods for working with
Listinstances. - KiwiMaps - Class in org.kiwiproject.collect
-
Utility methods for working with
Mapinstances - KiwiMongoConverters - Class in org.kiwiproject.spring.data
-
A few utilities related to Spring Data Mongo and custom
Converters. - KiwiMongoConverters.BsonUndefinedToNullStringConverter - Class in org.kiwiproject.spring.data
-
A
Converterthat maps from the JS 'undefined' type to a 'null' value. - KiwiMongoDbs - Class in org.kiwiproject.mongo
-
Static utilities relating to Mongo databases.
- KiwiMongoIndexes - Class in org.kiwiproject.spring.data
-
Utilities related to Mongo indexes.
- KiwiMultimapCollectors - Class in org.kiwiproject.stream
-
A
Collectorthat can collect into a GuavaMultimap. - KiwiMultivaluedMaps - Class in org.kiwiproject.jaxrs
-
Static utilities for working with
MultivaluedMapinstances. - KiwiObjects - Class in org.kiwiproject.base
-
Utilities for any object which are not in
ObjectsorMoreObjects. - KiwiPage<T> - Class in org.kiwiproject.spring.data
-
Represents one page of an overall list of results.
- KiwiPage() - Constructor for class org.kiwiproject.spring.data.KiwiPage
- KiwiPaging - Class in org.kiwiproject.spring.data
-
Static utilities to allow simple construction of Spring Data
SortandPageableobjects. - KiwiPaths - Class in org.kiwiproject.io
-
Static utilities related to
Pathinstances. - KiwiPostgres - Class in org.kiwiproject.jdbc.postgres
-
Utility functions related to Postgres DBs.
- KiwiPreconditions - Class in org.kiwiproject.base
-
Static utility methods similar to those found in
Preconditions, but with a lovely Kiwi flavor to them. - KiwiPrimitives - Class in org.kiwiproject.base
-
Static utilities that operate on primitive values, and are not already provided by classes in Guava's
com.google.common.primitivespackage. - KiwiPrimitives.BooleanConversionOption - Enum Class in org.kiwiproject.base
-
Enum representing options for converting a numeric value into a boolean.
- KiwiProperties - Class in org.kiwiproject.collect
-
Utility methods for making it easier to create and work with
Propertiesinstances. - KiwiReflection - Class in org.kiwiproject.reflect
-
Some utilities related to reflection.
- KiwiReflection.Accessor - Enum Class in org.kiwiproject.reflect
-
Defines the accessor method type.
- KiwiRegexes - Class in org.kiwiproject.util.regex
-
Static helper methods related to regular expression processing.
- KiwiResources - Class in org.kiwiproject.jaxrs
-
Static utilities for use in Jakarta REST resource classes.
- KiwiResponses - Class in org.kiwiproject.jaxrs
-
Static utilities related to evaluating and acting upon Jakarta REST responses.
- KiwiRetryer<T> - Class in org.kiwiproject.retry
-
This is a wrapper class for
Retryer; it wraps methods so that theRetryExceptionandInterruptedExceptionthat are generated from theRetryer.call(Callable)method are converted toKiwiRetryerException. - KiwiRetryer.KiwiRetryerBuilder<T> - Class in org.kiwiproject.retry
- KiwiRetryerException - Exception in org.kiwiproject.retry
-
Exception thrown by
KiwiRetryer. - KiwiRetryerException(String, Exception) - Constructor for exception org.kiwiproject.retry.KiwiRetryerException
-
Construct an instance with the given information.
- KiwiRetryerPredicates - Class in org.kiwiproject.retry
-
Some potentially useful predicates that can be used out of the box with
KiwiRetryeror directly withRetryerBuilder, or anything else that accepts aPredicate. - KiwiSearching - Class in org.kiwiproject.search
-
Utilities related to searching and pagination.
- KiwiSearching.PageNumberingScheme - Enum Class in org.kiwiproject.search
-
Enum that represents either zero or one-based page numbering scheme.
- KiwiSecurity - Class in org.kiwiproject.security
-
Static utilities to create various security objects, such as
SSLContext,KeyStore,KeyManager, andTrustManager. - KiwiSets - Class in org.kiwiproject.collect
-
Utility methods for working with
Setinstances. - KiwiSort - Class in org.kiwiproject.spring.data
-
Describes a sort on a specific property that is applied to a result list.
- KiwiSort() - Constructor for class org.kiwiproject.spring.data.KiwiSort
- KiwiSort.Direction - Enum Class in org.kiwiproject.spring.data
-
Sort direction.
- KiwiSpringJavaConfigs - Class in org.kiwiproject.spring.config
-
Static utility methods for Spring Java-based configuration, i.e.
- KiwiSpringMongoQueries - Class in org.kiwiproject.spring.data
-
Static utilities for performing MongoDB queries using Spring Data.
- KiwiSpringMongoQueries.PartialMatchType - Enum Class in org.kiwiproject.spring.data
-
Defines whether to require a partial or exact match.
- KiwiStandardResponses - Class in org.kiwiproject.jaxrs
-
A set of "standard" Jakarta REST responses for various HTTP methods.
- KiwiStreams - Class in org.kiwiproject.collect
-
Utilities related to Streams that are not already in the JDKs
Streamor Guava'sStreams. - KiwiStreams.StreamMode - Enum Class in org.kiwiproject.collect
-
Describes the type of
Stream. - KiwiStrings - Class in org.kiwiproject.base
-
Utility methods relating to strings or similar.
- KiwiThrowables - Class in org.kiwiproject.base
-
Utility class for working with
Throwableinstances. - KiwiThrowables.ThrowableInfo - Class in org.kiwiproject.base
-
Immutable "struct" that contains information from a
Throwableinstance. - KiwiTypeReferences - Class in org.kiwiproject.jackson
-
Utilities/constants for common types of Jackson
TypeReferenceobjects. - KiwiUrls - Class in org.kiwiproject.net
-
Static utilities for creating URLs
- KiwiUrls.Components - Class in org.kiwiproject.net
-
A simple value class to hold the various parts of the URL.
- KiwiUrls.Components.ComponentsBuilder - Class in org.kiwiproject.net
- KiwiValidationGroups - Class in org.kiwiproject.validation.group
-
An opinionated class that makes working with validation groups easier...if you are OK with the restrictions this utility imposes.
- KiwiValidations - Class in org.kiwiproject.validation
-
Static utilities related to Jakarta Bean Validation (formerly Java Bean Validation).
- KiwiXml - Class in org.kiwiproject.xml
-
Static utilities for converting to/from XML using JAXB and a few other XML-related utilities.
- KiwiXml.NamespaceValidation - Enum Class in org.kiwiproject.xml
-
Whether validation should be performed or not.
- KiwiXmlConverters - Class in org.kiwiproject.xml
-
Static utilities for converting to/from XML data types, e.g.
- knownHostsFile(String) - Method in class org.kiwiproject.jsch.SftpConfig.SftpConfigBuilder
-
The path to the known hosts file.
L
- last(Collection<T>) - Static method in class org.kiwiproject.collect.KiwiCollections
-
Return the last element in the given sequenced collection.
- last(List<T>) - Static method in class org.kiwiproject.collect.KiwiLists
-
Returns the last element in the specified list of items.
- last(T[]) - Static method in class org.kiwiproject.collect.KiwiArrays
-
Returns the last element in the specified array of items.
- lastIfPresent(Collection<T>) - Static method in class org.kiwiproject.collect.KiwiCollections
-
Returns an
Optionalcontaining the last element in the given sequenced collection, or an empty optional if the collection is null or empty. - lastIfPresent(List<T>) - Static method in class org.kiwiproject.collect.KiwiLists
-
Returns an
Optionalcontaining the last element in specified list of items, or an empty optional if the list is null or empty. - lastIfPresent(T[]) - Static method in class org.kiwiproject.collect.KiwiArrays
-
Returns an
Optionalcontaining the last element in specified array of items, or an empty optional if the array is null or empty. - lastN(List<T>, int) - Static method in class org.kiwiproject.collect.KiwiLists
-
Returns a view of the "last N" elements of the input list.
- lastN(T[], int) - Static method in class org.kiwiproject.collect.KiwiArrays
-
Returns a new array containing the "last N" elements of the input array.
- launch(File, List<String>) - Static method in class org.kiwiproject.base.process.Processes
-
Launches a new process using the specified
commandwith the given working directory. - launch(File, List<String>) - Method in class org.kiwiproject.base.process.ProcessHelper
-
Launches a new process using the specified
workingDirectoryandcommand. - launch(String...) - Static method in class org.kiwiproject.base.process.Processes
-
Launches a new process using the specified
command. - launch(String...) - Method in class org.kiwiproject.base.process.ProcessHelper
-
Launches a new process using the specified
command. - launch(List<String>) - Static method in class org.kiwiproject.base.process.Processes
-
Launches a new process using the specified
command. - launch(List<String>) - Method in class org.kiwiproject.base.process.ProcessHelper
-
Launches a new process using the specified
command. - lazy(Supplier<Object>) - Static method in class org.kiwiproject.logging.LazyLogParameterSupplier
-
Delays execution of the
originalsupplier in a log replacement value. - LazyLogParameterSupplier - Class in org.kiwiproject.logging
-
Provides lazy evaluation of one or more replacement parameters in a logging statement, for example when using SLF4J.
- lengthRequired(int) - Static method in class org.kiwiproject.net.KiwiHttpResponses
-
Check if the given status code is 411 Length Required.
- LIST_OF_BOOLEAN_GENERIC_TYPE - Static variable in class org.kiwiproject.jaxrs.KiwiGenericTypes
- LIST_OF_BOOLEAN_TYPE_REFERENCE - Static variable in class org.kiwiproject.jackson.KiwiTypeReferences
- LIST_OF_DOUBLE_GENERIC_TYPE - Static variable in class org.kiwiproject.jaxrs.KiwiGenericTypes
- LIST_OF_DOUBLE_TYPE_REFERENCE - Static variable in class org.kiwiproject.jackson.KiwiTypeReferences
- LIST_OF_FLOAT_GENERIC_TYPE - Static variable in class org.kiwiproject.jaxrs.KiwiGenericTypes
- LIST_OF_FLOAT_TYPE_REFERENCE - Static variable in class org.kiwiproject.jackson.KiwiTypeReferences
- LIST_OF_INTEGER_GENERIC_TYPE - Static variable in class org.kiwiproject.jaxrs.KiwiGenericTypes
- LIST_OF_INTEGER_TYPE_REFERENCE - Static variable in class org.kiwiproject.jackson.KiwiTypeReferences
- LIST_OF_LONG_GENERIC_TYPE - Static variable in class org.kiwiproject.jaxrs.KiwiGenericTypes
- LIST_OF_LONG_TYPE_REFERENCE - Static variable in class org.kiwiproject.jackson.KiwiTypeReferences
- LIST_OF_MAP_OF_STRING_TO_OBJECT_GENERIC_TYPE - Static variable in class org.kiwiproject.jaxrs.KiwiGenericTypes
- LIST_OF_MAP_OF_STRING_TO_OBJECT_TYPE_REFERENCE - Static variable in class org.kiwiproject.jackson.KiwiTypeReferences
- LIST_OF_STRING_GENERIC_TYPE - Static variable in class org.kiwiproject.jaxrs.KiwiGenericTypes
- LIST_OF_STRING_TYPE_REFERENCE - Static variable in class org.kiwiproject.jackson.KiwiTypeReferences
- listDirectories(Path) - Method in class org.kiwiproject.jsch.SftpTransfers
-
Returns a list of directories that exist in the given path on the remote server.
- listDirectories(Path, Predicate<String>) - Method in class org.kiwiproject.jsch.SftpTransfers
-
Returns a list of directories that exist in the given path and matching the given directory filter on the remote server.
- listFiles(Path) - Method in class org.kiwiproject.jsch.SftpTransfers
-
Returns a list of files that exist in the given path on the remote server.
- listFiles(Path, Predicate<String>) - Method in class org.kiwiproject.jsch.SftpTransfers
-
Returns a list of files that exist in the given path and matching the given file filter on the remote server.
- listObjectPaths(Object) - Method in class org.kiwiproject.json.JsonHelper
-
Parse the given object as JSON, and return a list containing the property paths in the object.
- ListToCsvStringDeserializer - Class in org.kiwiproject.jackson.ser
-
Custom Jackson
JsonDeserializerto examine a node and take different action based on whether it is aTextNodeor a container node. - ListToCsvStringDeserializer() - Constructor for class org.kiwiproject.jackson.ser.ListToCsvStringDeserializer
- localDateFromDateOrNull(Date) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Returns a
LocalDateTimefrom the givenDate. - localDateFromDateOrNull(ResultSet, String) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
- LocalDateTimeEpochTimeSerializer - Class in org.kiwiproject.jackson.ser
-
Jackson serializer that converts a
LocalDateTimeinto milliseconds since the epoch in the UTC zone by default, or in a zone specified in the constructor. - LocalDateTimeEpochTimeSerializer() - Constructor for class org.kiwiproject.jackson.ser.LocalDateTimeEpochTimeSerializer
-
Create a new instance that serializes in the UTC time zone.
- LocalDateTimeEpochTimeSerializer(ZoneId) - Constructor for class org.kiwiproject.jackson.ser.LocalDateTimeEpochTimeSerializer
-
Create a new instance that serializes in the specified time zone.
- localDateTimeFromTimestamp(ResultSet, String) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
- localDateTimeFromTimestamp(Timestamp) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Returns a
LocalDateTimefrom the givenTimestamp. - LocalPortChecker - Class in org.kiwiproject.net
-
Utility to check port availability and find open ports.
- LocalPortChecker() - Constructor for class org.kiwiproject.net.LocalPortChecker
- log(int, String) - Method in class org.kiwiproject.jsch.JSchSlf4jLogger
-
Log the given message at the given level.
- logAllExceptions(RetryResult<T>, Logger) - Static method in class org.kiwiproject.retry.RetryResultLogger
-
Log all exceptions contained in the result using the given logger.
- logExceptionTypesAndLast(RetryResult<T>, Logger) - Static method in class org.kiwiproject.retry.RetryResultLogger
-
Log the unique error types and the last exception contained in the result using the given logger.
- LoggingDeserializationProblemHandler - Class in org.kiwiproject.json
-
A Jackson
DeserializationProblemHandlerthat logs and keeps track of unknown properties during JSON deserialization. - LoggingDeserializationProblemHandler() - Constructor for class org.kiwiproject.json.LoggingDeserializationProblemHandler
-
Create a new instance with a no-op
unknownPropertyConsumer. - LoggingDeserializationProblemHandler(BiConsumer<String, Class<?>>) - Constructor for class org.kiwiproject.json.LoggingDeserializationProblemHandler
-
Create a new instance with the given
unknownPropertyConsumer. - logLastException(RetryResult<T>, Logger) - Static method in class org.kiwiproject.retry.RetryResultLogger
-
Log only the last exception contained in the result using the given logger.
- logLevelForSubsequentAttempts(Level) - Method in class org.kiwiproject.retry.SimpleRetryer.SimpleRetryerBuilder
-
The SLF4J log level to use when logging retry attempts.
- logOrFail(String, String, RuntimeException) - Method in class org.kiwiproject.beans.BeanConverter
- logSummary(RetryResult<T>, Logger, String) - Static method in class org.kiwiproject.retry.RetryResultLogger
-
Logs a high-level summary of the result.
- logSummaryIfFailed(RetryResult<T>, Logger, Supplier<String>) - Static method in class org.kiwiproject.retry.RetryResultLogger
-
Logs a summary of the given result only if it
RetryResult.failed(). - logSummaryIfHasErrorsOrMultipleAttempts(RetryResult<T>, Logger, Supplier<String>) - Static method in class org.kiwiproject.retry.RetryResultLogger
-
Logs a summary of the given result only if it has any errors or more than one attempt was made.
- LongValue - Annotation Interface in org.kiwiproject.validation
-
The annotated element must have a value that can be converted to a Java long or
Long. - longValueOrNull(ResultSet, String) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Simplifies the JDBC silliness whereby getting a long value that is actually
nullreturns zero, and you have to check if the last value was actuallynullusing theResultSet.wasNull()method. - LongValueValidator - Class in org.kiwiproject.validation
-
Validates that a string value is a long value, i.e. that it can be converted to a long or
Long. - LongValueValidator() - Constructor for class org.kiwiproject.validation.LongValueValidator
M
- manage(LifecycleEnvironment, Runnable, Runnable) - Static method in class org.kiwiproject.dropwizard.lifecycle.KiwiDropwizardLifecycles
-
Creates a Dropwizard
Managedwhose start action isstartActionand whose stop action isstopAction, and attaches it to the given Dropwizardlifecycle. - ManagedCloseable - Class in org.kiwiproject.dropwizard.lifecycle
-
A Dropwizard
Managedthat manages a singleCloseableinstance. - ManagedCloseable(Closeable) - Constructor for class org.kiwiproject.dropwizard.lifecycle.ManagedCloseable
- manageOnlyStart(LifecycleEnvironment, Runnable) - Static method in class org.kiwiproject.dropwizard.lifecycle.KiwiDropwizardLifecycles
-
Creates a Dropwizard
Managedwhose start action isstartAction, and attaches it to the given Dropwizardlifecycle. - manageOnlyStop(LifecycleEnvironment, Runnable) - Static method in class org.kiwiproject.dropwizard.lifecycle.KiwiDropwizardLifecycles
-
Creates a Dropwizard
Managedwhose stop action isstopAction, and attaches it to the given Dropwizardlifecycle. - MAP_OF_STRING_TO_OBJECT_GENERIC_TYPE - Static variable in class org.kiwiproject.jaxrs.KiwiGenericTypes
- MAP_OF_STRING_TO_OBJECT_TYPE_REFERENCE - Static variable in class org.kiwiproject.jackson.KiwiTypeReferences
- maskedFieldRegexps(List<String>) - Method in class org.kiwiproject.json.PropertyMaskingOptions.PropertyMaskingOptionsBuilder
-
Regular expressions that define that field names to be masked, e.g.
- maskedFieldReplacementText(String) - Method in class org.kiwiproject.json.PropertyMaskingOptions.PropertyMaskingOptionsBuilder
-
The replacement text for masked field values.
- MatcherSpliterator - Class in org.kiwiproject.util.regex
-
A simple
Spliteratorover aMatcher. - MatcherSpliterator(Matcher) - Constructor for class org.kiwiproject.util.regex.MatcherSpliterator
- MatchSpliterator - Class in org.kiwiproject.regex
- MatchSpliterator(Matcher) - Constructor for class org.kiwiproject.regex.MatchSpliterator
-
Create a new instance from the given
Matcher. - matrixParam(String, Object...) - Method in class org.kiwiproject.jaxrs.client.WebTargetHelper
- max() - Element in annotation interface org.kiwiproject.validation.FieldRange
- max() - Element in annotation interface org.kiwiproject.validation.Range
- MAX_PORT - Static variable in class org.kiwiproject.net.LocalPortChecker
- maxAttempts(int) - Method in class org.kiwiproject.retry.KiwiRetryer.KiwiRetryerBuilder
- maxAttempts(int) - Method in class org.kiwiproject.retry.SimpleRetryer.SimpleRetryerBuilder
-
The maximum number of attempts before giving up.
- maxLabel() - Element in annotation interface org.kiwiproject.validation.FieldRange
- maxLabel() - Element in annotation interface org.kiwiproject.validation.Range
- mediaType(Response) - Static method in class org.kiwiproject.jaxrs.KiwiResponses
-
Return a media type suitable for use as the value of a corresponding HTTP header.
- MERGE_ARRAYS - Enum constant in enum class org.kiwiproject.json.JsonHelper.MergeOption
-
This option will cause arrays to be merged rather than replaced.
- mergeNodes(JsonNode, JsonNode, JsonHelper.MergeOption...) - Method in class org.kiwiproject.json.JsonHelper
-
Updates (mutates)
destinationNodewith values fromupdateNode. - mergeObjects(T, Object, JsonHelper.MergeOption...) - Method in class org.kiwiproject.json.JsonHelper
-
Merge values in
updateObjectinto the original object, using the given merge options. - message - Variable in class org.kiwiproject.base.KiwiThrowables.ThrowableInfo
- message() - Element in annotation interface org.kiwiproject.validation.DirectoryPath
- message() - Element in annotation interface org.kiwiproject.validation.FieldRange
- message() - Element in annotation interface org.kiwiproject.validation.FilePath
- message() - Element in annotation interface org.kiwiproject.validation.InEnum
- message() - Element in annotation interface org.kiwiproject.validation.IntValue
- message() - Element in annotation interface org.kiwiproject.validation.Ipv4Address
- message() - Element in annotation interface org.kiwiproject.validation.Ipv4AndPort
- message() - Element in annotation interface org.kiwiproject.validation.LongValue
- message() - Element in annotation interface org.kiwiproject.validation.Range
- message() - Element in annotation interface org.kiwiproject.validation.Required
- messageOf(Throwable) - Static method in class org.kiwiproject.base.KiwiThrowables
-
Get the message of
Throwable - messageOfNullable(Throwable) - Static method in class org.kiwiproject.base.KiwiThrowables
- methodNotAllowed(int) - Static method in class org.kiwiproject.net.KiwiHttpResponses
-
Check if the given status code is 405 Method Not Allowed.
- min() - Element in annotation interface org.kiwiproject.validation.FieldRange
- min() - Element in annotation interface org.kiwiproject.validation.Range
- minimumPageNumber - Variable in enum class org.kiwiproject.search.KiwiSearching.PageNumberingScheme
- minLabel() - Element in annotation interface org.kiwiproject.validation.FieldRange
- minLabel() - Element in annotation interface org.kiwiproject.validation.Range
- minusDays(Instant, long) - Static method in class org.kiwiproject.time.KiwiInstants
- minusHours(Instant, long) - Static method in class org.kiwiproject.time.KiwiInstants
- minusMinutes(Instant, long) - Static method in class org.kiwiproject.time.KiwiInstants
- minusMonths(Instant, long) - Static method in class org.kiwiproject.time.KiwiInstants
- minusUsingZDT(Instant, long, TemporalUnit) - Static method in class org.kiwiproject.time.KiwiInstants
-
Subtract any given
amountToSubtractof typeTemporalUnitfrom the given instant. - minusYears(Instant, long) - Static method in class org.kiwiproject.time.KiwiInstants
- mkdirs() - Element in annotation interface org.kiwiproject.validation.DirectoryPath
-
Whether this validator will attempt to create the directory if it does not exist.
- MongoRepositoryContext - Class in org.kiwiproject.spring.context
-
This class generates the context and factory necessary to programmatically initialize Spring Data
MongoRepositoryinterfaces. - MongoRepositoryContext(String) - Constructor for class org.kiwiproject.spring.context.MongoRepositoryContext
-
Create a new instance using the given MongoDB URI.
- MongoRepositoryContext(MongoTemplate) - Constructor for class org.kiwiproject.spring.context.MongoRepositoryContext
-
Create a new instance that will use the given
MongoTemplate. - movedPermanently(int) - Static method in class org.kiwiproject.net.KiwiHttpResponses
-
Check if the given status code is 301 Moved Permanently.
N
- nanoTime() - Method in class org.kiwiproject.base.DefaultEnvironment
- nanoTime() - Method in interface org.kiwiproject.base.KiwiEnvironment
-
Returns the current value of the running JVM's time source, in nanoseconds.
- networkAuthenticationRequired(int) - Static method in class org.kiwiproject.net.KiwiHttpResponses
-
Check if the given status code is 511 Network Authentication Required.
- newArrayStartingAtCircularOffset(T[], long, Class<T>) - Static method in class org.kiwiproject.collect.KiwiArrays
-
Returns a new array with the same elements and the same size as the original, however the initial position in the array is now the element specified by the "startOffset" and the array wraps around through the contents to end with "startOffset" - 1
- newBsonUndefinedToNullObjectConverter() - Static method in class org.kiwiproject.spring.data.KiwiMongoConverters
-
Create a new
KiwiMongoConverters.BsonUndefinedToNullStringConverter. - newByteArrayInputStream(String) - Static method in class org.kiwiproject.io.KiwiIO
-
Creates a new
ByteArrayInputStreamcontaining the bytes of the given string using the UTF-8 character set. - newByteArrayInputStream(String, Charset) - Static method in class org.kiwiproject.io.KiwiIO
-
Creates a new
ByteArrayInputStreamcontaining the bytes of the given string using the specified character set. - newByteArrayInputStreamOfLines(String...) - Static method in class org.kiwiproject.io.KiwiIO
-
Return a newly constructed
ByteArrayInputStreamcontaining the givenlinesseparated by theSystem.lineSeparator()and using UTF-8 as theCharsetwhen converting the joined lines to bytes. - newConcurrentHashMap(Object...) - Static method in class org.kiwiproject.collect.KiwiMaps
-
Creates a mutable,
ConcurrentHashMapinstance containing key/value pairs as parsed in pairs from theitemsargument. - newDropwizardJsonHelper() - Static method in class org.kiwiproject.json.JsonHelper
- newDropwizardObjectMapper() - Static method in class org.kiwiproject.json.JsonHelper
-
Creates a new
ObjectMapperconfigured using the DropwizardJackson.newObjectMapper()factory method. - newHashMap(Object...) - Static method in class org.kiwiproject.collect.KiwiMaps
-
Creates a mutable,
HashMapinstance containing key/value pairs as parsed in pairs from theitemsargument. - newInstance(Class<T>, List<Class<?>>, List<Object>) - Static method in class org.kiwiproject.reflect.KiwiReflection
-
Create a new instance of the given type using a constructor having the given parameter types, and supplying the arguments to that constructor.
- newInstanceExactParamTypes(Class<T>, List<Class<?>>, Object...) - Static method in class org.kiwiproject.reflect.KiwiReflection
-
This method is an alias for
KiwiReflection.newInstance(Class, List, List), with the arguments as varargs, which may be more convenient in some situations. - newInstanceInferringParamTypes(Class<T>, Object...) - Static method in class org.kiwiproject.reflect.KiwiReflection
-
Create a new instance of the given type using
argumentsto determine the constructor argument types, using the first matching constructor based on the argument types and actual constructor parameters. - newInstanceUsingNoArgsConstructor(Class<T>) - Static method in class org.kiwiproject.reflect.KiwiReflection
-
Convenience method to create a new instance of the given type using its no-args constructor.
- newJSONBObject(String) - Static method in class org.kiwiproject.jdbc.postgres.KiwiPostgres
-
Creates a new
PGobjectof typeKiwiPostgres.JSONB_TYPEwith the given JSON value. - newJSONObject(String) - Static method in class org.kiwiproject.jdbc.postgres.KiwiPostgres
-
Creates a new
PGobjectof typeKiwiPostgres.JSON_TYPEwith the given JSON value. - NEWLINE - Static variable in class org.kiwiproject.base.KiwiStrings
-
A newline character.
- newLinkedHashMap(Object...) - Static method in class org.kiwiproject.collect.KiwiMaps
-
Creates a mutable,
LinkedHashMapinstance containing key/value pairs as parsed in pairs from theitemsargument. - newListStartingAtCircularOffset(List<T>, long) - Static method in class org.kiwiproject.collect.KiwiLists
-
Returns a new list with the same elements and the same size as the original, however the initial position in the list is now the element specified by the "startOffset" and the list wraps around through the contents to end with "startOffset" - 1
- newMultivaluedMap(String...) - Static method in class org.kiwiproject.jaxrs.KiwiMultivaluedMaps
-
Create a new
MultivaluedMapfrom the given items, which are expected to be in alternating key/value pairs. - NewObject - Interface in org.kiwiproject.validation.group
-
An opinionated tagging/marker interface for validation of new (transient) objects.
- newObjectGroups() - Static method in class org.kiwiproject.validation.group.KiwiValidationGroups
-
Use this when validating a new (transient) object.
- newPGobject(String, String) - Static method in class org.kiwiproject.jdbc.postgres.KiwiPostgres
-
Creates a new
PGobjectof the specified type and with the given value. - newProperties(Object...) - Static method in class org.kiwiproject.collect.KiwiProperties
-
Crates a mutable
Propertiesinstance by parsing the items argument in pairs. - newProperties(String...) - Static method in class org.kiwiproject.collect.KiwiProperties
-
Creates a mutable
Propertiesinstance by parsing the items argument in pairs. - newProperties(List<String>) - Static method in class org.kiwiproject.collect.KiwiProperties
-
Creates a mutable
Propertiesinstance by parsing the items argument in pairs from the list. - newProperties(Map<String, String>) - Static method in class org.kiwiproject.collect.KiwiProperties
-
Makes creating a
Propertiesinstance from aMapa one-liner. - newPropertiesFromStringPairs(List<List<String>>) - Static method in class org.kiwiproject.collect.KiwiProperties
-
Creates a mutable
Propertiesinstance from each key/value pair list inside the outer list. - newResponse(Response.Status, Object) - Static method in class org.kiwiproject.jaxrs.KiwiResources
-
Builds a
Responsehaving the given status and entity. - newResponse(Response.Status, Object, MultivaluedMap<String, Object>) - Static method in class org.kiwiproject.jaxrs.KiwiResources
-
Builds a
Responsehaving the given status, entity, and headers. - newResponse(Response.Status, Object, String) - Static method in class org.kiwiproject.jaxrs.KiwiResources
-
Builds a
Responsehaving the given status, entity, and content type. - newResponse(Response.Status, Object, Map<String, Object>) - Static method in class org.kiwiproject.jaxrs.KiwiResources
-
Builds a
Responsehaving the given status, entity, and (single-valued) headers. - newResponseBufferingEntityFrom(Response) - Static method in class org.kiwiproject.jaxrs.KiwiResources
-
Convenience wrapper around
Response.fromResponse(Response)that also buffers the response entity by callingResponse.bufferEntity()on the given response. - newResponseBuilder(Response.Status, Object) - Static method in class org.kiwiproject.jaxrs.KiwiResources
-
Creates a
Response.ResponseBuilderhaving the given status and entity. - newResponseBuilder(Response.Status, Object, MultivaluedMap<String, Object>) - Static method in class org.kiwiproject.jaxrs.KiwiResources
-
Creates a
Response.ResponseBuilderhaving the given status, entity, and headers. - newResponseBuilder(Response.Status, Object, String) - Static method in class org.kiwiproject.jaxrs.KiwiResources
-
Creates a
Response.ResponseBuilderhaving the given status, entity, and content type. - newResponseBuilder(Response.Status, Object, Map<String, Object>) - Static method in class org.kiwiproject.jaxrs.KiwiResources
-
Creates a
Response.ResponseBuilderhaving the given status, entity, and (single-valued) headers. - newResponseBuilderBufferingEntityFrom(Response) - Static method in class org.kiwiproject.jaxrs.KiwiResources
-
Convenience wrapper around
Response.fromResponse(Response)that also buffers the response entity by callingResponse.bufferEntity()on the given response. - newRetryer() - Method in class org.kiwiproject.retry.SimpleRetryerConfig
-
Construct a new instance using the values in this configuration.
- newRetryerRetryingAllExceptions(String) - Static method in class org.kiwiproject.retry.KiwiRetryer
-
Create a new instance that will retry on all exceptions.
- newRetryerRetryingAllRuntimeExceptions(String) - Static method in class org.kiwiproject.retry.KiwiRetryer
-
Create a new instance that will retry on all runtime exceptions.
- newRetryerWithDefaultExceptions(String) - Static method in class org.kiwiproject.retry.KiwiRetryer
-
Create a new instance with several common network-related exception predicates.
- newRetryerWithDefaults() - Static method in class org.kiwiproject.retry.KiwiRetryer
-
Create a new instance with only the default values.
- newSingleValuedParameterMap(String...) - Static method in class org.kiwiproject.jaxrs.KiwiMultivaluedMaps
-
Create a new
MultivaluedMapfrom the given items, which are expected to be in alternating key/value pairs. - newTreeMap(Object...) - Static method in class org.kiwiproject.collect.KiwiMaps
-
Creates a mutable,
TreeMapinstance containing key/value pairs as parsed in pairs from theitemsargument. - newUnmodifiableConcurrentHashMap(Object...) - Static method in class org.kiwiproject.collect.KiwiMaps
-
Creates an unmodifiable,
ConcurrentHashMapinstance containing key/value pairs as parsed in pairs from theitemsargument. - newUnmodifiableHashMap(Object...) - Static method in class org.kiwiproject.collect.KiwiMaps
-
Creates an unmodifiable
HashMapinstance containing key/value pairs as parsed in pairs from theitemsargument. - newUnmodifiableLinkedHashMap(Object...) - Static method in class org.kiwiproject.collect.KiwiMaps
-
Creates an unmodifiable,
LinkedHashMapinstance containing key/value pairs as parsed in pairs from theitemsargument. - newUnmodifiableTreeMap(Object...) - Static method in class org.kiwiproject.collect.KiwiMaps
-
Creates an unmodifiable,
TreeMapinstance containing key/value pairs as parsed in pairs from theitemsargument. - newValidator() - Static method in class org.kiwiproject.validation.KiwiValidations
-
Creates a new, default
Validatorinstance using the default validator factory provided by the underlying bean validation implementation, for example Hibernate Valdiator. - newVaultPasswordFilePath(String) - Method in class org.kiwiproject.ansible.vault.VaultRekeyCommand.VaultRekeyCommandBuilder
- newXMLGregorianCalendar() - Static method in class org.kiwiproject.xml.KiwiXmlConverters
-
Create a new
XMLGregorianCalendarin the default time zone that is initialized to the current date/time. - newXMLGregorianCalendar(ZoneId) - Static method in class org.kiwiproject.xml.KiwiXmlConverters
-
Create a new
XMLGregorianCalendarin the given time zone that is initialized to the current date/time. - newXMLGregorianCalendarUTC() - Static method in class org.kiwiproject.xml.KiwiXmlConverters
-
Create a new
XMLGregorianCalendarin UTC that is initialized to the current date/time. - nextCauseOf(Throwable) - Static method in class org.kiwiproject.base.KiwiThrowables
-
Get the direct cause of the
Throwable. - nextCauseOfNullable(Throwable) - Static method in class org.kiwiproject.base.KiwiThrowables
- nextOrThrow(ResultSet) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Attempt to call
ResultSet.next()on the given ResultSet, and throw anIllegalStateExceptionif the result set was not advanced. - nextOrThrow(ResultSet, String) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Attempt to call
ResultSet.next()on the given ResultSet, and throw anIllegalStateExceptionif the result set was not advanced. - nextOrThrow(ResultSet, String, Object...) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Attempt to call
ResultSet.next()on the given ResultSet, and throw anIllegalStateExceptionif the result set was not advanced. - NO - Enum constant in enum class org.kiwiproject.xml.KiwiXml.NamespaceValidation
- NO_OP - Enum constant in enum class org.kiwiproject.base.process.KillTimeoutAction
-
No action is taken after timeout
- NO_ROUTE_TO_HOST - Static variable in class org.kiwiproject.retry.KiwiRetryerPredicates
-
Check if a given
Exceptionis or has a root cause ofNoRouteToHostException. - noContent(int) - Static method in class org.kiwiproject.net.KiwiHttpResponses
-
Check if the given status code is 204 No Content.
- NoMatchesFoundException - Exception in org.kiwiproject.util.regex
-
Exception class to indicate a regular expression match did not match.
- NoMatchesFoundException(String) - Constructor for exception org.kiwiproject.util.regex.NoMatchesFoundException
-
Create a new instance with the given message.
- NON_ZERO_AS_TRUE - Enum constant in enum class org.kiwiproject.base.KiwiPrimitives.BooleanConversionOption
-
Convert numeric values into boolean where any non-zero value represents true, and zero represents false.
- none() - Static method in class org.kiwiproject.config.UrlRewriteConfiguration
-
Returns and instance that will not perform any URL rewriting.
- nonStaticFieldsInHierarchy(Class<?>) - Static method in class org.kiwiproject.reflect.KiwiReflection
-
Builds a list of all the declared non-static fields in an object including all parent non-static fields.
- noOp() - Static method in class org.kiwiproject.util.function.KiwiBiConsumers
-
Provides a type-consistent, no-op
BiConsumer. - noOp() - Static method in class org.kiwiproject.util.function.KiwiConsumers
-
Provides a type-consistent, no-op
Consumer. - NoSuchElementExceptionMapper - Class in org.kiwiproject.jaxrs.exception
-
Map
NoSuchElementExceptiontoResponse. - NoSuchElementExceptionMapper() - Constructor for class org.kiwiproject.jaxrs.exception.NoSuchElementExceptionMapper
- notAcceptable(int) - Static method in class org.kiwiproject.net.KiwiHttpResponses
-
Check if the given status code is 406 Not Acceptable.
- notEquals(Enum<E>, CharSequence) - Static method in class org.kiwiproject.base.KiwiEnums
-
Compares the given enum's
namewith the given value for inverse equality, i.e. they are not equal. - notEqualsIgnoreCase(Enum<E>, CharSequence) - Static method in class org.kiwiproject.base.KiwiEnums
-
Compares the given enum's
namewith the given value, ignoring case, for inverse equality, i.e. they are not equal. - notFound(int) - Static method in class org.kiwiproject.net.KiwiHttpResponses
-
Check if the given status code is 404 Not Found.
- notFound(Response) - Static method in class org.kiwiproject.jaxrs.KiwiResponses
-
Check if the given response has status 404 Not Found.
- notImplemented(int) - Static method in class org.kiwiproject.net.KiwiHttpResponses
-
Check if the given status code is 501 Not Implemented.
- notModified(int) - Static method in class org.kiwiproject.net.KiwiHttpResponses
-
Check if the given status code is 304 Not Modified.
- notSuccessful(int) - Static method in class org.kiwiproject.jaxrs.KiwiResponses
-
Check if the given status code is not in
Response.Status.Family.SUCCESSFUL. - notSuccessful(int) - Static method in class org.kiwiproject.net.KiwiHttpResponses
-
Check if the given status code is not in the successful family (2xx codes).
- notSuccessful(Response) - Static method in class org.kiwiproject.jaxrs.KiwiResponses
-
Check if the given response has a status code that is not in
Response.Status.Family.SUCCESSFUL. - notSuccessful(Response.Status) - Static method in class org.kiwiproject.jaxrs.KiwiResponses
-
Check if the given status code is not in
Response.Status.Family.SUCCESSFUL. - notSuccessful(Response.Status.Family) - Static method in class org.kiwiproject.jaxrs.KiwiResponses
-
Check if the given response family is not
Response.Status.Family.SUCCESSFUL. - notSuccessful(Response.StatusType) - Static method in class org.kiwiproject.jaxrs.KiwiResponses
-
Check if the given status type is not in
Response.Status.Family.SUCCESSFUL. - notSuccessfulAlwaysClosing(Response) - Static method in class org.kiwiproject.jaxrs.KiwiResponses
-
Check if the given response has a status code that is not in
Response.Status.Family.SUCCESSFUL, then close the response. - nth(List<T>, int) - Static method in class org.kiwiproject.collect.KiwiLists
-
Return the nth element in the specified list of items, starting at one for the first element, two for the second, etc.
- nth(T[], int) - Static method in class org.kiwiproject.collect.KiwiArrays
-
Return the nth element in the specified array of items, starting at one for the first element, two for the second, etc.
- nullSafeGet(ResultSet, int, SharedSessionContractImplementor, Object) - Method in class org.kiwiproject.hibernate.usertype.JSONBUserType
- nullSafeSet(PreparedStatement, String, int, SharedSessionContractImplementor) - Method in class org.kiwiproject.hibernate.usertype.JSONBUserType
- nullSafeSetDateAsTimestamp(PreparedStatement, int, Date) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Sets the
Datevalue in a null-safe manner by using thePreparedStatement.setNull(int, int)method fornullvalues. - nullSafeSetDateAsTimestamp(PreparedStatement, int, Date, int) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Sets the
Datevalue in a null-safe manner by using thePreparedStatement.setNull(int, int)method fornullvalues. - nullSafeSetDouble(PreparedStatement, int, Double) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Sets the
Doublevalue in a null-safe manner by using thePreparedStatement.setNull(int, int)method fornullvalues. - nullSafeSetDouble(PreparedStatement, int, Double, int) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Sets the
Doublevalue in a null-safe manner by using thePreparedStatement.setNull(int, int)method fornullvalues. - nullSafeSetInt(PreparedStatement, int, Integer) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Sets the
Integervalue in a null-safe manner by using thePreparedStatement.setNull(int, int)method fornullvalues. - nullSafeSetInt(PreparedStatement, int, Integer, int) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Sets the
Integervalue in a null-safe manner by using thePreparedStatement.setNull(int, int)method fornullvalues. - nullSafeSetLong(PreparedStatement, int, Long) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Sets the
Longvalue in a null-safe manner by using thePreparedStatement.setNull(int, int)method fornullvalues. - nullSafeSetLong(PreparedStatement, int, Long, int) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Sets the
Longvalue in a null-safe manner by using thePreparedStatement.setNull(int, int)method fornullvalues. - nullSafeSetString(PreparedStatement, int, String) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Sets the
Stringvalue in a null-safe manner by using thePreparedStatement.setNull(int, int)method fornullvalues. - nullSafeSetString(PreparedStatement, int, String, int) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Sets the
Stringvalue in a null-safe manner by using thePreparedStatement.setNull(int, int)method fornullvalues. - nullSafeSetTimestamp(PreparedStatement, int, Timestamp) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Sets the
Timestampvalue in a null-safe manner by using thePreparedStatement.setNull(int, int)method fornullvalues. - nullSafeSetTimestamp(PreparedStatement, int, Timestamp, int) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Sets the
Timestampvalue in a null-safe manner by using thePreparedStatement.setNull(int, int)method fornullvalues. - nullSafeSplitOnCommas(CharSequence) - Static method in class org.kiwiproject.base.KiwiStrings
-
Convenience method that splits the given comma-delimited
CharSequence, omitting any empty strings and trimming leading and trailing whitespace. - nullSafeSplitToList(CharSequence) - Static method in class org.kiwiproject.base.KiwiStrings
-
Splits the given
CharSequence, using aKiwiStrings.SPACEas the separator character, omitting any empty strings and trimming leading and trailing whitespace. - nullSafeSplitToList(CharSequence, char) - Static method in class org.kiwiproject.base.KiwiStrings
-
Splits the given
CharSequence, using the specified separator character, omitting any empty strings and trimming leading and trailing whitespace. - nullSafeSplitToList(CharSequence, char, int) - Static method in class org.kiwiproject.base.KiwiStrings
-
Splits the given
CharSequence, using the specified separator character, into the maximum number of groups specified omitting any empty strings and trimming leading and trailing whitespace. - nullSafeSplitToList(CharSequence, String) - Static method in class org.kiwiproject.base.KiwiStrings
-
Splits the given
CharSequence, using the specified separator string, omitting any empty strings and trimming leading and trailing whitespace. - nullSafeSplitToList(CharSequence, String, int) - Static method in class org.kiwiproject.base.KiwiStrings
-
Splits the given
CharSequence, using the specified separator string, into the maximum number of groups specified omitting any empty strings and trimming leading and trailing whitespace. - nullSafeSplitWithTrimAndOmitEmpty(CharSequence) - Static method in class org.kiwiproject.base.KiwiStrings
-
Splits the given
CharSequence, using aKiwiStrings.SPACEas the separator character, omitting any empty strings and trimming leading and trailing whitespace. - nullSafeSplitWithTrimAndOmitEmpty(CharSequence, char) - Static method in class org.kiwiproject.base.KiwiStrings
-
Splits the given
CharSequence, using the specified separator character, omitting any empty strings and trimming leading and trailing whitespace. - nullSafeSplitWithTrimAndOmitEmpty(CharSequence, String) - Static method in class org.kiwiproject.base.KiwiStrings
-
Splits the given
CharSequence, using the specified separator string, omitting any empty strings and trimming leading and trailing whitespace. - number() - Method in enum class org.kiwiproject.base.process.KillSignal
- numberOfPages(long, int) - Static method in class org.kiwiproject.search.KiwiSearching
-
Calculate the number of pages necessary to paginate the given number of results using the given page size.
- numberOnPage(long, int, int) - Static method in class org.kiwiproject.search.KiwiSearching
-
Calculate the number of results on the given page number for the given number of results and page size.
- numberOnPage(long, int, int, KiwiSearching.PageNumberingScheme) - Static method in class org.kiwiproject.search.KiwiSearching
-
Calculate the number of results on the given page number for the given number of results and page size, and using the given
KiwiSearching.PageNumberingScheme.
O
- object() - Method in record class org.kiwiproject.io.KiwiIO.CloseableResource
-
Returns the value of the
objectrecord component. - of(long, long, long, List<T>) - Static method in class org.kiwiproject.spring.data.KiwiPage
-
Create a new instance.
- of(Throwable) - Static method in class org.kiwiproject.base.KiwiThrowables.ThrowableInfo
-
Factory method.
- of(Class<T>) - Static method in class org.kiwiproject.spring.data.AggregateResult
-
Factory to create
AggregateResultinstances of a given type. - of(Exception) - Static method in class org.kiwiproject.io.TimeBasedDirectoryCleaner.DeleteError
- of(String) - Static method in class org.kiwiproject.io.TimeBasedDirectoryCleaner.DeleteError
- of(String, String) - Static method in class org.kiwiproject.spring.data.KiwiSort
-
Create a new instance.
- of(String, KiwiSort.Direction) - Static method in class org.kiwiproject.spring.data.KiwiSort
-
Create a new instance.
- of(TimeBasedDirectoryCleaner.FileDeleteResult) - Static method in class org.kiwiproject.io.TimeBasedDirectoryCleaner.DeleteError
- ofAscending(String) - Static method in class org.kiwiproject.spring.data.KiwiSort
-
Create a new instance with ascending sort direction.
- ofDescending(String) - Static method in class org.kiwiproject.spring.data.KiwiSort
-
Create a new instance with descending sort direction.
- ofErrorMessages(List<ErrorMessage>) - Static method in exception org.kiwiproject.jaxrs.exception.JaxrsValidationException
-
Factory method to create validation exception from a non-null list of
ErrorMessage. - ofPrettyValue(boolean) - Static method in enum class org.kiwiproject.json.JsonHelper.OutputFormat
-
Convert the given boolean value to the appropriate
JsonHelper.OutputFormat. - ofPrettyValue(Boolean) - Static method in enum class org.kiwiproject.json.JsonHelper.OutputFormat
-
Parse the (nullable) Boolean value into an
JsonHelper.OutputFormat. - ofPrettyValue(String) - Static method in enum class org.kiwiproject.json.JsonHelper.OutputFormat
-
Parse the given string as a boolean into an
JsonHelper.OutputFormat. - ok(int) - Static method in class org.kiwiproject.net.KiwiHttpResponses
-
Check if the given status code is 200 OK.
- ok(Response) - Static method in class org.kiwiproject.jaxrs.KiwiResponses
-
Check if the given response has status 200 OK.
- okResponse(Object) - Static method in class org.kiwiproject.jaxrs.KiwiResources
-
Builds a
Responsewith 200 OK status and a specified entity. - okResponseBuilder(Object) - Static method in class org.kiwiproject.jaxrs.KiwiResources
-
Creates a
Response.ResponseBuilderhaving 200 OK status and a specified entity. - ONE_BASED - Enum constant in enum class org.kiwiproject.search.KiwiSearching.PageNumberingScheme
-
Page numbers start at one.
- onFailure(Response, Consumer<Response>) - Static method in class org.kiwiproject.jaxrs.KiwiResponses
-
Given a
Response, perform an action only if it was not successful (failureConsumer). - onFailure(Supplier<Response>, Consumer<Response>, Consumer<RuntimeException>) - Static method in class org.kiwiproject.jaxrs.KiwiResponses
-
Given a
ResponseSupplier, perform an action only if it was not successful (failureConsumer), or if the Supplier threw an exception (exceptionConsumer). - onFailureThrow(Response, Function<Response, ? extends RuntimeException>) - Static method in class org.kiwiproject.jaxrs.KiwiResponses
- onFailureThrow(Supplier<Response>, Function<Response, ? extends RuntimeException>) - Static method in class org.kiwiproject.jaxrs.KiwiResponses
-
Given a
ResponseSupplier, throw a (subclass of)RuntimeExceptionfor failed responses usingthrowingFun. - onSuccess(Response, Consumer<Response>) - Static method in class org.kiwiproject.jaxrs.KiwiResponses
-
Given a
Response, perform an action only if it was successful (successConsumer. - onSuccess(Supplier<Response>, Consumer<Response>) - Static method in class org.kiwiproject.jaxrs.KiwiResponses
-
Given a
ResponseSupplier, perform an action only if it was successful (successConsumer. - onSuccessOrFailure(Response, Consumer<Response>, Consumer<Response>) - Static method in class org.kiwiproject.jaxrs.KiwiResponses
-
Given a
Response, perform an action depending on whether it was successful (successConsumer) or failed (failureConsumer). - onSuccessOrFailure(Supplier<Response>, Consumer<Response>, Consumer<Response>, Consumer<RuntimeException>) - Static method in class org.kiwiproject.jaxrs.KiwiResponses
-
Given a
ResponseSupplier, perform an action depending on whether it was successful (successConsumer), failed (failureConsumer), or if the Supplier threw an exception (exceptionConsumer). - onSuccessOrFailureThrow(Response, Consumer<Response>, Function<Response, ? extends RuntimeException>) - Static method in class org.kiwiproject.jaxrs.KiwiResponses
-
Given a
Response, perform an action if it was successful (successConsumeror throw an exception supplied bythrowingFun. - onSuccessOrFailureThrow(Supplier<Response>, Consumer<Response>, Function<Response, ? extends RuntimeException>) - Static method in class org.kiwiproject.jaxrs.KiwiResponses
-
Given a
ResponseSupplier, perform an action if it was successful (successConsumer. - onSuccessOrFailureWithResult(Response, Function<Response, T>, Function<Response, T>) - Static method in class org.kiwiproject.jaxrs.KiwiResponses
-
Given a
Response, perform an action that returns a result if the response was successful (successFun) or if not successful (failedFun). - onSuccessOrFailureWithResult(Supplier<Response>, Function<Response, T>, Function<Response, T>, Function<RuntimeException, T>) - Static method in class org.kiwiproject.jaxrs.KiwiResponses
-
Given a
ResponseSupplier, perform an action that returns a result if the response was successful (successFun. - onSuccessWithResult(Response, Function<Response, T>) - Static method in class org.kiwiproject.jaxrs.KiwiResponses
-
Given a
Response, perform an action that returns a result only if it was successful (successFun). - onSuccessWithResult(Supplier<Response>, Function<Response, T>) - Static method in class org.kiwiproject.jaxrs.KiwiResponses
-
Given a
ResponseSupplier, perform an action that returns a result only if it was successful (successFun). - onSuccessWithResultOrFailure(Response, Function<Response, T>, Consumer<Response>) - Static method in class org.kiwiproject.jaxrs.KiwiResponses
-
Given a
Response, perform an action that returns a result if the response was successful (successFun) or perform an action if the response was unsuccessful (failureConsumer. - onSuccessWithResultOrFailure(Supplier<Response>, Function<Response, T>, Consumer<Response>, Consumer<RuntimeException>) - Static method in class org.kiwiproject.jaxrs.KiwiResponses
-
Given a
ResponseSupplier, perform an action that returns a result if the response was successful (successFun). - onSuccessWithResultOrFailureThrow(Response, Function<Response, T>, Function<Response, ? extends RuntimeException>) - Static method in class org.kiwiproject.jaxrs.KiwiResponses
-
Given a
Response, perform an action that returns a result if it was successful (successFunor throw a (subclass of)RuntimeExceptionif it failed (throwingFun). - onSuccessWithResultOrFailureThrow(Supplier<Response>, Function<Response, T>, Function<Response, ? extends RuntimeException>) - Static method in class org.kiwiproject.jaxrs.KiwiResponses
-
Given a
ResponseSupplier, perform an action that returns a result if it was successful (successFunor throw a (subclass of)RuntimeExceptionif it failed (throwingFun). - Optionals - Class in org.kiwiproject.base
- org.kiwiproject.ansible.vault - package org.kiwiproject.ansible.vault
- org.kiwiproject.base - package org.kiwiproject.base
- org.kiwiproject.base.process - package org.kiwiproject.base.process
- org.kiwiproject.beans - package org.kiwiproject.beans
- org.kiwiproject.collect - package org.kiwiproject.collect
- org.kiwiproject.concurrent - package org.kiwiproject.concurrent
- org.kiwiproject.config - package org.kiwiproject.config
- org.kiwiproject.dropwizard.config - package org.kiwiproject.dropwizard.config
- org.kiwiproject.dropwizard.jdbi3 - package org.kiwiproject.dropwizard.jdbi3
- org.kiwiproject.dropwizard.lifecycle - package org.kiwiproject.dropwizard.lifecycle
- org.kiwiproject.dropwizard.metrics.health - package org.kiwiproject.dropwizard.metrics.health
- org.kiwiproject.hibernate.usertype - package org.kiwiproject.hibernate.usertype
- org.kiwiproject.io - package org.kiwiproject.io
- org.kiwiproject.jackson - package org.kiwiproject.jackson
- org.kiwiproject.jackson.ser - package org.kiwiproject.jackson.ser
- org.kiwiproject.jar - package org.kiwiproject.jar
- org.kiwiproject.jaxrs - package org.kiwiproject.jaxrs
- org.kiwiproject.jaxrs.client - package org.kiwiproject.jaxrs.client
- org.kiwiproject.jaxrs.exception - package org.kiwiproject.jaxrs.exception
- org.kiwiproject.jaxws - package org.kiwiproject.jaxws
- org.kiwiproject.jdbc - package org.kiwiproject.jdbc
- org.kiwiproject.jdbc.postgres - package org.kiwiproject.jdbc.postgres
- org.kiwiproject.jsch - package org.kiwiproject.jsch
- org.kiwiproject.json - package org.kiwiproject.json
- org.kiwiproject.logging - package org.kiwiproject.logging
- org.kiwiproject.mongo - package org.kiwiproject.mongo
- org.kiwiproject.net - package org.kiwiproject.net
- org.kiwiproject.reflect - package org.kiwiproject.reflect
- org.kiwiproject.regex - package org.kiwiproject.regex
- org.kiwiproject.retry - package org.kiwiproject.retry
- org.kiwiproject.search - package org.kiwiproject.search
- org.kiwiproject.security - package org.kiwiproject.security
- org.kiwiproject.spring.config - package org.kiwiproject.spring.config
- org.kiwiproject.spring.context - package org.kiwiproject.spring.context
- org.kiwiproject.spring.data - package org.kiwiproject.spring.data
- org.kiwiproject.stream - package org.kiwiproject.stream
- org.kiwiproject.time - package org.kiwiproject.time
- org.kiwiproject.util.function - package org.kiwiproject.util.function
- org.kiwiproject.util.regex - package org.kiwiproject.util.regex
- org.kiwiproject.validation - package org.kiwiproject.validation
- org.kiwiproject.validation.group - package org.kiwiproject.validation.group
- org.kiwiproject.xml - package org.kiwiproject.xml
- org.kiwiproject.yaml - package org.kiwiproject.yaml
- OsCommand - Interface in org.kiwiproject.base.process
-
Interface that describes a simple contract for an operating system command.
- otherFamily(int) - Static method in class org.kiwiproject.net.KiwiHttpResponses
-
Check if the given status code is not in a known family.
- otherFamily(Response) - Static method in class org.kiwiproject.jaxrs.KiwiResponses
-
Check if the given response is in the OTHER (unrecognized status codes) family.
- OUTPUT_FILE_STDOUT - Static variable in class org.kiwiproject.ansible.vault.VaultDecryptCommand
- outputFilePath(String) - Method in class org.kiwiproject.ansible.vault.VaultDecryptCommand.VaultDecryptCommandBuilder
P
- packagesToScanForEntities(Class<?>...) - Static method in class org.kiwiproject.spring.config.KiwiSpringJavaConfigs
-
Determines entity packages using specified entity classes.
- PAGE_SIZE_ERROR - Static variable in class org.kiwiproject.search.KiwiSearching
- pageNumberError - Variable in enum class org.kiwiproject.search.KiwiSearching.PageNumberingScheme
- paginate(MongoTemplate, P, Class<T>) - Static method in class org.kiwiproject.spring.data.KiwiSpringMongoQueries
-
Paginate objects of the given class, which are assumed to be mapped to a Mongo collection, using the given paging parameters.
- paginate(MongoTemplate, P, Class<T>, BiConsumer<PagingQuery, P>) - Static method in class org.kiwiproject.spring.data.KiwiSpringMongoQueries
-
Paginate objects of the given class, which are assumed to be mapped to a Mongo collection, using the given paging parameters.
- PaginatedResult - Interface in org.kiwiproject.search
-
Simple interface defining basic pagination for any kind of search, e.g. a database query, SOLR search, etc.
- PagingParams - Interface in org.kiwiproject.spring.data
-
Defines the contract for query parameters for performing pagination and sorting.
- PagingQuery - Class in org.kiwiproject.spring.data
-
A subclass of
Querythat adds pagination helpers. - PagingQuery(MongoTemplate) - Constructor for class org.kiwiproject.spring.data.PagingQuery
-
Construct an instance.
- PagingRequest - Class in org.kiwiproject.spring.data
-
Jakarta REST based implementation of
PagingParams. - PagingRequest() - Constructor for class org.kiwiproject.spring.data.PagingRequest
- PARALLEL - Enum constant in enum class org.kiwiproject.collect.KiwiStreams.StreamMode
-
A possibly parallel stream.
- parseAsDate(String) - Static method in class org.kiwiproject.time.KiwiDateTimeParsers
-
Converts the given date/time string into a
DateusingDateTimeFormatter.ISO_ZONED_DATE_TIMEas the formatter. - parseAsLocalDate(String) - Static method in class org.kiwiproject.time.KiwiDateTimeParsers
-
Converts the given date string into a
LocalDateusingDateTimeFormatter.ISO_LOCAL_DATEas the formatter. - parseAsLocalDate(String, DateTimeFormatter) - Static method in class org.kiwiproject.time.KiwiDateTimeParsers
-
Converts the given date string into a
LocalDateusing the given formatter. - parseAsLocalDateTime(String) - Static method in class org.kiwiproject.time.KiwiDateTimeParsers
-
Converts the given date/time string into a
LocalDateTimeusingDateTimeFormatter.ISO_LOCAL_DATE_TIMEas the formatter. - parseAsLocalDateTime(String, DateTimeFormatter) - Static method in class org.kiwiproject.time.KiwiDateTimeParsers
-
Converts the given date/time string into a
LocalDateTimeusing the given formatter. - parseAsZonedDateTime(String) - Static method in class org.kiwiproject.time.KiwiDateTimeParsers
-
Converts the given date/time string into a
ZonedDateTimeusingDateTimeFormatter.ISO_ZONED_DATE_TIMEas the formatter. - parseAsZonedDateTime(String, DateTimeFormatter) - Static method in class org.kiwiproject.time.KiwiDateTimeParsers
-
Converts the given date/time string into a
ZonedDateTimeusing the specifiedDateTimeFormatter. - PARTIAL_MATCH - Enum constant in enum class org.kiwiproject.spring.data.KiwiSpringMongoQueries.PartialMatchType
-
Permits regex matching in a case-insensitive manner.
- partialContent(int) - Static method in class org.kiwiproject.net.KiwiHttpResponses
-
Check if the given status code is 206 Partial Content.
- parts() - Method in class org.kiwiproject.ansible.vault.VaultDecryptCommand
- parts() - Method in class org.kiwiproject.ansible.vault.VaultEncryptCommand
- parts() - Method in class org.kiwiproject.ansible.vault.VaultEncryptStringCommand
- parts() - Method in class org.kiwiproject.ansible.vault.VaultRekeyCommand
- parts() - Method in class org.kiwiproject.ansible.vault.VaultViewCommand
- parts() - Method in interface org.kiwiproject.base.process.OsCommand
-
Returns a list containing the command and all its arguments, which can then be used to construct a
ProcessBuilder. - partsAsArray() - Method in interface org.kiwiproject.base.process.OsCommand
-
Returns a string array containing the command and all its arguments, which can be used to construct a
ProcessBuilder. - password(String) - Method in class org.kiwiproject.jsch.SftpConfig.SftpConfigBuilder
-
The password, only used if password authentication is used.
- path(String) - Method in class org.kiwiproject.config.EndpointConfiguration.Builder
- path(String) - Method in class org.kiwiproject.jaxrs.client.WebTargetHelper
- path(String) - Method in class org.kiwiproject.net.KiwiUrls.Components.ComponentsBuilder
- PATH_GROUP - Static variable in class org.kiwiproject.net.KiwiUrls
- pathFromResourceName(String) - Static method in class org.kiwiproject.io.KiwiPaths
-
This wraps Guava's
Resources.getResource(String)and converts it to aPath - pathPrefix(String) - Method in class org.kiwiproject.config.UrlRewriteConfiguration.UrlRewriteConfigurationBuilder
-
If specified, then URIs/URLs generated by
EndpointConfigurationwill include this prefix, e.g. - pathStringOf(ConstraintViolation<T>) - Static method in class org.kiwiproject.validation.KiwiConstraintViolations
-
Convenience method to get the property path of the
ConstraintViolationas a String. - payload() - Element in annotation interface org.kiwiproject.validation.DirectoryPath
- payload() - Element in annotation interface org.kiwiproject.validation.FieldRange
- payload() - Element in annotation interface org.kiwiproject.validation.FilePath
- payload() - Element in annotation interface org.kiwiproject.validation.InEnum
- payload() - Element in annotation interface org.kiwiproject.validation.IntValue
- payload() - Element in annotation interface org.kiwiproject.validation.Ipv4Address
- payload() - Element in annotation interface org.kiwiproject.validation.Ipv4AndPort
- payload() - Element in annotation interface org.kiwiproject.validation.LongValue
- payload() - Element in annotation interface org.kiwiproject.validation.Range
- payload() - Element in annotation interface org.kiwiproject.validation.Required
- paymentRequired(int) - Static method in class org.kiwiproject.net.KiwiHttpResponses
-
Check if the given status code is 402 Payment Required.
- penultimate(List<T>) - Static method in class org.kiwiproject.collect.KiwiLists
-
Returns the penultimate (second to last) element in the specified list.
- penultimate(T[]) - Static method in class org.kiwiproject.collect.KiwiArrays
-
Returns the penultimate (second to last) element in the specified array.
- permanentRedirect(int) - Static method in class org.kiwiproject.net.KiwiHttpResponses
-
Check if the given status code is 308 Permanent Redirect.
- pgrep(String) - Static method in class org.kiwiproject.base.process.Processes
-
Does a
pgrepwith the specified full command. - pgrep(String) - Method in class org.kiwiproject.base.process.ProcessHelper
-
Does a
pgrepwith the specified full command. - pgrep(String, String) - Static method in class org.kiwiproject.base.process.Processes
-
Does a
pgrepwith the specified full command. - pgrep(String, String) - Method in class org.kiwiproject.base.process.ProcessHelper
-
Does a
pgrepwith the specified full command. - pgrepList(String) - Static method in class org.kiwiproject.base.process.Processes
-
Does a
pgrepwith the specified full command. - pgrepList(String) - Method in class org.kiwiproject.base.process.ProcessHelper
-
Does a
pgrepwith the specified full command. - pgrepList(String, String) - Static method in class org.kiwiproject.base.process.Processes
-
Does a
pgrepwith the specified full command. - pgrepList(String, String) - Method in class org.kiwiproject.base.process.ProcessHelper
-
Does a
pgrepwith the specified full command. - pgrepParsedList(String) - Static method in class org.kiwiproject.base.process.Processes
-
Does a
pgrepfor the specified full command, returning a list of pairs containing the process id (pid) and the matched command line. - pgrepParsedList(String) - Method in class org.kiwiproject.base.process.ProcessHelper
-
Does a
pgrepfor the specified full command, returning a list of pairs containing the process id (pid) and the matched command line. - pgrepParsedList(String, String) - Static method in class org.kiwiproject.base.process.Processes
-
Does a
pgrepfor the specified full command, returning a list of pairs containing the process id (pid) and the matched command line. - pgrepParsedList(String, String) - Method in class org.kiwiproject.base.process.ProcessHelper
-
Does a
pgrepfor the specified full command, returning a list of pairs containing the process id (pid) and the matched command line. - pgrepWithSingleResult(String) - Static method in class org.kiwiproject.base.process.Processes
-
Does a
pgrepagainst the specified full command, expecting a single result, or no result. - pgrepWithSingleResult(String) - Method in class org.kiwiproject.base.process.ProcessHelper
-
Does a
pgrepagainst the specified full command, expecting a single result, or no result. - pgrepWithSingleResult(String, String) - Static method in class org.kiwiproject.base.process.Processes
-
Does a
pgrepagainst the specified full command, expecting a single result for a specific user, or no result. - pgrepWithSingleResult(String, String) - Method in class org.kiwiproject.base.process.ProcessHelper
-
Does a
pgrepagainst the specified full command, expecting a single result for a specific user, or no result. - PKCS11 - Enum constant in enum class org.kiwiproject.security.KeyStoreType
-
A keystore backed by a PCKS #11 token.
- PKCS12 - Enum constant in enum class org.kiwiproject.security.KeyStoreType
-
The transfer syntax for personal identity information as defined in PKCS #12.
- plainText(String) - Method in class org.kiwiproject.ansible.vault.VaultEncryptStringCommand.VaultEncryptStringCommandBuilder
- plainTextFilePath(String) - Method in class org.kiwiproject.ansible.vault.VaultEncryptCommand.VaultEncryptCommandBuilder
- plusDays(Instant, long) - Static method in class org.kiwiproject.time.KiwiInstants
- plusHours(Instant, long) - Static method in class org.kiwiproject.time.KiwiInstants
- plusMinutes(Instant, long) - Static method in class org.kiwiproject.time.KiwiInstants
- plusMonths(Instant, long) - Static method in class org.kiwiproject.time.KiwiInstants
- plusUsingZDT(Instant, long, TemporalUnit) - Static method in class org.kiwiproject.time.KiwiInstants
-
Add any given
amountToAddof typeTemporalUnitfrom the given instant. - plusYears(Instant, long) - Static method in class org.kiwiproject.time.KiwiInstants
- port(int) - Method in class org.kiwiproject.jsch.SftpConfig.SftpConfigBuilder
-
The SFTP port.
- port(Integer) - Method in class org.kiwiproject.net.KiwiUrls.Components.ComponentsBuilder
- port(String) - Method in class org.kiwiproject.config.EndpointConfiguration.Builder
- PORT_GROUP - Static variable in class org.kiwiproject.net.KiwiUrls
- portFrom(String) - Static method in class org.kiwiproject.net.KiwiInternetAddresses
-
Returns the port in the given URL, or an empty optional otherwise.
- portFrom(URL) - Static method in class org.kiwiproject.net.KiwiInternetAddresses
-
Returns the port in the given URL, or an empty optional otherwise.
- preconditionFailed(int) - Static method in class org.kiwiproject.net.KiwiHttpResponses
-
Check if the given status code is 412 Precondition Failed.
- preconditionRequired(int) - Static method in class org.kiwiproject.net.KiwiHttpResponses
-
Check if the given status code is 428 Precondition Required.
- preferredAuthentications(String) - Method in class org.kiwiproject.jsch.SftpConfig.SftpConfigBuilder
-
The comma-separated list of preferred authentication mechanisms.
- prependLeadingSlash(String) - Static method in class org.kiwiproject.net.KiwiUrls
-
Trims
pathand, if a leading slash is not present, adds it. - PRESERVE - Enum constant in enum class org.kiwiproject.jdbc.KiwiJdbc.StringTrimOption
-
Preserves leading and trailing whitespace.
- PRETTY - Enum constant in enum class org.kiwiproject.json.JsonHelper.OutputFormat
-
JSON will be formatted nicely.
- prettyCombinedErrorMessage(Set<ConstraintViolation<T>>) - Static method in class org.kiwiproject.validation.KiwiConstraintViolations
-
Given a non-empty set of violations, produce a single string containing all violation messages separated by commas.
- prettyCombinedErrorMessageOrEmpty(Set<ConstraintViolation<T>>) - Static method in class org.kiwiproject.validation.KiwiConstraintViolations
-
Given a non-empty set of violations, produce a single string containing all violation messages separated by commas.
- prettyCombinedErrorMessageOrNull(Set<ConstraintViolation<T>>) - Static method in class org.kiwiproject.validation.KiwiConstraintViolations
-
Given a non-empty set of violations, produce a single string containing all violation messages separated by commas.
- prettyCombinedErrorMessages(Set<ConstraintViolation<T>>) - Static method in class org.kiwiproject.validation.KiwiConstraintViolations
-
Given a non-empty set of violations, produce a list of strings containing all violation messages.
- prettyCombineErrorMessagesIntoMap(Set<ConstraintViolation<T>>) - Static method in class org.kiwiproject.validation.KiwiConstraintViolations
-
Given a non-empty set of violations, produce map whose keys are the "prettified" properties and the corresponding values are strings containing all violation messages.
- privateKeyFilePath(String) - Method in class org.kiwiproject.jsch.SftpConfig.SftpConfigBuilder
-
The path to the private key file, only used if public key authentication is used.
- Processes - Class in org.kiwiproject.base.process
-
Utility class for working with operating system processes.
- processHandleOfPid(long) - Method in class org.kiwiproject.base.DefaultEnvironment
- processHandleOfPid(long) - Method in interface org.kiwiproject.base.KiwiEnvironment
-
Tries to obtain a
ProcessHandlefor a process with the given ID. - ProcessHelper - Class in org.kiwiproject.base.process
- ProcessHelper() - Constructor for class org.kiwiproject.base.process.ProcessHelper
- processId(Process) - Static method in class org.kiwiproject.base.process.Processes
-
Get a process id, or "pid".
- processIdOrEmpty(Process) - Static method in class org.kiwiproject.base.process.Processes
-
Get a process id, or "pid", if it is available from the
Processimplementation, wrapped inside an OptionalLong. - processingLogLevel(Level) - Method in class org.kiwiproject.retry.KiwiRetryer.KiwiRetryerBuilder
- property(String, Object) - Method in class org.kiwiproject.jaxrs.client.WebTargetHelper
- PropertyMaskingOptions - Class in org.kiwiproject.json
-
Options for
PropertyMaskingSafePropertyWriterandKiwiJacksonSerializers. - PropertyMaskingOptions.PropertyMaskingOptionsBuilder - Class in org.kiwiproject.json
- PropertyMaskingSafePropertyWriter - Class in org.kiwiproject.json
-
Writes properties "safely" and masks sensitive properties such as passwords.
- PropertyMaskingSafePropertyWriter(BeanPropertyWriter, List<String>) - Constructor for class org.kiwiproject.json.PropertyMaskingSafePropertyWriter
-
Construct new instance wrapping the given
BeanPropertyWriterusing the given list of (String) regular expressions that define the properties which should be masked. - PropertyMaskingSafePropertyWriter(BeanPropertyWriter, PropertyMaskingOptions) - Constructor for class org.kiwiproject.json.PropertyMaskingSafePropertyWriter
-
Construct new instance wrapping the given
BeanPropertyWriterusing the givenPropertyMaskingOptionsto define properties to be masked, as well as replacement text for masked fields and serialization errors. - protocol(String) - Method in class org.kiwiproject.config.SecureEndpointsConfiguration.Builder
- protocol(String) - Method in class org.kiwiproject.config.SSLContextConfiguration.Builder
- protocol(String) - Method in class org.kiwiproject.config.TlsContextConfiguration.TlsContextConfigurationBuilder
-
The TLS/SSL protocol to use.
- protocol(String) - Method in class org.kiwiproject.security.SimpleSSLContextFactory.Builder
- provider(String) - Method in class org.kiwiproject.config.TlsContextConfiguration.TlsContextConfigurationBuilder
-
The name of the JCE (Java Cryptography Extension) provider to use on the client side for cryptographic support (for example, SunJCE, Conscrypt, BC, etc.).
- proxyAuthenticationRequired(int) - Static method in class org.kiwiproject.net.KiwiHttpResponses
-
Check if the given status code is 407 Proxy Authentication Required.
- putFile(Path, String, InputStream) - Method in class org.kiwiproject.jsch.SftpTransfers
-
Pushes a stream of data to a remote SFTP server in the given path and with the given filename.
Q
- queryParam(String, Object...) - Method in class org.kiwiproject.jaxrs.client.WebTargetHelper
- queryParamFilterNotBlank(String, String...) - Method in class org.kiwiproject.jaxrs.client.WebTargetHelper
-
Adds any non-blank values to the given query parameter.
- queryParamFilterNotBlank(String, List<String>) - Method in class org.kiwiproject.jaxrs.client.WebTargetHelper
-
Adds any non-blank values to the given query parameter.
- queryParamFilterNotBlank(String, Stream<String>) - Method in class org.kiwiproject.jaxrs.client.WebTargetHelper
-
Adds any non-blank values to the given query parameter.
- queryParamFilterNotNull(String, Object...) - Method in class org.kiwiproject.jaxrs.client.WebTargetHelper
-
Adds any non-null values to the given query parameter.
- queryParamFilterNotNull(String, List<Object>) - Method in class org.kiwiproject.jaxrs.client.WebTargetHelper
-
Adds any non-null values to the given query parameter.
- queryParamFilterNotNull(String, Stream<Object>) - Method in class org.kiwiproject.jaxrs.client.WebTargetHelper
-
Adds any non-null values to the given query parameter.
- queryParamIfNotBlank(String, String) - Method in class org.kiwiproject.jaxrs.client.WebTargetHelper
-
Add the given query parameter only if both name and value are not blank.
- queryParamIfNotNull(String, Object) - Method in class org.kiwiproject.jaxrs.client.WebTargetHelper
-
Add the given query parameter only if name is not blank and value is not null.
- queryParamRequireNotBlank(String, String) - Method in class org.kiwiproject.jaxrs.client.WebTargetHelper
-
Add the required query parameter.
- queryParamRequireNotNull(String, Object) - Method in class org.kiwiproject.jaxrs.client.WebTargetHelper
-
Add the required query parameter.
- queryParamsFromMap(Map<String, V>) - Method in class org.kiwiproject.jaxrs.client.WebTargetHelper
-
Adds non-null query parameters from the given map.
- queryParamsFromMultivaluedMap(MultivaluedMap<String, V>) - Method in class org.kiwiproject.jaxrs.client.WebTargetHelper
-
Adds non-null query parameters from the given multivalued map.
- queryStringToMap(String) - Static method in class org.kiwiproject.net.KiwiUrls
-
Converts a query string (composed of key/value pairs separated by
&characters) into a Map whose keys are the parameter names and values are the parameter values. - queryStringToMultimap(String) - Static method in class org.kiwiproject.net.KiwiUrls
-
Converts a query string into a Guava
Multimapwhose keys are the parameter names and values are lists containing one or more values. - queryStringToMultivaluedMap(String) - Static method in class org.kiwiproject.net.KiwiUrls
R
- randomUUIDString() - Static method in class org.kiwiproject.base.UUIDs
-
Creates a new type 4 (pseudo randomly generated) UUID, and then returns it as a string.
- Range - Annotation Interface in org.kiwiproject.validation
-
The annotated element must be in the specified range, which can include both a minimum and maximum, only a minimum, or only a maximum.
- rangeNotSatisfiable(int) - Static method in class org.kiwiproject.net.KiwiHttpResponses
-
Check if the given status code is 416 Range Not Satisfiable.
- RangeValidator - Class in org.kiwiproject.validation
-
Validator for @
Range. - RangeValidator() - Constructor for class org.kiwiproject.validation.RangeValidator
- readBeanValue(T, BeanWrapper, String) - Method in class org.kiwiproject.beans.BeanConverter
- readErrorStreamOf(Process) - Static method in class org.kiwiproject.io.KiwiIO
-
Read the error stream of the give
Processas a String usingUTF-8as the string encoding. - readErrorStreamOf(Process, Charset) - Static method in class org.kiwiproject.io.KiwiIO
- readInputStreamAsString(InputStream) - Static method in class org.kiwiproject.io.KiwiIO
-
Convert the given
InputStreamto aUTF-8encoded String. - readInputStreamAsString(InputStream, Charset) - Static method in class org.kiwiproject.io.KiwiIO
-
Convert the given
InputStreamto a String using the givenCharsetfor the string encoding. - readInputStreamOf(Process) - Static method in class org.kiwiproject.io.KiwiIO
-
Read the input stream of the give
Processas a String usingUTF-8as the String encoding. - readInputStreamOf(Process, Charset) - Static method in class org.kiwiproject.io.KiwiIO
- readLinesFrom(InputStream, Charset) - Static method in class org.kiwiproject.io.KiwiIO
- readLinesFromErrorStreamOf(Process) - Static method in class org.kiwiproject.io.KiwiIO
- readLinesFromErrorStreamOf(Process, Charset) - Static method in class org.kiwiproject.io.KiwiIO
- readLinesFromInputStreamOf(Process) - Static method in class org.kiwiproject.io.KiwiIO
- readLinesFromInputStreamOf(Process, Charset) - Static method in class org.kiwiproject.io.KiwiIO
- readSingleValueFromJarManifest(ClassLoader, String) - Static method in class org.kiwiproject.jar.KiwiJars
-
Resolves a given entry name from the manifest file (if found) from the given class loader.
- readSingleValueFromJarManifest(ClassLoader, String, Predicate<URL>) - Static method in class org.kiwiproject.jar.KiwiJars
-
Resolves a given entry name from the manifest file (if found) from the given class loader.
- readSingleValueFromJarManifest(String) - Static method in class org.kiwiproject.jar.KiwiJars
-
Resolves a given entry name from the manifest file (if found) in the current class loader.
- readTimeout(Client, int) - Static method in class org.kiwiproject.jaxrs.client.KiwiJerseyClients
-
Set read timeout.
- readTimeout(Client, long) - Static method in class org.kiwiproject.jaxrs.client.KiwiJerseyClients
-
Set read timeout.
- readTimeout(Client, Duration) - Static method in class org.kiwiproject.jaxrs.client.KiwiJerseyClients
-
Set read timeout.
- readTimeout(Client, Duration) - Static method in class org.kiwiproject.jaxrs.client.KiwiJerseyClients
-
Set read timeout.
- readValuesFromJarManifest(ClassLoader, String...) - Static method in class org.kiwiproject.jar.KiwiJars
-
Resolves all the given entry names from the manifest (if found) from the given class loader.
- readValuesFromJarManifest(ClassLoader, Predicate<URL>, String...) - Static method in class org.kiwiproject.jar.KiwiJars
-
Resolves all the given entry names from the manifest (if found) from the given class loader.
- readValuesFromJarManifest(String...) - Static method in class org.kiwiproject.jar.KiwiJars
-
Resolves all the given entry names from the manifest (if found) from the current class loader.
- reasonPhraseOf(int) - Static method in class org.kiwiproject.net.KiwiHttpResponses
-
Get the human-readable (though not necessarily understandable) "reason phrase" for the given status code.
- redirection(int) - Static method in class org.kiwiproject.net.KiwiHttpResponses
-
Check if the given status code is in the redirection family (3xx codes).
- redirection(Response) - Static method in class org.kiwiproject.jaxrs.KiwiResponses
-
Check if the given response is in the REDIRECTION (3xx codes) family.
- reference() - Element in annotation interface org.kiwiproject.base.KiwiDeprecated
-
The issue number or other reference or descriptor which caused or is related to the deprecation, if any.
- register(Class<?>) - Method in class org.kiwiproject.jaxrs.client.WebTargetHelper
- register(Class<?>, int) - Method in class org.kiwiproject.jaxrs.client.WebTargetHelper
- register(Class<?>, Class<?>...) - Method in class org.kiwiproject.jaxrs.client.WebTargetHelper
- register(Class<?>, Map<Class<?>, Integer>) - Method in class org.kiwiproject.jaxrs.client.WebTargetHelper
- register(Object) - Method in class org.kiwiproject.jaxrs.client.WebTargetHelper
- register(Object, int) - Method in class org.kiwiproject.jaxrs.client.WebTargetHelper
- register(Object, Class<?>...) - Method in class org.kiwiproject.jaxrs.client.WebTargetHelper
- register(Object, Map<Class<?>, Integer>) - Method in class org.kiwiproject.jaxrs.client.WebTargetHelper
- rekeyFile(String, String) - Method in class org.kiwiproject.ansible.vault.VaultEncryptionHelper
-
Wraps ansible-vault rekey command.
- rekeyFile(Path, Path) - Method in class org.kiwiproject.ansible.vault.VaultEncryptionHelper
-
Wraps ansible-vault rekey command.
- remoteBasePath(String) - Method in class org.kiwiproject.jsch.SftpConfig.SftpConfigBuilder
-
The root directory of the remote SFTP location, provided as a convenience to store the remote path in the same place as the other SFTP properties.
- REMOVE - Enum constant in enum class org.kiwiproject.jdbc.KiwiJdbc.StringTrimOption
-
Removes any leading and trailing whitespace.
- removeAt() - Element in annotation interface org.kiwiproject.base.KiwiDeprecated
-
The anticipated version at which the annotated element will be removed.
- removePath(Object, String) - Method in class org.kiwiproject.json.JsonHelper
-
Remove the given path from the object.
- replace(String, String, Object) - Method in class org.kiwiproject.hibernate.usertype.JSONBUserType
- replacedBy() - Element in annotation interface org.kiwiproject.base.KiwiDeprecated
-
A description of what feature(s) replaces the one being deprecated, if any.
- replaceDomainsIn(String, String) - Static method in class org.kiwiproject.net.KiwiUrls
-
Searches the
commaDelimitedUrlsfor its domains, and if found, replaces all entries withreplacementDomain. - request() - Method in class org.kiwiproject.jaxrs.client.WebTargetHelper
- request(MediaType...) - Method in class org.kiwiproject.jaxrs.client.WebTargetHelper
- request(String...) - Method in class org.kiwiproject.jaxrs.client.WebTargetHelper
- requestHeaderFieldsTooLarge(int) - Static method in class org.kiwiproject.net.KiwiHttpResponses
-
Check if the given status code is 431 Request Header Fields Too Large.
- requestTimeout(int) - Static method in class org.kiwiproject.net.KiwiHttpResponses
-
Check if the given status code is 408 Request Timeout.
- Required - Annotation Interface in org.kiwiproject.validation
-
Ensures that a value is provided (i.e. not null).
- requireDouble(BigDecimal) - Static method in class org.kiwiproject.base.KiwiBigDecimals
-
Converts the given
BigDecimalto a primitive double. - RequiredValidator - Class in org.kiwiproject.validation
-
Check that a validated value is required.
- RequiredValidator() - Constructor for class org.kiwiproject.validation.RequiredValidator
- requireNotBlank(String) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures that a String passed as a parameter to the calling method is not blank, throwing an
IllegalArgumentExceptionif blank or returning the String otherwise. - requireNotBlank(String, String) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures that a String passed as a parameter to the calling method is not blank, throwing an
IllegalArgumentExceptionif blank or returning the String otherwise. - requireNotBlank(String, String, Object...) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures that a String passed as a parameter to the calling method is not blank, throwing an
IllegalArgumentExceptionif blank or returning the String otherwise. - requireNotNull(T) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null, throwing an
IllegalArgumentExceptionif null or returning the (non-null) reference otherwise. - requireNotNull(T, String, Object...) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null, throwing an
IllegalArgumentExceptionif null or returning the (non-null) reference otherwise. - requireNotNullElse(T, T) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Returns the first argument if it is not
null, otherwise the second argument (which must not benull). - requireNotNullElseGet(T, Supplier<? extends T>) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Returns the first argument if it is not
null, otherwise the value supplied by theSupplier, which must not benull. - requirePositive(int) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Returns the int value if it is positive, throwing an
IllegalStateExceptionif not positive. - requirePositive(int, String) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Returns the int
valueif it is a positive number (greater than zero), throwing anIllegalStateExceptionif not positive. - requirePositive(int, String, Object...) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Returns the int
valueif it is a positive number (greater than zero), throwing anIllegalStateExceptionif not positive. - requirePositive(long) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Returns the long value if it is positive, throwing an
IllegalStateExceptionif not positive. - requirePositive(long, String) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Returns the long
valueif it is a positive number (greater than zero), throwing anIllegalStateExceptionif not positive. - requirePositive(long, String, Object...) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Returns the long
valueif it is a positive number (greater than zero), throwing anIllegalStateExceptionif not positive. - requirePositiveOrZero(int) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Returns the int value if it is positive or zero, throwing an
IllegalStateExceptionif not positive or zero. - requirePositiveOrZero(int, String) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Returns the int
valueif it is a positive number (greater than zero) or zero, throwing anIllegalStateExceptionif not positive. - requirePositiveOrZero(int, String, Object...) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Returns the int
valueif it is a positive number (greater than zero) or zero, throwing anIllegalStateExceptionif not positive. - requirePositiveOrZero(long) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Returns the long value if it is positive or zero, throwing an
IllegalStateExceptionif not positive or zero. - requirePositiveOrZero(long, String) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Returns the long
valueif it is a positive number (greater than zero) or zero, throwing anIllegalStateExceptionif not positive. - requirePositiveOrZero(long, String, Object...) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Returns the long
valueif it is a positive number (greater than zero) or zero, throwing anIllegalStateExceptionif not positive. - requireValidNonZeroPort(int) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Returns the given port if it is valid (excluding zero)
- requireValidNonZeroPort(int, String) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Returns the given port if it is valid (excluding zero)
- requireValidNonZeroPort(int, String, Object...) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Returns the given port if it is valid (excluding zero)
- requireValidPort(int) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Returns the given port if it is valid
- requireValidPort(int, String) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Returns the given port if it is valid
- requireValidPort(int, String, Object...) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Returns the given port if it is valid
- resetContent(int) - Static method in class org.kiwiproject.net.KiwiHttpResponses
-
Check if the given status code is 205 Reset Content.
- resolveTemplate(String, Object) - Method in class org.kiwiproject.jaxrs.client.WebTargetHelper
- resolveTemplate(String, Object, boolean) - Method in class org.kiwiproject.jaxrs.client.WebTargetHelper
- resolveTemplateFromEncoded(String, Object) - Method in class org.kiwiproject.jaxrs.client.WebTargetHelper
- resolveTemplates(Map<String, Object>) - Method in class org.kiwiproject.jaxrs.client.WebTargetHelper
- resolveTemplates(Map<String, Object>, boolean) - Method in class org.kiwiproject.jaxrs.client.WebTargetHelper
- resolveTemplatesFromEncoded(Map<String, Object>) - Method in class org.kiwiproject.jaxrs.client.WebTargetHelper
- resultPredicate(Predicate<T>) - Method in class org.kiwiproject.retry.KiwiRetryer.KiwiRetryerBuilder
- resultPredicates(Collection<? extends Predicate<T>>) - Method in class org.kiwiproject.retry.KiwiRetryer.KiwiRetryerBuilder
- retentionThreshold(Duration) - Method in class org.kiwiproject.io.TimeBasedDirectoryCleaner.TimeBasedDirectoryCleanerBuilder
- retryDelayTime(long) - Method in class org.kiwiproject.retry.SimpleRetryer.SimpleRetryerBuilder
-
The time to sleep between retry attempts.
- retryDelayUnit(TimeUnit) - Method in class org.kiwiproject.retry.SimpleRetryer.SimpleRetryerBuilder
-
The time unit for the time to sleep between retry attempts.
- retryerId(String) - Method in class org.kiwiproject.retry.KiwiRetryer.KiwiRetryerBuilder
- retryIncrementTimeAmount(long) - Method in class org.kiwiproject.retry.KiwiRetryer.KiwiRetryerBuilder
- retryIncrementTimeUnit(TimeUnit) - Method in class org.kiwiproject.retry.KiwiRetryer.KiwiRetryerBuilder
- retryOnAllExceptions(boolean) - Method in class org.kiwiproject.retry.KiwiRetryer.KiwiRetryerBuilder
- retryOnAllRuntimeExceptions(boolean) - Method in class org.kiwiproject.retry.KiwiRetryer.KiwiRetryerBuilder
- RetryResult<T> - Class in org.kiwiproject.retry
-
Defines a result of one or more attempts to get some type of object.
- RetryResult(int, int, T, List<Exception>) - Constructor for class org.kiwiproject.retry.RetryResult
-
Create new instance.
- RetryResultLogger - Class in org.kiwiproject.retry
-
Utility class for logging information about errors in
RetryResultobjects. - returnedClass() - Method in class org.kiwiproject.hibernate.usertype.JSONBUserType
- rootCauseOf(Throwable) - Static method in class org.kiwiproject.base.KiwiThrowables
-
Get the root cause of the
Throwable. - rootCauseOfNullable(Throwable) - Static method in class org.kiwiproject.base.KiwiThrowables
- run() - Method in interface org.kiwiproject.base.CatchingRunnable
-
Wraps
CatchingRunnable.runSafely()in a try/catch. - run() - Method in class org.kiwiproject.io.TimeBasedDirectoryCleaner
- runAsync(Runnable) - Static method in class org.kiwiproject.concurrent.Async
-
Execute the given
Runnableasynchronously. - runAsync(Runnable, Executor) - Static method in class org.kiwiproject.concurrent.Async
- runSafely() - Method in interface org.kiwiproject.base.CatchingRunnable
-
The logic that could throw a
RuntimeException. - RuntimeJsonException - Exception in org.kiwiproject.json
-
Runtime wrapper exception for JSON processing errors.
- RuntimeJsonException(String, Throwable) - Constructor for exception org.kiwiproject.json.RuntimeJsonException
-
Create instance with given message and cause.
- RuntimeJsonException(Throwable) - Constructor for exception org.kiwiproject.json.RuntimeJsonException
-
Create instance with given cause.
- RuntimeReflectionException - Exception in org.kiwiproject.reflect
-
A custom runtime exception for wrapping (checked or unchecked) exceptions related to reflection.
- RuntimeReflectionException(String, Throwable) - Constructor for exception org.kiwiproject.reflect.RuntimeReflectionException
-
Construct a new instance with the given message and cause.
- RuntimeReflectionException(Throwable) - Constructor for exception org.kiwiproject.reflect.RuntimeReflectionException
-
Construct a new instance with and cause.
- RuntimeYamlException - Exception in org.kiwiproject.yaml
-
A runtime exception that can be thrown by
YamlHelper. - RuntimeYamlException(String) - Constructor for exception org.kiwiproject.yaml.RuntimeYamlException
- RuntimeYamlException(String, Throwable) - Constructor for exception org.kiwiproject.yaml.RuntimeYamlException
- RuntimeYamlException(Throwable) - Constructor for exception org.kiwiproject.yaml.RuntimeYamlException
- runWithReadLock(String, Runnable) - Method in class org.kiwiproject.concurrent.StripedLock
-
Execute a
Runnabletask using the provided lock key and associated a READ lock. - runWithWriteLock(String, Runnable) - Method in class org.kiwiproject.concurrent.StripedLock
-
Execute a
Runnabletask using the provided lock key and associated a WRITE lock.
S
- safeReadEntity(Response) - Static method in class org.kiwiproject.jaxrs.KiwiEntities
-
Read an entity as a String from the given response.
- safeReadEntity(Response, String) - Static method in class org.kiwiproject.jaxrs.KiwiEntities
-
Read an entity as a String from the given response.
- safeReadEntity(Response, GenericType<T>) - Static method in class org.kiwiproject.jaxrs.KiwiEntities
-
Read an entity as an instance of the given
GenericTypespecified byentityType. - safeReadEntity(Response, Class<T>) - Static method in class org.kiwiproject.jaxrs.KiwiEntities
-
Read an entity as an instance of the given
Classspecified byentityType. - safeReadEntity(Response, Supplier<String>) - Static method in class org.kiwiproject.jaxrs.KiwiEntities
-
Read an entity as a String from the given response.
- scheduleCleanupUsing(Environment) - Method in class org.kiwiproject.dropwizard.config.TimeBasedDirectoryCleanerConfig
-
Schedules directory cleanup and registers a
TimeBasedDirectoryCleanerHealthCheckhealth check using the givenEnvironment, returning theTimeBasedDirectoryCleanerinstance that was scheduled. - scheduleCleanupUsing(ScheduledExecutorService) - Method in class org.kiwiproject.dropwizard.config.TimeBasedDirectoryCleanerConfig
-
Schedules directory cleanup using the given
ScheduledExecutorService, returning theTimeBasedDirectoryCleanerinstance that was scheduled. - scheme(String) - Method in class org.kiwiproject.config.EndpointConfiguration.Builder
- scheme(String) - Method in class org.kiwiproject.net.KiwiUrls.Components.ComponentsBuilder
- SCHEME_GROUP - Static variable in class org.kiwiproject.net.KiwiUrls
- searchWith(Supplier<List<T>>, Supplier<List<T>>) - Method in enum class org.kiwiproject.jdbc.SqlOrder
-
Perform a search in either ascending or descending order using the given
Supplierinstances. - second(List<T>) - Static method in class org.kiwiproject.collect.KiwiLists
-
Return the second element in the specified list of items.
- second(T[]) - Static method in class org.kiwiproject.collect.KiwiArrays
-
Return the second element in the specified array of items.
- secondToLast(List<T>) - Static method in class org.kiwiproject.collect.KiwiLists
-
Synonym for
KiwiLists.penultimate(List). - secondToLast(T[]) - Static method in class org.kiwiproject.collect.KiwiArrays
-
Synonym for
KiwiArrays.penultimate(Object[]). - SecureEndpointsConfiguration - Class in org.kiwiproject.config
-
Configuration for secure REST endpoints, including the configuration from an
SSLContextConfigurationas well as adding a collection ofEndpointConfigurationinstances. - SecureEndpointsConfiguration() - Constructor for class org.kiwiproject.config.SecureEndpointsConfiguration
-
Create instance with empty collection of endpoints.
- SecureEndpointsConfiguration.Builder - Class in org.kiwiproject.config
-
Builder class for
SecureEndpointsConfiguration. - seeOther(int) - Static method in class org.kiwiproject.net.KiwiHttpResponses
-
Check if the given status code is 303 See Other.
- SEQUENTIAL - Enum constant in enum class org.kiwiproject.collect.KiwiStreams.StreamMode
-
A sequential stream.
- serializationErrorReplacementText(String) - Method in class org.kiwiproject.json.PropertyMaskingOptions.PropertyMaskingOptionsBuilder
-
The replacement text for serialization errors.
- serialize(JAXBElement, JsonGenerator, SerializerProvider) - Method in class org.kiwiproject.json.JaxbElementSerializer
- serialize(Instant, JsonGenerator, SerializerProvider) - Method in class org.kiwiproject.jackson.ser.InstantEpochTimeSerializer
- serialize(LocalDateTime, JsonGenerator, SerializerProvider) - Method in class org.kiwiproject.jackson.ser.LocalDateTimeEpochTimeSerializer
- serializeAsField(Object, JsonGenerator, SerializerProvider) - Method in class org.kiwiproject.json.PropertyMaskingSafePropertyWriter
- serverError(int) - Static method in class org.kiwiproject.net.KiwiHttpResponses
-
Check if the given status code is in the server error family (5xx codes).
- serverError(Response) - Static method in class org.kiwiproject.jaxrs.KiwiResponses
-
Check if the given response is in the SERVER_ERROR (5xx codes) family.
- serviceUnavailable(int) - Static method in class org.kiwiproject.net.KiwiHttpResponses
-
Check if the given status code is 503 Service Unavailable.
- SET - Enum constant in enum class org.kiwiproject.reflect.KiwiReflection.Accessor
-
Setter method.
- SET_OF_STRING_GENERIC_TYPE - Static variable in class org.kiwiproject.jaxrs.KiwiGenericTypes
- SET_OF_STRING_TYPE_REFERENCE - Static variable in class org.kiwiproject.jackson.KiwiTypeReferences
- setAnsibleVaultPath(String) - Method in class org.kiwiproject.ansible.vault.VaultConfiguration
-
Path to the ansible-vault executable.
- setAscending(boolean) - Method in class org.kiwiproject.spring.data.KiwiSort
- setCertAlias(String) - Method in class org.kiwiproject.config.TlsContextConfiguration
-
The alias of a specific client certificate to present when authenticating.
- setCleanupInterval(Duration) - Method in class org.kiwiproject.dropwizard.config.TimeBasedDirectoryCleanerConfig
- setCommonType(String) - Method in class org.kiwiproject.retry.SimpleRetryerConfig
- setContent(List<T>) - Method in class org.kiwiproject.spring.data.KiwiPage
-
The content on this specific page.
- setDeleteErrorLogLevel(String) - Method in class org.kiwiproject.dropwizard.config.TimeBasedDirectoryCleanerConfig
- setDirection(String) - Method in class org.kiwiproject.spring.data.KiwiSort
- setDirectionObject(KiwiSort.Direction) - Method in class org.kiwiproject.spring.data.KiwiSort
- setDirectoryPath(String) - Method in class org.kiwiproject.dropwizard.config.TimeBasedDirectoryCleanerConfig
- setDisableSniHostCheck(boolean) - Method in class org.kiwiproject.config.SSLContextConfiguration.Builder
- setDisableSniHostCheck(boolean) - Method in class org.kiwiproject.config.SSLContextConfiguration
- setDisableSniHostCheck(boolean) - Method in class org.kiwiproject.config.TlsContextConfiguration
-
Whether the SNI (Server Name Indication) host check is disabled.
- setDisableSniHostCheck(boolean) - Method in class org.kiwiproject.security.SimpleSSLContextFactory.Builder
- setDisableStrictHostChecking(boolean) - Method in class org.kiwiproject.jsch.SftpConfig
-
Provides option to disable strict host key checking, equivalent to the
-o StrictHostKeyChecking=[yes|no]option. - setDomain(String) - Method in class org.kiwiproject.config.EndpointConfiguration.Builder
- setDomain(String) - Method in class org.kiwiproject.config.EndpointConfiguration
-
Set the domain(s), which can be a single domain (e.g. example.org) or multiple domains separated by commas.
- setEndpoints(List<EndpointConfiguration>) - Method in class org.kiwiproject.config.SecureEndpointsConfiguration
-
The endpoints in this configuration.
- setErrorPath(String) - Method in class org.kiwiproject.jsch.SftpConfig
-
The local directory to write out any errors if SFTP fails.
- setErrors(List<ErrorMessage>) - Method in exception org.kiwiproject.jaxrs.exception.JaxrsException
-
Change the
ErrorMessageobjects contained in this exception. - setExclusions(Set<String>) - Method in class org.kiwiproject.beans.BeanConverter
-
Set of property names to exclude from copying over.
- setExtraFields(String, Object) - Method in class org.kiwiproject.json.FlexibleJsonModel
-
Add an "extra" field when de-serializing from JSON.
- setFailOnError(boolean) - Method in class org.kiwiproject.beans.BeanConverter
-
Allows for a failed conversion to throw an exception if
true; otherwise just logs a failure iffalse - setFieldValue(Object, Field, Object) - Static method in class org.kiwiproject.reflect.KiwiReflection
-
Sets a value directly into the specified field in the target object.
- setFieldValue(Object, String, Object) - Static method in class org.kiwiproject.reflect.KiwiReflection
-
Sets a value directly into the specified field in the target object.
- setHealthCheckWarningDuration(Duration) - Method in class org.kiwiproject.dropwizard.config.TimeBasedDirectoryCleanerConfig
- setHost(String) - Method in class org.kiwiproject.jsch.SftpConfig
-
The remote host to connect to via SFTP.
- setIgnoreCase(boolean) - Method in class org.kiwiproject.spring.data.KiwiSort
- setInitialCleanupDelay(Duration) - Method in class org.kiwiproject.dropwizard.config.TimeBasedDirectoryCleanerConfig
- setKeyStorePassword(String) - Method in class org.kiwiproject.config.SecureEndpointsConfiguration.Builder
- setKeyStorePassword(String) - Method in class org.kiwiproject.config.SSLContextConfiguration.Builder
- setKeyStorePassword(String) - Method in class org.kiwiproject.config.SSLContextConfiguration
- setKeyStorePassword(String) - Method in class org.kiwiproject.config.TlsContextConfiguration
-
Key store password.
- setKeyStorePassword(String) - Method in class org.kiwiproject.security.SimpleSSLContextFactory.Builder
- setKeyStorePath(String) - Method in class org.kiwiproject.config.SecureEndpointsConfiguration.Builder
- setKeyStorePath(String) - Method in class org.kiwiproject.config.SSLContextConfiguration.Builder
- setKeyStorePath(String) - Method in class org.kiwiproject.config.SSLContextConfiguration
- setKeyStorePath(String) - Method in class org.kiwiproject.config.TlsContextConfiguration
-
Absolute path to the key store.
- setKeyStorePath(String) - Method in class org.kiwiproject.security.SimpleSSLContextFactory.Builder
- setKeyStoreProvider(String) - Method in class org.kiwiproject.config.TlsContextConfiguration
-
The name of the provider for the key store, i.e., the value of
providerto use when getting theKeyStoreinstance for the key store. - setKeyStoreType(String) - Method in class org.kiwiproject.config.SecureEndpointsConfiguration.Builder
- setKeyStoreType(String) - Method in class org.kiwiproject.config.SSLContextConfiguration.Builder
- setKeyStoreType(String) - Method in class org.kiwiproject.config.SSLContextConfiguration
- setKeyStoreType(String) - Method in class org.kiwiproject.config.TlsContextConfiguration
-
Key store type.
- setKeyStoreType(String) - Method in class org.kiwiproject.security.SimpleSSLContextFactory.Builder
- setKnownHostsFile(String) - Method in class org.kiwiproject.jsch.SftpConfig
-
The path to the known hosts file.
- setLimit(Integer) - Method in interface org.kiwiproject.spring.data.PagingParams
- setLimit(Integer) - Method in class org.kiwiproject.spring.data.PagingRequest
-
The page size limit.
- setLogLevelForSubsequentAttempts(Level) - Method in class org.kiwiproject.retry.SimpleRetryerConfig
- setMaxAttempts(int) - Method in class org.kiwiproject.retry.SimpleRetryerConfig
- setNumber(long) - Method in class org.kiwiproject.spring.data.KiwiPage
-
The number of this page, e.g. page X of Y.
- setNumbering(KiwiSearching.PageNumberingScheme) - Method in interface org.kiwiproject.spring.data.PagingParams
- setNumbering(KiwiSearching.PageNumberingScheme) - Method in class org.kiwiproject.spring.data.PagingRequest
-
The page numbering scheme used by this paging request.
- setNumberOfElements(long) - Method in class org.kiwiproject.spring.data.KiwiPage
-
The number of items/elements on this page.
- setOtherData(Map<String, Object>) - Method in exception org.kiwiproject.jaxrs.exception.JaxrsException
-
Appends the entries contained in the given map to the existing
otherData. - setPage(Integer) - Method in interface org.kiwiproject.spring.data.PagingParams
- setPage(Integer) - Method in class org.kiwiproject.spring.data.PagingRequest
-
The page number.
- setPagingStartsWith(int) - Method in class org.kiwiproject.spring.data.KiwiPage
-
Allows adjustment for instances where pagination starts with one instead of zero.
- setPassword(String) - Method in class org.kiwiproject.jsch.SftpConfig
-
The password, only used if password authentication is used.
- setPath(String) - Method in class org.kiwiproject.config.EndpointConfiguration.Builder
- setPath(String) - Method in class org.kiwiproject.config.EndpointConfiguration
-
The path component of the URI.
- setPathPrefix(String) - Method in class org.kiwiproject.config.UrlRewriteConfiguration
-
If specified, then URIs/URLs generated by
EndpointConfigurationwill include this prefix, e.g. - setPort(int) - Method in class org.kiwiproject.jsch.SftpConfig
-
The SFTP port.
- setPort(String) - Method in class org.kiwiproject.config.EndpointConfiguration.Builder
- setPort(String) - Method in class org.kiwiproject.config.EndpointConfiguration
-
The port the endpoint listens on.
- setPreferredAuthentications(String) - Method in class org.kiwiproject.jsch.SftpConfig
-
The comma-separated list of preferred authentication mechanisms.
- setPrimaryDirection(Sort.Direction) - Method in interface org.kiwiproject.spring.data.PagingParams
- setPrimaryDirection(Sort.Direction) - Method in class org.kiwiproject.spring.data.PagingRequest
-
The primary sort direction.
- setPrimarySort(String) - Method in interface org.kiwiproject.spring.data.PagingParams
- setPrimarySort(String) - Method in class org.kiwiproject.spring.data.PagingRequest
-
The primary sort property.
- setPrivateKeyFilePath(String) - Method in class org.kiwiproject.jsch.SftpConfig
-
The path to the private key file, only used if public key authentication is used.
- setProperty(String) - Method in class org.kiwiproject.spring.data.KiwiSort
- setProtocol(String) - Method in class org.kiwiproject.config.SecureEndpointsConfiguration.Builder
- setProtocol(String) - Method in class org.kiwiproject.config.SSLContextConfiguration.Builder
- setProtocol(String) - Method in class org.kiwiproject.config.SSLContextConfiguration
- setProtocol(String) - Method in class org.kiwiproject.config.TlsContextConfiguration
-
The TLS/SSL protocol to use.
- setProtocol(String) - Method in class org.kiwiproject.security.SimpleSSLContextFactory.Builder
- setProvider(String) - Method in class org.kiwiproject.config.TlsContextConfiguration
-
The name of the JCE (Java Cryptography Extension) provider to use on the client side for cryptographic support (for example, SunJCE, Conscrypt, BC, etc.).
- setRemoteBasePath(String) - Method in class org.kiwiproject.jsch.SftpConfig
-
The root directory of the remote SFTP location, provided as a convenience to store the remote path in the same place as the other SFTP properties.
- setResults(List<T>) - Method in class org.kiwiproject.spring.data.AggregateResult
- setRetentionThreshold(Duration) - Method in class org.kiwiproject.dropwizard.config.TimeBasedDirectoryCleanerConfig
- setRetryDelayTime(long) - Method in class org.kiwiproject.retry.SimpleRetryerConfig
- setRetryDelayUnit(TimeUnit) - Method in class org.kiwiproject.retry.SimpleRetryerConfig
- setScheme(String) - Method in class org.kiwiproject.config.EndpointConfiguration.Builder
- setScheme(String) - Method in class org.kiwiproject.config.EndpointConfiguration
-
The connection scheme, e.g. https or https.
- setSecondaryDirection(Sort.Direction) - Method in interface org.kiwiproject.spring.data.PagingParams
- setSecondaryDirection(Sort.Direction) - Method in class org.kiwiproject.spring.data.PagingRequest
-
The secondary sort direction.
- setSecondarySort(String) - Method in interface org.kiwiproject.spring.data.PagingParams
- setSecondarySort(String) - Method in class org.kiwiproject.spring.data.PagingRequest
-
The secondary sort property.
- setSessionKeyExchangeType(Session, String) - Static method in class org.kiwiproject.jsch.KiwiJSchHelpers
-
Sets the given key exchange type, e.g.
- setSize(long) - Method in class org.kiwiproject.spring.data.KiwiPage
-
The size limit of the pagination, for example each page can have up to 25 items.
- setSort(KiwiSort) - Method in class org.kiwiproject.spring.data.KiwiPage
-
Describes any sort that is active for the pagination.
- setSupportedCiphers(List<String>) - Method in class org.kiwiproject.config.TlsContextConfiguration
-
A list of cipher suites (e.g., TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256) which are supported.
- setSupportedProtocols(List<String>) - Method in class org.kiwiproject.config.TlsContextConfiguration
-
List of supported protocols.
- setTag(String) - Method in class org.kiwiproject.config.EndpointConfiguration.Builder
- setTag(String) - Method in class org.kiwiproject.config.EndpointConfiguration
-
Use this to uniquely identify an endpoint within a
SecureEndpointsConfiguration, or to provide a way to find anEndpointConfigurationin any collection of them, e.g. using aStream.filter(Predicate)on a stream of endpoint configurations. - setTempDirectory(String) - Method in class org.kiwiproject.ansible.vault.VaultConfiguration
-
A temporary directory that is used to store encrypted content when decrypting string variables via the
ansible-vault encrypt_stringcommand. - setTimeout(Duration) - Method in class org.kiwiproject.jsch.SftpConfig
-
SFTP connection timeout.
- setTotalCount(long) - Method in class org.kiwiproject.spring.data.AggregateResult
- setTotalElements(long) - Method in class org.kiwiproject.spring.data.KiwiPage
-
The total number of items/elements in the overall result list.
- setTotalPages(long) - Method in class org.kiwiproject.spring.data.KiwiPage
-
The total number of pages, calculated from the page size and total number of elements.
- setTrustSelfSignedCertificates(boolean) - Method in class org.kiwiproject.config.TlsContextConfiguration
-
Whether self-signed certificates should be trusted.
- setTrustStorePassword(String) - Method in class org.kiwiproject.config.SecureEndpointsConfiguration.Builder
- setTrustStorePassword(String) - Method in class org.kiwiproject.config.SSLContextConfiguration.Builder
- setTrustStorePassword(String) - Method in class org.kiwiproject.config.SSLContextConfiguration
- setTrustStorePassword(String) - Method in class org.kiwiproject.config.TlsContextConfiguration
-
Trust store password.
- setTrustStorePassword(String) - Method in class org.kiwiproject.security.SimpleSSLContextFactory.Builder
- setTrustStorePath(String) - Method in class org.kiwiproject.config.SecureEndpointsConfiguration.Builder
- setTrustStorePath(String) - Method in class org.kiwiproject.config.SSLContextConfiguration.Builder
- setTrustStorePath(String) - Method in class org.kiwiproject.config.SSLContextConfiguration
- setTrustStorePath(String) - Method in class org.kiwiproject.config.TlsContextConfiguration
-
Absolute path to the trust store.
- setTrustStorePath(String) - Method in class org.kiwiproject.security.SimpleSSLContextFactory.Builder
- setTrustStoreProvider(String) - Method in class org.kiwiproject.config.TlsContextConfiguration
-
The name of the provider for the trust store, i.e., the value of
providerto use when getting theKeyStoreinstance for the trust store. - setTrustStoreType(String) - Method in class org.kiwiproject.config.SecureEndpointsConfiguration.Builder
- setTrustStoreType(String) - Method in class org.kiwiproject.config.SSLContextConfiguration.Builder
- setTrustStoreType(String) - Method in class org.kiwiproject.config.SSLContextConfiguration
- setTrustStoreType(String) - Method in class org.kiwiproject.config.TlsContextConfiguration
-
Trust store type.
- setTrustStoreType(String) - Method in class org.kiwiproject.security.SimpleSSLContextFactory.Builder
- setUnitTestAsyncMode(Async.Mode) - Static method in class org.kiwiproject.concurrent.Async
-
Use for testing purposes to force synchronous behavior.
- setupAndOpenConnection(SftpConfig) - Static method in class org.kiwiproject.jsch.SftpConnector
-
Creates a new connector and immediately opens a new connection.
- setUrlRewriteConfiguration(UrlRewriteConfiguration) - Method in class org.kiwiproject.config.EndpointConfiguration.Builder
- setUrlRewriteConfiguration(UrlRewriteConfiguration) - Method in class org.kiwiproject.config.EndpointConfiguration
-
Configures any URI rewriting that should be performed when building URIs.
- setUser(String) - Method in class org.kiwiproject.jsch.SftpConfig
-
The remote user to connect with via SFTP.
- setValidator(Validator) - Static method in class org.kiwiproject.validation.KiwiValidations
-
Reset the singleton Validator instance.
- setVaultPasswordFilePath(String) - Method in class org.kiwiproject.ansible.vault.VaultConfiguration
-
Path to the file containing passwords to use when encrypting and decrypting with ansible-vault.
- setVerifyHostname(boolean) - Method in class org.kiwiproject.config.SecureEndpointsConfiguration.Builder
- setVerifyHostname(boolean) - Method in class org.kiwiproject.config.SSLContextConfiguration.Builder
- setVerifyHostname(boolean) - Method in class org.kiwiproject.config.SSLContextConfiguration
- setVerifyHostname(boolean) - Method in class org.kiwiproject.config.TlsContextConfiguration
-
Should host names be verified when establishing secure connections?
- setVerifyHostname(boolean) - Method in class org.kiwiproject.security.SimpleSSLContextFactory.Builder
- SEVERE - Enum constant in enum class org.kiwiproject.base.KiwiDeprecated.Severity
- SFTP_PROTOCOL - Static variable in class org.kiwiproject.net.KiwiUrls
- SftpConfig - Class in org.kiwiproject.jsch
-
This (Dropwizard) config class allows for common configuration for SFTP access to remote hosts.
- SftpConfig() - Constructor for class org.kiwiproject.jsch.SftpConfig
- SftpConfig(int, String, String, String, String, String, String, String, String, boolean, Duration) - Constructor for class org.kiwiproject.jsch.SftpConfig
-
All-args constructor.
- SftpConfig.SftpConfigBuilder - Class in org.kiwiproject.jsch
- SftpConnector - Class in org.kiwiproject.jsch
-
A simple wrapper around a
JSchinstance that handles connecting and disconnecting using the configuration specified in anSftpConfig. - SftpConnector(JSch, SftpConfig) - Constructor for class org.kiwiproject.jsch.SftpConnector
-
Construct using the given
JSchandSftpConfig. - SftpConnector(SftpConfig) - Constructor for class org.kiwiproject.jsch.SftpConnector
-
Construct using the given
SftpConfig. - SftpTransfers - Class in org.kiwiproject.jsch
-
A simple wrapper around a
JSchinstance that handles some basic SFTP operations. - SftpTransfers(SftpConnector) - Constructor for class org.kiwiproject.jsch.SftpTransfers
- SftpTransfersException - Exception in org.kiwiproject.jsch
-
Runtime exception that represents SFTP-related errors.
- SftpTransfersException(String) - Constructor for exception org.kiwiproject.jsch.SftpTransfersException
- SftpTransfersException(String, Throwable) - Constructor for exception org.kiwiproject.jsch.SftpTransfersException
- SftpTransfersException(Throwable) - Constructor for exception org.kiwiproject.jsch.SftpTransfersException
- shouldRewrite() - Method in class org.kiwiproject.config.UrlRewriteConfiguration
-
Whether URL rewrites will be performed.
- shuffledArrayListOf(T...) - Static method in class org.kiwiproject.collect.KiwiLists
-
Create a new
ArrayListwith the given items shuffled usingCollections.shuffle(List). - shuffledListOf(T...) - Static method in class org.kiwiproject.collect.KiwiLists
-
Create a new unmodifiable
Listwith the given items shuffled usingCollections.shuffle(List). - SHUTDOWN_DURATION - Static variable in class org.kiwiproject.dropwizard.config.TimeBasedDirectoryCleanerConfig
- SIGHUP - Enum constant in enum class org.kiwiproject.base.process.KillSignal
-
Hang up signal, e.g.
- SIGINT - Enum constant in enum class org.kiwiproject.base.process.KillSignal
-
Interrupt signal, e.g.
- SIGKILL - Enum constant in enum class org.kiwiproject.base.process.KillSignal
-
Non-catchable, non-ignorable kill signal, e.g.
- signalNumber - Variable in enum class org.kiwiproject.base.process.KillSignal
- SIGQUIT - Enum constant in enum class org.kiwiproject.base.process.KillSignal
-
Quit signal, e.g.
- SIGTERM - Enum constant in enum class org.kiwiproject.base.process.KillSignal
-
Software termination signal, e.g.
- simpleCombinedErrorMessage(Set<ConstraintViolation<T>>) - Static method in class org.kiwiproject.validation.KiwiConstraintViolations
-
Given a non-empty set of violations, produce a single string containing all violation messages separated by commas.
- simpleCombinedErrorMessageOrEmpty(Set<ConstraintViolation<T>>) - Static method in class org.kiwiproject.validation.KiwiConstraintViolations
-
Given a set of non-empty violations, produce a single string containing all violation messages separated by commas.
- simpleCombinedErrorMessageOrNull(Set<ConstraintViolation<T>>) - Static method in class org.kiwiproject.validation.KiwiConstraintViolations
-
Given a set of non-empty violations, produce a single string containing all violation messages separated by commas.
- simpleCombinedErrorMessages(Set<ConstraintViolation<T>>) - Static method in class org.kiwiproject.validation.KiwiConstraintViolations
-
Given a non-empty set of violations, produce a list of strings containing all violation messages.
- simpleCombineErrorMessagesIntoMap(Set<ConstraintViolation<T>>) - Static method in class org.kiwiproject.validation.KiwiConstraintViolations
-
Given a non-empty set of violations, produce map whose keys are the properties and the corresponding values are strings containing all violation messages.
- SimpleHostAndPort - Class in org.kiwiproject.net
-
Inspired by Guava's
HostAndPortbut much simpler in implementation. - SimpleRetries - Class in org.kiwiproject.retry
-
Static utilities for retrying an operation.
- SimpleRetryer - Class in org.kiwiproject.retry
-
A simple class to retry an operation up to a maximum number of attempts.
- SimpleRetryer.SimpleRetryerBuilder - Class in org.kiwiproject.retry
- SimpleRetryerConfig - Class in org.kiwiproject.retry
-
Configuration class that can be used to configure
SimpleRetryerinstances. - SimpleRetryerConfig() - Constructor for class org.kiwiproject.retry.SimpleRetryerConfig
- SimpleSSLContextFactory - Class in org.kiwiproject.security
-
A "simple" factory class that makes it simpler to create
SSLContextinstances. - SimpleSSLContextFactory(String, String, String, String, String) - Constructor for class org.kiwiproject.security.SimpleSSLContextFactory
-
Create a new
SimpleSSLContextFactorywithverifyHostnameset totrueand "JKS" as the key and trust store type. - SimpleSSLContextFactory(String, String, String, String, String, boolean) - Constructor for class org.kiwiproject.security.SimpleSSLContextFactory
-
Create a new
SimpleSSLContextFactorywith "JKS" as the key and trust store type. - SimpleSSLContextFactory(String, String, String, String, String, String, String, boolean) - Constructor for class org.kiwiproject.security.SimpleSSLContextFactory
-
Create a new
SimpleSSLContextFactory. - SimpleSSLContextFactory(String, String, String, String, String, String, String, boolean, boolean) - Constructor for class org.kiwiproject.security.SimpleSSLContextFactory
-
Create a new
SimpleSSLContextFactory. - SimpleSSLContextFactory.Builder - Class in org.kiwiproject.security
-
A builder class for
SimpleSSLContextFactory. - since() - Element in annotation interface org.kiwiproject.base.KiwiDeprecated
-
The version the annotated element became deprecated.
- sleep(long) - Method in class org.kiwiproject.base.DefaultEnvironment
- sleep(long) - Method in interface org.kiwiproject.base.KiwiEnvironment
-
Sleep for the given number of milliseconds.
- sleep(long, int) - Method in class org.kiwiproject.base.DefaultEnvironment
- sleep(long, int) - Method in interface org.kiwiproject.base.KiwiEnvironment
-
Sleep for the specified number of milliseconds plus nanoseconds.
- sleep(long, TimeUnit) - Method in class org.kiwiproject.base.DefaultEnvironment
- sleep(long, TimeUnit) - Method in interface org.kiwiproject.base.KiwiEnvironment
-
Sleep for a specific amount of time given by the specified
timeoutandTimeUnit. - sleepQuietly(long) - Method in class org.kiwiproject.base.DefaultEnvironment
- sleepQuietly(long) - Method in interface org.kiwiproject.base.KiwiEnvironment
-
Sleep for the given number of milliseconds.
- sleepQuietly(long, int) - Method in class org.kiwiproject.base.DefaultEnvironment
- sleepQuietly(long, int) - Method in interface org.kiwiproject.base.KiwiEnvironment
-
Sleep for the given number of milliseconds plus nanoseconds.
- sleepQuietly(long, TimeUnit) - Method in class org.kiwiproject.base.DefaultEnvironment
- sleepQuietly(long, TimeUnit) - Method in interface org.kiwiproject.base.KiwiEnvironment
-
Sleep for a specific amount of time given by the specified
timeoutandTimeUnit. - SOCKET_TIMEOUT - Static variable in class org.kiwiproject.retry.KiwiRetryerPredicates
-
Check if a given
Exceptionis or has a root cause ofSocketTimeoutException. - SocketChecker - Class in org.kiwiproject.net
-
Utilities for checking sockets.
- SocketChecker() - Constructor for class org.kiwiproject.net.SocketChecker
- sorted(List<T>) - Static method in class org.kiwiproject.collect.KiwiLists
-
Given a list, sort it according to the natural order, returning a new list.
- sorted(List<T>, Comparator<T>) - Static method in class org.kiwiproject.collect.KiwiLists
-
Given a list, sort it according to the provided
Comparatorreturning a new list. - sorted(T[], Class<T>) - Static method in class org.kiwiproject.collect.KiwiArrays
-
Given an array, sort it according to the natural order, returning a new list.
- sorted(T[], Comparator<T>, Class<T>) - Static method in class org.kiwiproject.collect.KiwiArrays
-
Given an array, sort it according to the provided
Comparatorreturning a new array. - Sorted - Interface in org.kiwiproject.search
-
Simple contract for search results that are sorted in a specific direction.
- SPACE - Static variable in class org.kiwiproject.base.KiwiStrings
-
A space character.
- splitOnCommas(CharSequence) - Static method in class org.kiwiproject.base.KiwiStrings
-
Convenience method that splits the given comma-delimited
CharSequence, omitting any empty strings and trimming leading and trailing whitespace. - splitToList(CharSequence) - Static method in class org.kiwiproject.base.KiwiStrings
-
Splits the given
CharSequence, using aKiwiStrings.SPACEas the separator character, omitting any empty strings and trimming leading and trailing whitespace. - splitToList(CharSequence, char) - Static method in class org.kiwiproject.base.KiwiStrings
-
Splits the given
CharSequence, using the specified separator character, omitting any empty strings and trimming leading and trailing whitespace. - splitToList(CharSequence, char, int) - Static method in class org.kiwiproject.base.KiwiStrings
-
Splits the given
CharSequence, using the specified separator character, into the maximum number of groups specified omitting any empty strings and trimming leading and trailing whitespace. - splitToList(CharSequence, String) - Static method in class org.kiwiproject.base.KiwiStrings
-
Splits the given
CharSequence, using the specified separator string, omitting any empty strings and trimming leading and trailing whitespace. - splitToList(CharSequence, String, int) - Static method in class org.kiwiproject.base.KiwiStrings
-
Splits the given
CharSequence, using the specified separator string, into the maximum number of groups specified omitting any empty strings and trimming leading and trailing whitespace. - splitWithTrimAndOmitEmpty(CharSequence) - Static method in class org.kiwiproject.base.KiwiStrings
-
Splits the given
CharSequence, using aKiwiStrings.SPACEas the separator character, omitting any empty strings and trimming leading and trailing whitespace. - splitWithTrimAndOmitEmpty(CharSequence, char) - Static method in class org.kiwiproject.base.KiwiStrings
-
Splits the given
CharSequence, using the specified separator character, omitting any empty strings and trimming leading and trailing whitespace. - splitWithTrimAndOmitEmpty(CharSequence, String) - Static method in class org.kiwiproject.base.KiwiStrings
-
Splits the given
CharSequence, using the specified separator string, omitting any empty strings and trimming leading and trailing whitespace. - SpringContextBuilder - Class in org.kiwiproject.spring.context
-
Builder class for easily constructing Spring ApplicationContext instances using either XML or annotation-based configuration.
- SpringContextBuilder() - Constructor for class org.kiwiproject.spring.context.SpringContextBuilder
-
Create a context builder.
- SqlOrder - Enum Class in org.kiwiproject.jdbc
-
Simple enum that represents the values for SQL
ORDER BYclauses. - SSL_HANDSHAKE_ERROR - Static variable in class org.kiwiproject.retry.KiwiRetryerPredicates
-
Check if a given
Exceptionis or contains aSSLHandshakeExceptionsomewhere in the causal chain. - SSLContextConfiguration - Class in org.kiwiproject.config
-
Configuration for standard/common properties required for secure (i.e.
- SSLContextConfiguration() - Constructor for class org.kiwiproject.config.SSLContextConfiguration
- SSLContextConfiguration.Builder - Class in org.kiwiproject.config
-
A builder class for
SSLContextConfiguration. - SSLContextException - Exception in org.kiwiproject.security
-
Exception thrown by Kiwi when error occur creating various security-related objects such as
SSLContext,KeyStore,KeyManager, andTrustManager. - SSLContextException() - Constructor for exception org.kiwiproject.security.SSLContextException
- SSLContextException(String) - Constructor for exception org.kiwiproject.security.SSLContextException
- SSLContextException(String, Throwable) - Constructor for exception org.kiwiproject.security.SSLContextException
- SSLContextException(Throwable) - Constructor for exception org.kiwiproject.security.SSLContextException
- SSLContextProtocol - Enum Class in org.kiwiproject.security
-
Protocols thar can be used when calling
SSLContext.getInstance(String). - stackTrace - Variable in class org.kiwiproject.base.KiwiThrowables.ThrowableInfo
- stackTraceOf(Throwable) - Static method in class org.kiwiproject.base.KiwiThrowables
-
Simply wraps the Apache Commons'
ExceptionUtils.getStackTrace(Throwable)method. - stackTraceOfNullable(Throwable) - Static method in class org.kiwiproject.base.KiwiThrowables
-
Simply wraps the Apache Commons'
ExceptionUtils.getStackTrace(Throwable)method. - standardAcceptedResponse(Object) - Static method in class org.kiwiproject.jaxrs.KiwiStandardResponses
-
Returns a 202 Accepted response having the specified response entity.
- standardAcceptedResponseBuilder(Object) - Static method in class org.kiwiproject.jaxrs.KiwiStandardResponses
-
Returns a 202 Accepted response builder having the specified response entity.
- standardBadRequestResponse(String) - Static method in class org.kiwiproject.jaxrs.KiwiStandardResponses
-
Returns a 400 Bad Request response containing an
ErrorMessageentity which useserrorDetailsas the detailed error message. - standardBadRequestResponseBuilder(String) - Static method in class org.kiwiproject.jaxrs.KiwiStandardResponses
-
Returns a 400 Bad Request response builder containing an
ErrorMessageentity which useserrorDetailsas the detailed error message. - standardDeleteResponse() - Static method in class org.kiwiproject.jaxrs.KiwiStandardResponses
-
Returns a 204 No Content response for DELETE requests that do not return an entity.
- standardDeleteResponse(Object) - Static method in class org.kiwiproject.jaxrs.KiwiStandardResponses
-
Returns a 200 OK response for DELETE requests that return an entity.
- standardDeleteResponseBuilder() - Static method in class org.kiwiproject.jaxrs.KiwiStandardResponses
-
Returns a 204 No Content response builder for DELETE requests that do not return an entity.
- standardDeleteResponseBuilder(Object) - Static method in class org.kiwiproject.jaxrs.KiwiStandardResponses
-
Returns a 200 OK response builder for DELETE requests that return an entity.
- standardErrorResponse(Response.Status, String) - Static method in class org.kiwiproject.jaxrs.KiwiStandardResponses
-
Returns a response having the given status and an
ErrorMessageentity which useserrorDetailsas the detailed error message. - standardErrorResponseBuilder(Response.Status, String) - Static method in class org.kiwiproject.jaxrs.KiwiStandardResponses
-
Returns a response builder having the given status and an
ErrorMessageentity which useserrorDetailsas the detailed error message. - standardGetResponse(T, String) - Static method in class org.kiwiproject.jaxrs.KiwiStandardResponses
-
Returns a 200 OK response if the entity is non-null.
- standardGetResponse(String, Object, T) - Static method in class org.kiwiproject.jaxrs.KiwiStandardResponses
-
Returns a 200 OK response if the entity is non-null.
- standardGetResponse(String, Object, T, Class<T>) - Static method in class org.kiwiproject.jaxrs.KiwiStandardResponses
-
Returns a 200 OK response if the entity is non-null.
- standardGetResponse(String, Object, Optional<T>) - Static method in class org.kiwiproject.jaxrs.KiwiStandardResponses
-
Returns a 200 OK response if the entity contains a value.
- standardGetResponse(String, Object, Optional<T>, Class<T>) - Static method in class org.kiwiproject.jaxrs.KiwiStandardResponses
-
Returns a 200 OK response if the entity contains a value.
- standardGetResponse(Optional<T>, String) - Static method in class org.kiwiproject.jaxrs.KiwiStandardResponses
-
Returns a 200 OK response if the entity contains a value.
- standardInternalServerErrorResponse(String) - Static method in class org.kiwiproject.jaxrs.KiwiStandardResponses
-
Returns a 500 Internal Server Error response containing an
ErrorMessageentity which useserrorDetailsas the detailed error message. - standardInternalServerErrorResponseBuilder(String) - Static method in class org.kiwiproject.jaxrs.KiwiStandardResponses
-
Returns a response builder with 500 Internal Server Error status and an
ErrorMessageentity which useserrorDetailsas the detailed error message. - standardNotFoundResponse(String) - Static method in class org.kiwiproject.jaxrs.KiwiStandardResponses
-
Returns a 404 Not Found response containing an
ErrorMessageentity which useserrorDetailsas the detailed error message. - standardNotFoundResponseBuilder(String) - Static method in class org.kiwiproject.jaxrs.KiwiStandardResponses
-
Returns a 404 Not Found response builder containing an
ErrorMessageentity which useserrorDetailsas the detailed error message. - standardPatchResponse(Object) - Static method in class org.kiwiproject.jaxrs.KiwiStandardResponses
-
Returns a 200 OK response having the specified response entity.
- standardPatchResponseBuilder(Object) - Static method in class org.kiwiproject.jaxrs.KiwiStandardResponses
-
Returns a 200 OK response builder having the specified response entity.
- standardPostResponse(URI, Object) - Static method in class org.kiwiproject.jaxrs.KiwiStandardResponses
-
Returns a 201 Created response having the specified Location header and response entity.
- standardPostResponseBuilder(URI, Object) - Static method in class org.kiwiproject.jaxrs.KiwiStandardResponses
-
Returns a 201 Created response builder having the specified Location header and response entity.
- standardPutResponse(Object) - Static method in class org.kiwiproject.jaxrs.KiwiStandardResponses
-
Returns a 200 OK response having the specified response entity.
- standardPutResponseBuilder(Object) - Static method in class org.kiwiproject.jaxrs.KiwiStandardResponses
-
Returns a 200 OK response builder having the specified response entity.
- standardUnauthorizedResponse(String) - Static method in class org.kiwiproject.jaxrs.KiwiStandardResponses
-
Returns a 401 Unauthorized response containing an
ErrorMessageentity which useserrorDetailsas the detailed error message. - standardUnauthorizedResponseBuilder(String) - Static method in class org.kiwiproject.jaxrs.KiwiStandardResponses
-
Returns a 401 Unauthorized response builder containing an
ErrorMessageentity which useserrorDetailsas the detailed error message. - start() - Method in class org.kiwiproject.dropwizard.lifecycle.ManagedCloseable
-
No-op
- startField() - Element in annotation interface org.kiwiproject.validation.FieldRange
- stop() - Method in class org.kiwiproject.dropwizard.lifecycle.ManagedCloseable
-
Delegates to the managed
Closeable'sclosemethod. - stopStrategy(StopStrategy) - Method in class org.kiwiproject.retry.KiwiRetryer.KiwiRetryerBuilder
- stream() - Method in class org.kiwiproject.regex.MatchSpliterator
-
Create a
StreamofMatchResultfrom this instance. - stream(String, String) - Static method in class org.kiwiproject.regex.MatchSpliterator
-
Create a
StreamofMatchResultusing the given regular expression and String input. - stream(Collection<T>, KiwiStreams.StreamMode) - Static method in class org.kiwiproject.collect.KiwiStreams
- stream(Matcher) - Static method in class org.kiwiproject.regex.MatchSpliterator
- stream(Pattern, String) - Static method in class org.kiwiproject.regex.MatchSpliterator
- streamLinesFrom(InputStream, Charset) - Static method in class org.kiwiproject.io.KiwiIO
-
Return a
StreamofStrings from the givenInputStreamusing the specifiedCharsetfor the String encoding. - streamLinesFromErrorStreamOf(Process) - Static method in class org.kiwiproject.io.KiwiIO
- streamLinesFromErrorStreamOf(Process, Charset) - Static method in class org.kiwiproject.io.KiwiIO
- streamLinesFromInputStreamOf(Process) - Static method in class org.kiwiproject.io.KiwiIO
- streamLinesFromInputStreamOf(Process, Charset) - Static method in class org.kiwiproject.io.KiwiIO
- stringOrNullIfBlank(ResultSet, String) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Returns a String from the specified column in the
ResultSet. - stringOrNullIfBlank(ResultSet, String, KiwiJdbc.StringTrimOption) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Returns a String from the specified column in the
ResultSetusing the givenKiwiJdbc.StringTrimOption. - StripedLock - Class in org.kiwiproject.concurrent
-
StripedLockprovides simple lambdas for encapsulating a block of code with a read/write lock. - StripedLock() - Constructor for class org.kiwiproject.concurrent.StripedLock
-
Creates a new
StripedLock, usingStripedLock.DEFAULT_KEY_WHEN_BLANKas the number of stripes. - StripedLock(int) - Constructor for class org.kiwiproject.concurrent.StripedLock
-
Creates a new
StripedLockwith the given number of stripes. - StripedLock(Striped<ReadWriteLock>) - Constructor for class org.kiwiproject.concurrent.StripedLock
-
Create a new
StripedLockusing the givenReadWriteLock. - stripLeadingSlash(String) - Static method in class org.kiwiproject.net.KiwiUrls
-
Trims
pathand, if a leading slash is present, removes it. - stripTags(String, String...) - Static method in class org.kiwiproject.xml.KiwiXml
-
Removes tags from the given XML but ignoring namespaces.
- stripTagsConsideringNamespace(String, String...) - Static method in class org.kiwiproject.xml.KiwiXml
-
Removes tags from the given XML taking into account the full tag name (i.e. possibly including namespace).
- stripTrailingSlash(String) - Static method in class org.kiwiproject.net.KiwiUrls
-
Trims
urland, if present, strips the trailing slash - stripTrailingSlashes(List<String>) - Static method in class org.kiwiproject.net.KiwiUrls
-
Trims each URL in
urlsand strips any trailing slashes - SUB_DOMAIN_GROUP - Static variable in class org.kiwiproject.net.KiwiUrls
- subArrayExcludingFirst(T[]) - Static method in class org.kiwiproject.collect.KiwiArrays
-
Returns a new array containing the portion of the given array excluding the first element.
- subArrayExcludingLast(T[]) - Static method in class org.kiwiproject.collect.KiwiArrays
-
Returns a new array containing the portion of the given array excluding the last element.
- subArrayFrom(T[], int) - Static method in class org.kiwiproject.collect.KiwiArrays
-
Returns a new array containing the portion of the given array starting at the given logical element number, where the numbers start at one, until and including the last element in the array.
- subArrayFromIndex(T[], int) - Static method in class org.kiwiproject.collect.KiwiArrays
-
Returns a new array containing the portion of the given array starting at the given index, until and including the last element in the array.
- subDomainName(String) - Method in class org.kiwiproject.net.KiwiUrls.Components.ComponentsBuilder
- subListExcludingFirst(List<T>) - Static method in class org.kiwiproject.collect.KiwiLists
-
Returns a view of the portion of the given list excluding the first element.
- subListExcludingLast(List<T>) - Static method in class org.kiwiproject.collect.KiwiLists
-
Returns a view of the portion of the given list excluding the last element.
- subListFrom(List<T>, int) - Static method in class org.kiwiproject.collect.KiwiLists
-
Returns a view of the portion of the given list starting at the given logical element number, where the numbers start at one, until and including the last element in the list.
- subListFromIndex(List<T>, int) - Static method in class org.kiwiproject.collect.KiwiLists
-
Returns a view of the portion of the given list starting at the given index, until and including the last element in the list.
- succeeded() - Method in class org.kiwiproject.retry.RetryResult
-
The result succeeded if this result has an object.
- SUCCESS_EXIT_CODE - Static variable in class org.kiwiproject.base.process.Processes
-
Exit code that indicates a
Processterminated normally. - successful(int) - Static method in class org.kiwiproject.jaxrs.KiwiResponses
-
Check if the given status code is in
Response.Status.Family.SUCCESSFUL. - successful(int) - Static method in class org.kiwiproject.net.KiwiHttpResponses
-
Check if the given status code is in the successful family (2xx codes).
- successful(Response) - Static method in class org.kiwiproject.jaxrs.KiwiResponses
-
Check if the given response has a status code in
Response.Status.Family.SUCCESSFUL. - successful(Response.Status) - Static method in class org.kiwiproject.jaxrs.KiwiResponses
-
Check if the given status code is in
Response.Status.Family.SUCCESSFUL. - successful(Response.Status.Family) - Static method in class org.kiwiproject.jaxrs.KiwiResponses
-
Check if the given response family is
Response.Status.Family.SUCCESSFUL. - successful(Response.StatusType) - Static method in class org.kiwiproject.jaxrs.KiwiResponses
-
Check if the given status type is in
Response.Status.Family.SUCCESSFUL. - successfulAlwaysClosing(Response) - Static method in class org.kiwiproject.jaxrs.KiwiResponses
-
Check if the given response has a status code in
Response.Status.Family.SUCCESSFUL, then close the response. - supplyAsync(Supplier<T>) - Static method in class org.kiwiproject.concurrent.Async
-
Execute the given
Supplierasynchronously to return a result, using the common fork join pool as the executor. - supplyAsync(Supplier<T>, Executor) - Static method in class org.kiwiproject.concurrent.Async
-
Execute the given
Supplierasynchronously to return a result, using the common fork join pool as the executor. - supplyWithReadLock(String, Supplier<T>) - Method in class org.kiwiproject.concurrent.StripedLock
-
Execute a
Supplierusing the provided lock key and associated READ lock. - supplyWithWriteLock(String, Supplier<T>) - Method in class org.kiwiproject.concurrent.StripedLock
-
Execute a
Supplierusing the provided lock key and associated WRITE lock. - supportedCiphers(List<String>) - Method in class org.kiwiproject.config.TlsContextConfiguration.TlsContextConfigurationBuilder
-
A list of cipher suites (e.g., TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256) which are supported.
- supportedProtocols(List<String>) - Method in class org.kiwiproject.config.TlsContextConfiguration.TlsContextConfigurationBuilder
-
List of supported protocols.
- synchronizedEvictingQueue() - Static method in class org.kiwiproject.collect.KiwiEvictingQueues
-
Create a new, synchronized
EvictingQueuethat can hold up toKiwiEvictingQueues.DEFAULT_MAX_RECENT_ITEMSitems. - synchronizedEvictingQueue(int) - Static method in class org.kiwiproject.collect.KiwiEvictingQueues
-
Create a new, synchronized
EvictingQueuethat can hold up tomaxSizeitems.
T
- TAB - Static variable in class org.kiwiproject.base.KiwiStrings
-
A tab character.
- tag(String) - Method in class org.kiwiproject.config.EndpointConfiguration.Builder
- target(Link) - Method in class org.kiwiproject.jaxrs.client.WebTargetClientHelper
-
Build a new web resource target.
- target(UriBuilder) - Method in class org.kiwiproject.jaxrs.client.WebTargetClientHelper
-
Build a new web resource target.
- target(String) - Method in class org.kiwiproject.jaxrs.client.WebTargetClientHelper
-
Build a new web resource target.
- target(URI) - Method in class org.kiwiproject.jaxrs.client.WebTargetClientHelper
-
Build a new web resource target.
- tempDirectory(String) - Method in class org.kiwiproject.ansible.vault.VaultConfiguration.VaultConfigurationBuilder
- temporaryRedirect(int) - Static method in class org.kiwiproject.net.KiwiHttpResponses
-
Check if the given status code is 307 Temporary Redirect.
- third(List<T>) - Static method in class org.kiwiproject.collect.KiwiLists
-
Return the third element in the specified list of items.
- third(T[]) - Static method in class org.kiwiproject.collect.KiwiArrays
-
Return the third element in the specified array of items.
- THROW_EXCEPTION - Enum constant in enum class org.kiwiproject.base.process.KillTimeoutAction
-
An exception (
IllegalStateException) will be thrown after timeout - throwableInfoOfNonNull(Throwable) - Static method in class org.kiwiproject.base.KiwiThrowables
-
Create a
KiwiThrowables.ThrowableInfofrom givenThrowable. - throwableInfoOfNullable(Throwable) - Static method in class org.kiwiproject.base.KiwiThrowables
-
Create a
KiwiThrowables.ThrowableInfofrom givenThrowable. - throwConstraintViolationExceptionIfNotEmpty(Set<ConstraintViolation<T>>) - Static method in class org.kiwiproject.validation.KiwiValidations
-
If the set of constraint violations is not empty, throw a
ConstraintViolationException. - TimeBasedDirectoryCleaner - Class in org.kiwiproject.io
-
A
Runnablethat cleans a given directory of files and/or directories that are older than a specified retention threshold. - TimeBasedDirectoryCleaner(String, Duration, String) - Constructor for class org.kiwiproject.io.TimeBasedDirectoryCleaner
-
Create a new TimeBasedDirectoryCleaner instance.
- TimeBasedDirectoryCleaner.DeleteError - Class in org.kiwiproject.io
-
Value class representing a file delete error.
- TimeBasedDirectoryCleaner.TimeBasedDirectoryCleanerBuilder - Class in org.kiwiproject.io
- TimeBasedDirectoryCleanerConfig - Class in org.kiwiproject.dropwizard.config
-
A (Dropwizard) configuration class to configure and schedule a
TimeBasedDirectoryCleaner. - TimeBasedDirectoryCleanerConfig() - Constructor for class org.kiwiproject.dropwizard.config.TimeBasedDirectoryCleanerConfig
- TimeBasedDirectoryCleanerHealthCheck - Class in org.kiwiproject.dropwizard.metrics.health
-
A health check for
TimeBasedDirectoryCleanerthat checks if there have been any delete errors within a specific duration of time. - TimeBasedDirectoryCleanerHealthCheck(TimeBasedDirectoryCleaner) - Constructor for class org.kiwiproject.dropwizard.metrics.health.TimeBasedDirectoryCleanerHealthCheck
-
Create with specified
TimeBasedDirectoryCleanerand the default warning threshold. - TimeBasedDirectoryCleanerHealthCheck(TimeBasedDirectoryCleaner, Duration) - Constructor for class org.kiwiproject.dropwizard.metrics.health.TimeBasedDirectoryCleanerHealthCheck
-
Create with the specified
TimeBasedDirectoryCleanerand warning threshold. - TimedHealthCheck - Class in org.kiwiproject.dropwizard.metrics.health
-
Health Check wrapper that will time out after a set period of time.
- TimedHealthCheck(HealthCheck) - Constructor for class org.kiwiproject.dropwizard.metrics.health.TimedHealthCheck
-
Creates a new TimedHealthCheck with the given
delegateHealthCheckand the default timeout (5 seconds). - TimedHealthCheck(HealthCheck, Duration) - Constructor for class org.kiwiproject.dropwizard.metrics.health.TimedHealthCheck
-
Creates a new TimedHealthCheck with the given (
delegateHealthCheckand the giventimeout. - timeout(Duration) - Method in class org.kiwiproject.jsch.SftpConfig.SftpConfigBuilder
-
SFTP connection timeout.
- timestampFromInstant(Instant) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
- timestampFromZonedDateTime(ZonedDateTime) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Returns a
Timestampfrom the givenZonedDateTime. - TLS - Enum constant in enum class org.kiwiproject.security.SSLContextProtocol
-
Supports some version of TLS; may support other SSL/TLS versions
- TLS_1 - Enum constant in enum class org.kiwiproject.security.SSLContextProtocol
-
Supports RFC 2246; TLS version 1.0; may support other SSL/TLS versions
- TLS_1_1 - Enum constant in enum class org.kiwiproject.security.SSLContextProtocol
-
Supports RFC 4346; TLS version 1.1; may support other SSL/TLS versions
- TLS_1_2 - Enum constant in enum class org.kiwiproject.security.SSLContextProtocol
-
Supports RFC 5246; TLS version 1.2; may support other SSL/TLS versions
- TLS_1_3 - Enum constant in enum class org.kiwiproject.security.SSLContextProtocol
-
Supports RFC 8446; TLS version 1.3; may support other SSL/TLS versions
- TlsContextConfiguration - Class in org.kiwiproject.config
-
Configuration for standard/common properties required for secure TLS connections.
- TlsContextConfiguration() - Constructor for class org.kiwiproject.config.TlsContextConfiguration
- TlsContextConfiguration.TlsContextConfigurationBuilder - Class in org.kiwiproject.config
- toArrayListMultimap() - Static method in class org.kiwiproject.stream.KiwiMultimapCollectors
-
Collects into an
ArrayListMultimap. - toBooleanOrDefault(Boolean, boolean) - Static method in class org.kiwiproject.base.KiwiBooleans
-
Return the
booleanvalue of theBooleanwhen non-null, otherwise return the default value. - toBooleanOrFalse(Boolean) - Static method in class org.kiwiproject.base.KiwiBooleans
- toBooleanOrTrue(Boolean) - Static method in class org.kiwiproject.base.KiwiBooleans
- toBuilder() - Method in class org.kiwiproject.net.KiwiUrls.Components
- toDate(LocalDate) - Static method in class org.kiwiproject.time.KiwiDateTimeConverters
- toDate(LocalDateTime) - Static method in class org.kiwiproject.time.KiwiDateTimeConverters
-
Convert the given
LocalDateTimeinto its equivalentDate(epoch milliseconds using UTC). - toDate(ZonedDateTime) - Static method in class org.kiwiproject.time.KiwiDateTimeConverters
-
Convert the given
ZonedDateTimeinto its equivalentDate(epoch milliseconds using UTC). - toDoubleOrNull(BigDecimal) - Static method in class org.kiwiproject.base.KiwiBigDecimals
-
Converts a nullable
BigDecimalto aDoubleor returns null if the given value is null. - toDropwizardTlsConfiguration() - Method in class org.kiwiproject.config.TlsContextConfiguration
-
Convert this
TlsContextConfigurationinto a DropwizardTlsConfigurationobject. - toEncodedQueryString(Map<String, V>) - Static method in class org.kiwiproject.net.KiwiUrls
-
Converts a Map containing String keys and
Vvalues into a URL-encoded query string. - toEncodedQueryString(Map<String, V>, String) - Static method in class org.kiwiproject.net.KiwiUrls
-
Converts a Map containing String keys and
Vvalues into a URL-encoded query string. - toEncodedQueryString(Map<String, V>, Charset) - Static method in class org.kiwiproject.net.KiwiUrls
-
Converts a Map containing String keys and
Vvalues into a URL-encoded query string. - toEnumMap(Class<K>, Function<? super T, ? extends K>, Function<? super T, ? extends U>) - Static method in class org.kiwiproject.collect.KiwiCollectors
- toEnumSet(Class<E>) - Static method in class org.kiwiproject.collect.KiwiCollectors
- toFlatMap(Object) - Method in class org.kiwiproject.json.JsonHelper
-
Parse the given object as JSON, then flatten all its properties to a map whose keys are the object property names and whose values are converted to Strings.
- toFlatMap(Object, Class<T>) - Method in class org.kiwiproject.json.JsonHelper
-
Parse the given object as JSON, then flatten all its properties to a map whose keys are the object property names and whose values are converted to the given
valueClasstype. - toHashMultimap() - Static method in class org.kiwiproject.stream.KiwiMultimapCollectors
-
Collects into an
HashMultimap. - toImmutableListBuilder() - Static method in class org.kiwiproject.collect.KiwiCollectors
-
Return a
Collectorthat collects into a GuavaImmutableList.Builder. - toInstantOrNull(Calendar) - Static method in class org.kiwiproject.time.KiwiDateTimeConverters
- toInstantOrNull(Date) - Static method in class org.kiwiproject.time.KiwiDateTimeConverters
- toIntOrDefault(Integer, int) - Static method in class org.kiwiproject.base.KiwiIntegers
-
Return the
intvalue of theIntegerwhen non-null, otherwise return the default value. - toIntOrZero(Integer) - Static method in class org.kiwiproject.base.KiwiIntegers
-
Return the
intvalue of theIntegerwhen non-null, otherwise return zero. - toJaxrsException(int, Map<String, Object>) - Static method in class org.kiwiproject.jaxrs.exception.JaxrsExceptionMapper
-
Convert the given HTTP status code and an entity into a
JaxrsException. - toJaxrsException(Response) - Static method in class org.kiwiproject.jaxrs.exception.JaxrsExceptionMapper
-
Convert the given
Responseto aJaxrsException. - toJson(Object) - Method in class org.kiwiproject.json.JsonHelper
-
Convert the given object to JSON using the
JsonHelper.OutputFormat.DEFAULTformat. - toJson(Object, JsonHelper.OutputFormat) - Method in class org.kiwiproject.json.JsonHelper
-
Convert the given object to JSON using the given format.
- toJson(Object, JsonHelper.OutputFormat, Class<?>) - Method in class org.kiwiproject.json.JsonHelper
-
Convert the given object to JSON using the given format and optionally a class representing the
JsonViewto use. - toJsonFromKeyValuePairs(Object...) - Method in class org.kiwiproject.json.JsonHelper
-
Consider the given arguments as key/value pairs, and convert those pairs to a JSON representation.
- toJsonIgnoringPaths(Object, String...) - Method in class org.kiwiproject.json.JsonHelper
-
Convert the given object to JSON, but ignoring (excluding) the given paths.
- toLinkedHashMultimap() - Static method in class org.kiwiproject.stream.KiwiMultimapCollectors
-
Collects into an
LinkedHashMultimap. - toLinkedMap(Function<? super T, ? extends K>, Function<? super T, ? extends U>) - Static method in class org.kiwiproject.collect.KiwiCollectors
-
Returns a
Collectorthat collects intoaLinkedHashMap. - toLocalDate(Date, ZoneId) - Static method in class org.kiwiproject.time.KiwiDateTimeConverters
- toLocalDateTime(Date, ZoneId) - Static method in class org.kiwiproject.time.KiwiDateTimeConverters
-
Convert the given
Dateinto its equivalentLocalDateTimein the specified time zone. - toLocalDateTimeUTC(Date) - Static method in class org.kiwiproject.time.KiwiDateTimeConverters
-
Convert the given
Dateinto its equivalentLocalDateTimein the UTC time zone. - toLocalDateUTC(Date) - Static method in class org.kiwiproject.time.KiwiDateTimeConverters
- toMap() - Method in class org.kiwiproject.jaxrs.exception.ErrorMessage
-
Convert this instance to a map.
- toMap(String) - Method in class org.kiwiproject.json.JsonHelper
-
Convert the given JSON into a map with String keys and Object values.
- toMap(String, TypeReference<Map<K, V>>) - Method in class org.kiwiproject.json.JsonHelper
-
Convert the given JSON into a map with keys of type
Kand values of typeV. - toMap(String) - Method in class org.kiwiproject.yaml.YamlHelper
-
Convert the given YAML into a map with String keys and Object values.
- toMap(String, TypeReference<Map<K, V>>) - Method in class org.kiwiproject.yaml.YamlHelper
-
Convert the given YAML into a map with keys of type
Kand values of typeV. - toMultimap(MultivaluedMap<String, String>) - Static method in class org.kiwiproject.jaxrs.KiwiMultivaluedMaps
-
Convert the given
MultivaluedMapinto a GuavaMultimap. - toMultimap(Supplier<A>) - Static method in class org.kiwiproject.stream.KiwiMultimapCollectors
- toObject(String, TypeReference<T>) - Method in class org.kiwiproject.json.JsonHelper
-
Convert the given JSON into an object of type
Tusing the givenTypeReference. - toObject(String, Class<T>) - Method in class org.kiwiproject.json.JsonHelper
-
Convert the given JSON into the specified type.
- toObject(String, TypeReference<T>) - Method in class org.kiwiproject.yaml.YamlHelper
-
Convert the given YAML into an object of type
Tusing the givenTypeReference. - toObject(String, Class<T>) - Static method in class org.kiwiproject.xml.KiwiXml
-
Convert the given XML into an object of the specified type.
- toObject(String, Class<T>) - Method in class org.kiwiproject.yaml.YamlHelper
-
Convert the given YAML into the specified type.
- toObjectAssertingValid(String, Class<T>, KiwiXml.NamespaceValidation) - Static method in class org.kiwiproject.xml.KiwiXml
-
Convert the given XML into an object of the specified type, optionally performing namespace validation.
- toObjectAssertingValid(String, Class<T>, KiwiXml.NamespaceValidation, List<String>) - Static method in class org.kiwiproject.xml.KiwiXml
-
Convert the given XML into an object of the specified type, performing basic validation and ignoring the specified namespaces.
- toObjectIgnoringNamespace(String, Class<T>) - Static method in class org.kiwiproject.xml.KiwiXml
-
Convert the given XML into an object of the specified type, ignoring any XML namespace information and not performing any namespace validation.
- toObjectList(String, TypeReference<List<T>>) - Method in class org.kiwiproject.json.JsonHelper
-
Convert the given JSON into a List of objects of type
T. - toObjectList(String, TypeReference<List<T>>) - Method in class org.kiwiproject.yaml.YamlHelper
-
Convert the given YAML into a List of objects of type
T. - toObjectOptional(String, Class<T>) - Method in class org.kiwiproject.json.JsonHelper
-
Return an Optional that will contain an object of the expected type
T, or an empty Optional if the input JSON is blank - toObjectOrDefault(String, Class<T>, T) - Method in class org.kiwiproject.json.JsonHelper
-
Convert the given JSON into the specified type, or return the given default value if input JSON is blank.
- toObjectOrSupply(String, Class<T>, Supplier<T>) - Method in class org.kiwiproject.json.JsonHelper
-
Convert the given JSON into the specified type, or return the supplied default value if input JSON is blank.
- tooManyRequests(int) - Static method in class org.kiwiproject.net.KiwiHttpResponses
-
Check if the given status code is 429 Too Many Requests.
- toOptionalDouble(BigDecimal) - Static method in class org.kiwiproject.base.KiwiBigDecimals
-
Converts a nullable
BigDecimalto anOptionalDouble. - toOptionalDoubleObject(BigDecimal) - Static method in class org.kiwiproject.base.KiwiBigDecimals
- toQueryString(Map<String, V>) - Static method in class org.kiwiproject.net.KiwiUrls
-
Converts a Map containing String keys and V values into one (potentially long) string of key/value parameters.
- toResponse(ConstraintViolationException) - Method in class org.kiwiproject.jaxrs.exception.ConstraintViolationExceptionMapper
-
Convert the given
ConstraintViolationExceptionto a response containing a JSON entity. - toResponse(WebApplicationException) - Method in class org.kiwiproject.jaxrs.exception.WebApplicationExceptionMapper
-
Convert the given
WebApplicationExceptionto a response containing a JSON entity. - toResponse(IllegalArgumentException) - Method in class org.kiwiproject.jaxrs.exception.IllegalArgumentExceptionMapper
-
Convert the given
IllegalArgumentExceptionto a 400 Bad Request response containing a JSON entity. - toResponse(IllegalStateException) - Method in class org.kiwiproject.jaxrs.exception.IllegalStateExceptionMapper
-
Convert the given
IllegalStateExceptionto a 500 Internal Server Error response containing a JSON entity. - toResponse(NoSuchElementException) - Method in class org.kiwiproject.jaxrs.exception.NoSuchElementExceptionMapper
-
Convert the given
NoSuchElementExceptionto a 404 Not Found response containing a JSON entity. - toResponse(JaxrsException) - Method in class org.kiwiproject.jaxrs.exception.JaxrsExceptionMapper
-
Convert the given
JaxrsExceptionto a response containing a JSON entity. - toSimpleSSLContextFactory() - Method in class org.kiwiproject.config.SSLContextConfiguration
-
Convert this configuration to a
SimpleSSLContextFactory. - toSingleValuedParameterMap(MultivaluedMap<String, String>) - Static method in class org.kiwiproject.jaxrs.KiwiMultivaluedMaps
-
Converts the given
MultivaluedMapto a single-valued JDKMapby getting only the first element for each key in the multivalued map. - toSql() - Method in enum class org.kiwiproject.jdbc.SqlOrder
-
Return a string that can be used directly in a SQL
ORDER BYclause. - toSSLContext() - Method in class org.kiwiproject.config.SSLContextConfiguration
-
Convert this instance to a new
SSLContext. - toSSLContext() - Method in interface org.kiwiproject.security.KeyAndTrustStoreConfigProvider
-
Convert this configuration into a
SSLContext. - toSSLContext() - Method in interface org.kiwiproject.security.TrustStoreConfigProvider
-
Convert this configuration into a
SSLContext. - toSslContextConfiguration() - Method in class org.kiwiproject.config.TlsContextConfiguration
-
Convert this configuration into a
SSLContextConfiguration. - toSslSocketFactory() - Method in interface org.kiwiproject.security.TrustStoreConfigProvider
-
Convert this configuration into a
SSLSocketFactory. - toStdoutFrom(VaultConfiguration, String) - Static method in class org.kiwiproject.ansible.vault.VaultDecryptCommand
-
Create an instance.
- toString() - Method in class org.kiwiproject.ansible.vault.VaultConfiguration.VaultConfigurationBuilder
- toString() - Method in class org.kiwiproject.ansible.vault.VaultDecryptCommand.VaultDecryptCommandBuilder
- toString() - Method in class org.kiwiproject.ansible.vault.VaultEncryptCommand.VaultEncryptCommandBuilder
- toString() - Method in class org.kiwiproject.ansible.vault.VaultEncryptStringCommand.VaultEncryptStringCommandBuilder
- toString() - Method in class org.kiwiproject.ansible.vault.VaultRekeyCommand.VaultRekeyCommandBuilder
- toString() - Method in class org.kiwiproject.ansible.vault.VaultViewCommand.VaultViewCommandBuilder
- toString() - Method in class org.kiwiproject.config.TlsContextConfiguration.TlsContextConfigurationBuilder
- toString() - Method in class org.kiwiproject.config.TlsContextConfiguration
- toString() - Method in class org.kiwiproject.config.UrlRewriteConfiguration.UrlRewriteConfigurationBuilder
- toString() - Method in record class org.kiwiproject.io.KiwiIO.CloseableResource
-
Returns a string representation of this record class.
- toString() - Method in class org.kiwiproject.io.TimeBasedDirectoryCleaner.TimeBasedDirectoryCleanerBuilder
- toString() - Method in class org.kiwiproject.jaxrs.exception.ErrorMessage
- toString() - Method in class org.kiwiproject.jsch.SftpConfig.SftpConfigBuilder
- toString() - Method in class org.kiwiproject.json.FlexibleJsonModel
- toString() - Method in class org.kiwiproject.json.PropertyMaskingOptions.PropertyMaskingOptionsBuilder
- toString() - Method in class org.kiwiproject.net.KiwiInternetAddresses.SimpleHostInfo.SimpleHostInfoBuilder
- toString() - Method in class org.kiwiproject.net.KiwiInternetAddresses.SimpleHostInfo
- toString() - Method in class org.kiwiproject.net.KiwiUrls.Components.ComponentsBuilder
- toString() - Method in class org.kiwiproject.net.SimpleHostAndPort
-
Return a string in
host:portformat. - toString() - Method in class org.kiwiproject.retry.KiwiRetryer.KiwiRetryerBuilder
- toString() - Method in class org.kiwiproject.retry.SimpleRetryer.SimpleRetryerBuilder
- toString() - Method in class org.kiwiproject.spring.data.KiwiPage
- toString() - Method in class org.kiwiproject.spring.data.KiwiSort
- toString() - Method in class org.kiwiproject.spring.data.PagingRequest
- toTlsContextConfiguration() - Method in class org.kiwiproject.config.SSLContextConfiguration
-
Convert this
SSLContextConfigurationto aTlsContextConfiguration. - toUriBuilder() - Method in class org.kiwiproject.config.EndpointConfiguration
-
Converts the URI returned by
EndpointConfiguration.getURI()into a Jakarta RESTUriBuilder. - toURL(URI) - Static method in class org.kiwiproject.net.KiwiUrls
-
Tries to convert the given
uriinto aURL, throwing an unchecked exception if the conversion fails. - toWebTarget() - Method in class org.kiwiproject.jaxrs.client.WebTargetHelper
-
Convert the current state contained in this helper to a new
WebTargetinstance. - toXml(Object) - Static method in class org.kiwiproject.xml.KiwiXml
-
Convert the given object to an XML representation.
- toXml(Object, Class<?>) - Static method in class org.kiwiproject.xml.KiwiXml
-
Convert the given object to an XML representation.
- toXml(Object, Class<?>, Map<String, Object>) - Static method in class org.kiwiproject.xml.KiwiXml
-
Convert the given object to an XML representation.
- toYaml(Object) - Method in class org.kiwiproject.yaml.YamlHelper
-
Convert the given object to YAML.
- toYaml(Object, Class<?>) - Method in class org.kiwiproject.yaml.YamlHelper
-
Convert the given object to YAML using the given
JsonView. - toZonedDateTime(Date, ZoneId) - Static method in class org.kiwiproject.time.KiwiDateTimeConverters
-
Convert the given
Dateinto its equivalentZonedDateTimein the specified time zone. - toZonedDateTimeOrNull(GregorianCalendar) - Static method in class org.kiwiproject.time.KiwiDateTimeConverters
- toZonedDateTimeUTC(Date) - Static method in class org.kiwiproject.time.KiwiDateTimeConverters
-
Convert the given
Dateinto its equivalentZonedDateTimein the UTC time zone. - trimmedStringOrNullIfBlank(ResultSet, String) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Returns a String from the specified column in the
ResultSet, trimming leading and trailing whitespace. - trustSelfSignedCertificates(boolean) - Method in class org.kiwiproject.config.TlsContextConfiguration.TlsContextConfigurationBuilder
-
Whether self-signed certificates should be trusted.
- TrustStoreConfigProvider - Interface in org.kiwiproject.security
-
Defines a configuration interface for properties needed to create trust stores, and a contract to be able to create a
SSLContextandSSLSocketFactoryfrom this configuration. - trustStorePassword(String) - Method in class org.kiwiproject.config.SecureEndpointsConfiguration.Builder
- trustStorePassword(String) - Method in class org.kiwiproject.config.SSLContextConfiguration.Builder
- trustStorePassword(String) - Method in class org.kiwiproject.config.TlsContextConfiguration.TlsContextConfigurationBuilder
-
Trust store password.
- trustStorePassword(String) - Method in class org.kiwiproject.security.SimpleSSLContextFactory.Builder
- trustStorePath(String) - Method in class org.kiwiproject.config.SecureEndpointsConfiguration.Builder
- trustStorePath(String) - Method in class org.kiwiproject.config.SSLContextConfiguration.Builder
- trustStorePath(String) - Method in class org.kiwiproject.config.TlsContextConfiguration.TlsContextConfigurationBuilder
-
Absolute path to the trust store.
- trustStorePath(String) - Method in class org.kiwiproject.security.SimpleSSLContextFactory.Builder
- trustStoreProvider(String) - Method in class org.kiwiproject.config.TlsContextConfiguration.TlsContextConfigurationBuilder
-
The name of the provider for the trust store, i.e., the value of
providerto use when getting theKeyStoreinstance for the trust store. - trustStoreType(String) - Method in class org.kiwiproject.config.SecureEndpointsConfiguration.Builder
- trustStoreType(String) - Method in class org.kiwiproject.config.SSLContextConfiguration.Builder
- trustStoreType(String) - Method in class org.kiwiproject.config.TlsContextConfiguration.TlsContextConfigurationBuilder
-
Trust store type.
- trustStoreType(String) - Method in class org.kiwiproject.security.SimpleSSLContextFactory.Builder
- tryAdvance(Consumer<? super MatchResult>) - Method in class org.kiwiproject.regex.MatchSpliterator
- tryAdvance(Consumer<? super MatchResult>) - Method in class org.kiwiproject.util.regex.MatcherSpliterator
- tryGetCurrentPid() - Method in class org.kiwiproject.base.DefaultEnvironment
- tryGetCurrentPid() - Method in interface org.kiwiproject.base.KiwiEnvironment
-
Tries to obtain the process ID of the currently executing JVM.
- tryGetObject(int, long, TimeUnit, Class<T>, Supplier<T>) - Static method in class org.kiwiproject.retry.SimpleRetries
-
Try to get an object, making up to
maxAttemptsattempts. - tryGetObject(int, long, TimeUnit, Supplier<T>) - Static method in class org.kiwiproject.retry.SimpleRetries
-
Try to get an object, making up to
maxAttemptsattempts. - tryGetObject(int, long, TimeUnit, KiwiEnvironment, Class<T>, Supplier<T>) - Static method in class org.kiwiproject.retry.SimpleRetries
-
Try to get an object, making up to
maxAttemptsattempts. - tryGetObject(int, long, TimeUnit, KiwiEnvironment, String, Level, Supplier<T>) - Static method in class org.kiwiproject.retry.SimpleRetries
-
Try to get an object, making up to
maxAttemptsattempts. - tryGetObject(int, long, TimeUnit, KiwiEnvironment, Supplier<T>) - Static method in class org.kiwiproject.retry.SimpleRetries
-
Try to get an object, making up to
maxAttemptsattempts. - tryGetObject(Class<T>, Supplier<T>) - Method in class org.kiwiproject.retry.SimpleRetryer
-
Try to get an object.
- tryGetObject(String, Supplier<T>) - Method in class org.kiwiproject.retry.SimpleRetryer
-
Try to get an object.
- tryGetObject(Supplier<T>) - Method in class org.kiwiproject.retry.SimpleRetryer
-
Try to get an object.
- tryGetObjectCollectingErrors(int, long, TimeUnit, Class<T>, Supplier<T>) - Static method in class org.kiwiproject.retry.SimpleRetries
-
Try to get an object, making up to
maxAttemptsattempts. - tryGetObjectCollectingErrors(int, long, TimeUnit, Supplier<T>) - Static method in class org.kiwiproject.retry.SimpleRetries
-
Try to get an object, making up to
maxAttemptsattempts. - tryGetObjectCollectingErrors(int, long, TimeUnit, KiwiEnvironment, Class<T>, Supplier<T>) - Static method in class org.kiwiproject.retry.SimpleRetries
-
Try to get an object, making up to
maxAttemptsattempts. - tryGetObjectCollectingErrors(int, long, TimeUnit, KiwiEnvironment, String, Supplier<T>) - Static method in class org.kiwiproject.retry.SimpleRetries
-
Try to get an object, making up to
maxAttemptsattempts. - tryGetObjectCollectingErrors(int, long, TimeUnit, KiwiEnvironment, String, Level, Supplier<T>) - Static method in class org.kiwiproject.retry.SimpleRetries
-
Try to get an object, making up to
maxAttemptsattempts. - tryGetObjectCollectingErrors(Class<T>, Supplier<T>) - Method in class org.kiwiproject.retry.SimpleRetryer
-
Try to get an object.
- tryGetObjectCollectingErrors(String, Supplier<T>) - Method in class org.kiwiproject.retry.SimpleRetryer
-
Try to get an object.
- tryGetObjectCollectingErrors(Supplier<T>) - Method in class org.kiwiproject.retry.SimpleRetryer
-
Try to get an object.
- TryLocker - Class in org.kiwiproject.concurrent
-
Utility that aids in using
Lock.tryLock(long, TimeUnit). - tryParseDouble(CharSequence) - Static method in class org.kiwiproject.base.KiwiPrimitives
-
Attempt to parse the given
CharSequenceto andouble. - tryParseDoubleOrNull(CharSequence) - Static method in class org.kiwiproject.base.KiwiPrimitives
-
Attempt to parse the given
CharSequenceto anDouble. - tryParseDoubleOrThrow(CharSequence) - Static method in class org.kiwiproject.base.KiwiPrimitives
-
Attempt to parse the given
CharSequenceto andouble. - tryParseInt(CharSequence) - Static method in class org.kiwiproject.base.KiwiPrimitives
-
Attempt to parse the given
CharSequenceto anint. - tryParseIntOrNull(CharSequence) - Static method in class org.kiwiproject.base.KiwiPrimitives
-
Attempt to parse the given
CharSequenceto anInteger. - tryParseIntOrThrow(CharSequence) - Static method in class org.kiwiproject.base.KiwiPrimitives
-
Attempt to parse the given
CharSequenceto anint. - tryParseLong(CharSequence) - Static method in class org.kiwiproject.base.KiwiPrimitives
-
Attempt to parse the given
CharSequenceto anlong. - tryParseLongOrNull(CharSequence) - Static method in class org.kiwiproject.base.KiwiPrimitives
-
Attempt to parse the given
CharSequenceto anLong. - tryParseLongOrThrow(CharSequence) - Static method in class org.kiwiproject.base.KiwiPrimitives
-
Attempt to parse the given
CharSequenceto anlong. - type - Variable in class org.kiwiproject.base.KiwiThrowables.ThrowableInfo
- typeOf(Throwable) - Static method in class org.kiwiproject.base.KiwiThrowables
-
Get the type of
Throwable - typeOfNullable(Throwable) - Static method in class org.kiwiproject.base.KiwiThrowables
U
- unauthorized(int) - Static method in class org.kiwiproject.net.KiwiHttpResponses
-
Check if the given status code is 401 Unauthorized.
- UncheckedGeneralSecurityException - Exception in org.kiwiproject.security
-
Wraps a
GeneralSecurityExceptionwith an unchecked exception. - UncheckedGeneralSecurityException(String, GeneralSecurityException) - Constructor for exception org.kiwiproject.security.UncheckedGeneralSecurityException
-
Constructs a new instance.
- UncheckedGeneralSecurityException(GeneralSecurityException) - Constructor for exception org.kiwiproject.security.UncheckedGeneralSecurityException
-
Constructs a new instance.
- UncheckedInterruptedException - Exception in org.kiwiproject.base
-
Wraps an
InterruptedExceptionwith an unchecked exception. - UncheckedInterruptedException(InterruptedException) - Constructor for exception org.kiwiproject.base.UncheckedInterruptedException
-
Constructs an instance of this class.
- UncheckedInterruptedException(String, InterruptedException) - Constructor for exception org.kiwiproject.base.UncheckedInterruptedException
-
Constructs an instance of this class.
- UncheckedJAXBException - Exception in org.kiwiproject.xml
-
Wraps a
JAXBExceptionwith an unchecked exception. - UncheckedJAXBException(JAXBException) - Constructor for exception org.kiwiproject.xml.UncheckedJAXBException
-
Construct an instance.
- UncheckedJAXBException(String, JAXBException) - Constructor for exception org.kiwiproject.xml.UncheckedJAXBException
-
Construct an instance.
- UncheckedMalformedURLException - Exception in org.kiwiproject.net
-
Wraps a
MalformedURLExceptionwith an unchecked exception - UncheckedMalformedURLException(String, MalformedURLException) - Constructor for exception org.kiwiproject.net.UncheckedMalformedURLException
- UncheckedMalformedURLException(MalformedURLException) - Constructor for exception org.kiwiproject.net.UncheckedMalformedURLException
- UncheckedSQLException - Exception in org.kiwiproject.jdbc
-
Unchecked exception that wraps a
SQLException. - UncheckedSQLException(String, SQLException) - Constructor for exception org.kiwiproject.jdbc.UncheckedSQLException
-
Constructs an instance of this class.
- UncheckedSQLException(SQLException) - Constructor for exception org.kiwiproject.jdbc.UncheckedSQLException
-
Constructs an instance of this class.
- UncheckedURISyntaxException - Exception in org.kiwiproject.net
-
Wraps a
URISyntaxExceptionwith an unchecked exception. - UncheckedURISyntaxException(String, URISyntaxException) - Constructor for exception org.kiwiproject.net.UncheckedURISyntaxException
- UncheckedURISyntaxException(URISyntaxException) - Constructor for exception org.kiwiproject.net.UncheckedURISyntaxException
- UNKNOWN - Enum constant in enum class org.kiwiproject.jackson.JacksonDataFormat
- UNKNOWN_HOST - Static variable in class org.kiwiproject.retry.KiwiRetryerPredicates
-
Check if a given
Exceptionis or has a root cause ofUnknownHostException. - UNKNOWN_PORT - Static variable in class org.kiwiproject.net.KiwiUrls
- unprocessableContent(int) - Static method in class org.kiwiproject.net.KiwiHttpResponses
-
Check if the given status code is 422 Unprocessable Content.
- unsupportedMediaType(int) - Static method in class org.kiwiproject.net.KiwiHttpResponses
-
Check if the given status code is 415 Unsupported Media Type.
- unwrap() - Method in exception org.kiwiproject.retry.KiwiRetryerException
-
Unwrap the given
KiwiRetryerExceptionto reveal the underlying exception that caused it. - unwrap(Throwable, Class<?>) - Static method in class org.kiwiproject.base.KiwiThrowables
-
If
throwableis of typewrapperClass, then "unwrap" the cause and return it. - unwrapAsRetryException() - Method in exception org.kiwiproject.retry.KiwiRetryerException
-
If the underlying cause is a
RetryException, unwrap it. - unwrapFully() - Method in exception org.kiwiproject.retry.KiwiRetryerException
-
Unwrap the given
KiwiRetryerExceptionto reveal the underlying exception that caused it. - unwrapKiwiRetryerException(KiwiRetryerException) - Static method in exception org.kiwiproject.retry.KiwiRetryerException
-
Unwrap the given
KiwiRetryerExceptionto reveal the underlying exception that caused it. - unwrapKiwiRetryerExceptionFully(KiwiRetryerException) - Static method in exception org.kiwiproject.retry.KiwiRetryerException
-
Unwrap the given
KiwiRetryerExceptionto reveal the underlying exception that caused it. - updatePath(Object, String, Object, Class<T>) - Method in class org.kiwiproject.json.JsonHelper
-
Update the given path in the object with the new value, converting to the target class.
- upgradeRequired(int) - Static method in class org.kiwiproject.net.KiwiHttpResponses
-
Check if the given status code is 426 Upgrade Required.
- uriTooLong(int) - Static method in class org.kiwiproject.net.KiwiHttpResponses
-
Check if the given status code is 414 URI Too Long.
- urlRewriteConfiguration(UrlRewriteConfiguration) - Method in class org.kiwiproject.config.EndpointConfiguration.Builder
- UrlRewriteConfiguration - Class in org.kiwiproject.config
-
Specifies URL rewriting configuration used by
EndpointConfiguration. - UrlRewriteConfiguration() - Constructor for class org.kiwiproject.config.UrlRewriteConfiguration
- UrlRewriteConfiguration(String) - Constructor for class org.kiwiproject.config.UrlRewriteConfiguration
-
Creates a new
UrlRewriteConfigurationinstance. - UrlRewriteConfiguration.UrlRewriteConfigurationBuilder - Class in org.kiwiproject.config
- usageSeverity() - Element in annotation interface org.kiwiproject.base.KiwiDeprecated
-
Indication of potential for problems if the deprecated feature continues to be used by callers, clients, etc.
- user(String) - Method in class org.kiwiproject.jsch.SftpConfig.SftpConfigBuilder
-
The remote user to connect with via SFTP.
- using(Lock, long, TimeUnit) - Static method in class org.kiwiproject.concurrent.TryLocker
-
Create a new
TryLockerusing the given lock and maximum wait time. - usingOneAsFirstPage() - Method in class org.kiwiproject.spring.data.KiwiPage
-
Sets
pagingStartsWithto zero, so that pagination assumes one-based page numbering. - usingReentrantLock() - Static method in class org.kiwiproject.concurrent.TryLocker
-
Create a new
TryLockerusing aReentrantLockand the default lock maximum wait time. - usingReentrantLock(int, TimeUnit) - Static method in class org.kiwiproject.concurrent.TryLocker
-
Create a new
TryLockerusing aReentrantLockwith the given lock wait time. - usingZeroAsFirstPage() - Method in class org.kiwiproject.spring.data.KiwiPage
-
Sets
pagingStartsWithto zero, so that pagination assumes zero-based page numbering. - utcZonedDateTimeFromEpochMilli(long) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Returns a
ZonedDateTimein UTC from the given number of milliseconds since the epoch. - utcZonedDateTimeFromTimestamp(ResultSet, String) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Returns a
ZonedDateTimein UTC from the specified column in theResultSet. - utcZonedDateTimeFromTimestamp(Timestamp) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Returns a
ZonedDateTimein UTC from the specifiedTimestamp. - UUIDs - Class in org.kiwiproject.base
-
Utility class for working with
UUIDinstances.
V
- validate(T) - Static method in class org.kiwiproject.validation.KiwiValidations
-
Validate the given object using the singleton validator instance against the
Defaultgroup. - validate(T, Class<?>...) - Static method in class org.kiwiproject.validation.KiwiValidations
-
Validate the given object using the singleton validator instance against the specified validation groups.
- validateBuilderState() - Method in class org.kiwiproject.security.SimpleSSLContextFactory.Builder
- validateExactlyOneIntParameter(MultivaluedMap<String, V>, String) - Static method in class org.kiwiproject.jaxrs.KiwiResources
-
Checks whether
parameterscontains a parameter namedparameterNamethat has exactly one value that can be converted into an integer. - validateExactlyOneLongParameter(MultivaluedMap<String, V>, String) - Static method in class org.kiwiproject.jaxrs.KiwiResources
-
Checks whether
parameterscontains a parameter namedparameterNamethat has exactly one value that can be converted into a long. - validateExistingObject(Validator, T) - Static method in class org.kiwiproject.validation.group.KiwiValidationGroups
-
Validate an existing (persistent) object using the given
Validatorinstance. - validateExistingObject(T) - Static method in class org.kiwiproject.validation.group.KiwiValidationGroups
-
Validate an existing (persistent) object using a default
Validatorinstance. - validateIntParameter(Map<String, V>, String) - Static method in class org.kiwiproject.jaxrs.KiwiResources
-
Checks whether
parameterscontains parameter namedparameterNamethat is an integer or something that can be converted into an integer. - validateLongParameter(Map<String, V>, String) - Static method in class org.kiwiproject.jaxrs.KiwiResources
-
Checks whether
parameterscontains parameter namedparameterNamethat is a long or something that can be converted into a long. - validateNewObject(Validator, T) - Static method in class org.kiwiproject.validation.group.KiwiValidationGroups
-
Validate a new (transient) object using the given
Validatorinstance. - validateNewObject(T) - Static method in class org.kiwiproject.validation.group.KiwiValidationGroups
-
Validate a new (transient) object using a default
Validatorinstance. - validateOneIntParameter(MultivaluedMap<String, V>, String) - Static method in class org.kiwiproject.jaxrs.KiwiResources
-
Checks whether
parameterscontains a parameter namedparameterNamethat has at least one value that can be converted into an integer. - validateOneLongParameter(MultivaluedMap<String, V>, String) - Static method in class org.kiwiproject.jaxrs.KiwiResources
-
Checks whether
parameterscontains a parameter namedparameterNamethat has at least one value that can be converted into a long. - validateOneOrMoreIntParameters(MultivaluedMap<String, V>, String) - Static method in class org.kiwiproject.jaxrs.KiwiResources
-
Checks whether
parameterscontains a parameter namedparameterNamethat has at least one value that can be converted into an integer. - validateOneOrMoreLongParameters(MultivaluedMap<String, V>, String) - Static method in class org.kiwiproject.jaxrs.KiwiResources
-
Checks whether
parameterscontains a parameter namedparameterNamethat has at least one value that can be converted into a long. - validateThrowing(T) - Static method in class org.kiwiproject.validation.KiwiValidations
-
Validate the given object using the singleton validator instance against the
Defaultgroup, and throw aConstraintViolationExceptionif validation fails. - validateThrowing(T, Class<?>...) - Static method in class org.kiwiproject.validation.KiwiValidations
-
Validate the given object using the singleton validator instance against the specified validation groups, and throw a
ConstraintViolationExceptionif validation fails. - validateXmlMatchesType(String, Class<T>) - Static method in class org.kiwiproject.xml.KiwiXml
-
Validate that the given XML has a namespace that matches the given class, which is generally assumed to be annotated with
XmlType. - validateXmlMatchesType(String, Class<T>, List<String>) - Static method in class org.kiwiproject.xml.KiwiXml
-
Validate that the given XML has a namespace that matches the given class, which is generally assumed to be annotated with
XmlType, but ignoring the given list of namespaces. - value - Variable in enum class org.kiwiproject.security.KeyStoreType
-
The keystore type as a String which can be directly supplied to
KeyStore.getInstance(String). - value - Variable in enum class org.kiwiproject.security.SSLContextProtocol
-
The protocol name that can be directly supplied to
SSLContext.getInstance(String). - value() - Element in annotation interface org.kiwiproject.validation.FieldRanges
- valueMethod() - Element in annotation interface org.kiwiproject.validation.InEnum
-
By default,
InEnumuses the enum constants as the values to validate against. - valueOf(String) - Static method in enum class org.kiwiproject.base.KiwiDeprecated.Severity
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.kiwiproject.base.KiwiPrimitives.BooleanConversionOption
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.kiwiproject.base.process.KillSignal
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.kiwiproject.base.process.KillTimeoutAction
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.kiwiproject.collect.KiwiStreams.StreamMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.kiwiproject.concurrent.Async.Mode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.kiwiproject.jackson.JacksonDataFormat
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.kiwiproject.jdbc.KiwiJdbc.StringTrimOption
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.kiwiproject.jdbc.SqlOrder
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.kiwiproject.json.JsonHelper.MergeOption
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.kiwiproject.json.JsonHelper.OutputFormat
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.kiwiproject.net.KiwiInternetAddresses.IpScheme
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.kiwiproject.reflect.KiwiReflection.Accessor
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.kiwiproject.search.KiwiSearching.PageNumberingScheme
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.kiwiproject.security.KeyStoreType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.kiwiproject.security.SSLContextProtocol
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.kiwiproject.spring.data.KiwiSort.Direction
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.kiwiproject.spring.data.KiwiSpringMongoQueries.PartialMatchType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.kiwiproject.xml.KiwiXml.NamespaceValidation
-
Returns the enum constant of this class with the specified name.
- valueOf(Map<String, Object>) - Static method in class org.kiwiproject.jaxrs.exception.ErrorMessage
-
Build an
ErrorMessagefrom the given map of properties, whose keys must correspond to the property names and whose values must have the expected type. - values() - Static method in enum class org.kiwiproject.base.KiwiDeprecated.Severity
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.kiwiproject.base.KiwiPrimitives.BooleanConversionOption
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.kiwiproject.base.process.KillSignal
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.kiwiproject.base.process.KillTimeoutAction
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.kiwiproject.collect.KiwiStreams.StreamMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.kiwiproject.concurrent.Async.Mode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.kiwiproject.jackson.JacksonDataFormat
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.kiwiproject.jdbc.KiwiJdbc.StringTrimOption
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.kiwiproject.jdbc.SqlOrder
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.kiwiproject.json.JsonHelper.MergeOption
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.kiwiproject.json.JsonHelper.OutputFormat
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.kiwiproject.net.KiwiInternetAddresses.IpScheme
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.kiwiproject.reflect.KiwiReflection.Accessor
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.kiwiproject.search.KiwiSearching.PageNumberingScheme
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.kiwiproject.security.KeyStoreType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.kiwiproject.security.SSLContextProtocol
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.kiwiproject.spring.data.KiwiSort.Direction
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.kiwiproject.spring.data.KiwiSpringMongoQueries.PartialMatchType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.kiwiproject.xml.KiwiXml.NamespaceValidation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- variableName(String) - Method in class org.kiwiproject.ansible.vault.VaultEncryptStringCommand.VaultEncryptStringCommandBuilder
- VaultConfiguration - Class in org.kiwiproject.ansible.vault
-
Configuration class for creating ansible-vault commands.
- VaultConfiguration() - Constructor for class org.kiwiproject.ansible.vault.VaultConfiguration
-
No-arg constructor.
- VaultConfiguration(String, String, String) - Constructor for class org.kiwiproject.ansible.vault.VaultConfiguration
-
All-args constructor.
- VaultConfiguration.VaultConfigurationBuilder - Class in org.kiwiproject.ansible.vault
- VaultDecryptCommand - Class in org.kiwiproject.ansible.vault
-
Generates
ansible-vault decryptcommands. - VaultDecryptCommand.VaultDecryptCommandBuilder - Class in org.kiwiproject.ansible.vault
- VaultEncryptCommand - Class in org.kiwiproject.ansible.vault
-
Generates
ansible-vault encryptcommands. - VaultEncryptCommand.VaultEncryptCommandBuilder - Class in org.kiwiproject.ansible.vault
- VaultEncryptionException - Exception in org.kiwiproject.ansible.vault
-
Runtime exception for errors that occur making
ansible-vaultcalls, but which are not related to invalid method or constructor arguments. - VaultEncryptionException() - Constructor for exception org.kiwiproject.ansible.vault.VaultEncryptionException
- VaultEncryptionException(String) - Constructor for exception org.kiwiproject.ansible.vault.VaultEncryptionException
- VaultEncryptionException(String, Throwable) - Constructor for exception org.kiwiproject.ansible.vault.VaultEncryptionException
- VaultEncryptionException(Throwable) - Constructor for exception org.kiwiproject.ansible.vault.VaultEncryptionException
- VaultEncryptionHelper - Class in org.kiwiproject.ansible.vault
-
The main class in this package for executing
ansible-vaultcommands. - VaultEncryptionHelper(VaultConfiguration) - Constructor for class org.kiwiproject.ansible.vault.VaultEncryptionHelper
-
Create an instance with the given vault configuration.
- VaultEncryptStringCommand - Class in org.kiwiproject.ansible.vault
-
Generates
ansible-vault encrypt_stringcommands. - VaultEncryptStringCommand.VaultEncryptStringCommandBuilder - Class in org.kiwiproject.ansible.vault
- vaultIdLabel(String) - Method in class org.kiwiproject.ansible.vault.VaultEncryptCommand.VaultEncryptCommandBuilder
- vaultIdLabel(String) - Method in class org.kiwiproject.ansible.vault.VaultEncryptStringCommand.VaultEncryptStringCommandBuilder
- vaultPasswordFilePath(String) - Method in class org.kiwiproject.ansible.vault.VaultConfiguration.VaultConfigurationBuilder
- vaultPasswordFilePath(String) - Method in class org.kiwiproject.ansible.vault.VaultDecryptCommand.VaultDecryptCommandBuilder
- vaultPasswordFilePath(String) - Method in class org.kiwiproject.ansible.vault.VaultEncryptCommand.VaultEncryptCommandBuilder
- vaultPasswordFilePath(String) - Method in class org.kiwiproject.ansible.vault.VaultEncryptStringCommand.VaultEncryptStringCommandBuilder
- vaultPasswordFilePath(String) - Method in class org.kiwiproject.ansible.vault.VaultRekeyCommand.VaultRekeyCommandBuilder
- vaultPasswordFilePath(String) - Method in class org.kiwiproject.ansible.vault.VaultViewCommand.VaultViewCommandBuilder
- VaultRekeyCommand - Class in org.kiwiproject.ansible.vault
-
Generates
ansible-vault rekeycommands. - VaultRekeyCommand.VaultRekeyCommandBuilder - Class in org.kiwiproject.ansible.vault
- VaultViewCommand - Class in org.kiwiproject.ansible.vault
-
Generates
ansible-vault viewcommands. - VaultViewCommand.VaultViewCommandBuilder - Class in org.kiwiproject.ansible.vault
- verifyExistence(Optional<T>) - Static method in class org.kiwiproject.jaxrs.KiwiResources
-
Verifies that
resourceEntitycontains a value, otherwise throws aJaxrsNotFoundException. - verifyExistence(Optional<T>, Class<T>, Object) - Static method in class org.kiwiproject.jaxrs.KiwiResources
-
Verifies that
resourceEntitycontains a value, otherwise throwsJaxrsNotFoundException. - verifyExistence(Optional<T>, String) - Static method in class org.kiwiproject.jaxrs.KiwiResources
-
Verifies that
resourceEntitycontains a value, otherwise throwsJaxrsNotFoundException. - verifyExistence(Optional<T>, String, Object...) - Static method in class org.kiwiproject.jaxrs.KiwiResources
-
Verifies that
resourceEntitycontains a value, otherwise throwsJaxrsNotFoundException. - verifyExistence(T) - Static method in class org.kiwiproject.jaxrs.KiwiResources
-
Verifies that
resourceEntityis not null, otherwise throws aJaxrsNotFoundException. - verifyExistence(T, Class<T>, Object) - Static method in class org.kiwiproject.jaxrs.KiwiResources
-
Verifies that
resourceEntityis not null, otherwise throws aJaxrsNotFoundException. - verifyExistence(T, String) - Static method in class org.kiwiproject.jaxrs.KiwiResources
-
Verifies that
resourceEntityis not null, otherwise throwsJaxrsNotFoundException. - verifyExistence(T, String, Object...) - Static method in class org.kiwiproject.jaxrs.KiwiResources
-
Verifies that
resourceEntityis not null, otherwise throwsJaxrsNotFoundException. - verifyExistenceAndReturn(T) - Static method in class org.kiwiproject.jaxrs.KiwiResources
-
Verifies that
resourceEntityis not null and returns it, otherwise throws aJaxrsNotFoundException. - verifyExistenceAndReturn(T, Class<T>, Object) - Static method in class org.kiwiproject.jaxrs.KiwiResources
-
Verifies that
resourceEntityis not null and returns it, otherwise throws aJaxrsNotFoundException. - verifyExistenceAndReturn(T, String) - Static method in class org.kiwiproject.jaxrs.KiwiResources
-
Verifies that
resourceEntityis not null and returns it, otherwise throwsJaxrsNotFoundException. - verifyExistenceAndReturn(T, String, Object...) - Static method in class org.kiwiproject.jaxrs.KiwiResources
-
Verifies that
resourceEntityis not null and returns it, otherwise throwsJaxrsNotFoundException. - verifyHostname(boolean) - Method in class org.kiwiproject.config.SecureEndpointsConfiguration.Builder
- verifyHostname(boolean) - Method in class org.kiwiproject.config.SSLContextConfiguration.Builder
- verifyHostname(boolean) - Method in class org.kiwiproject.config.TlsContextConfiguration.TlsContextConfigurationBuilder
-
Should host names be verified when establishing secure connections?
- verifyHostname(boolean) - Method in class org.kiwiproject.security.SimpleSSLContextFactory.Builder
- versionCompare(String, String) - Static method in class org.kiwiproject.base.Versions
-
Performs a case-insensitive, segment by segment comparison of numeric and alphanumeric version numbers.
- Versions - Class in org.kiwiproject.base
-
A few simple version comparison utilities.
- viewFile(String) - Method in class org.kiwiproject.ansible.vault.VaultEncryptionHelper
-
Wraps ansible-vault view command.
- viewFile(Path) - Method in class org.kiwiproject.ansible.vault.VaultEncryptionHelper
-
Wraps ansible-vault view command.
W
- waitFor(CompletableFuture<T>, long, TimeUnit) - Static method in class org.kiwiproject.concurrent.Async
-
Helper method that waits for a
CompletableFutureup to a specified timeout. - waitForAll(Collection<CompletableFuture<T>>, long, TimeUnit) - Static method in class org.kiwiproject.concurrent.Async
-
Helper method that waits for a collection of
CompletableFutureof typeTup to a specified timeout. - waitForAllIgnoringType(Collection<CompletableFuture>, long, TimeUnit) - Static method in class org.kiwiproject.concurrent.Async
-
Helper method that waits for a collection of
CompletableFuturewith no explicit type up to a specified timeout. - waitForExit(Process) - Static method in class org.kiwiproject.base.process.Processes
-
Waits up to
Processes.DEFAULT_WAIT_FOR_EXIT_TIME_SECONDSfor the given process to exit. - waitForExit(Process) - Method in class org.kiwiproject.base.process.ProcessHelper
-
Waits up to
Processes.DEFAULT_WAIT_FOR_EXIT_TIME_SECONDSfor the given process to exit. - waitForExit(Process, long, TimeUnit) - Static method in class org.kiwiproject.base.process.Processes
-
Waits up to the specified
timeoutfor the given process to exit. - waitForExit(Process, long, TimeUnit) - Method in class org.kiwiproject.base.process.ProcessHelper
-
Waits up to the specified
timeoutfor the given process to exit. - waitStrategy(WaitStrategy) - Method in class org.kiwiproject.retry.KiwiRetryer.KiwiRetryerBuilder
- WARN - Enum constant in enum class org.kiwiproject.base.KiwiDeprecated.Severity
- wasPgrepFlagsCheckSuccessful() - Static method in class org.kiwiproject.base.process.Processes
-
Use this method to determine if calling any of the pgrep methods in this class will work as expected.
- WebApplicationExceptionMapper - Class in org.kiwiproject.jaxrs.exception
-
Map
WebApplicationExceptiontoResponse. - WebApplicationExceptionMapper() - Constructor for class org.kiwiproject.jaxrs.exception.WebApplicationExceptionMapper
- WebTargetClientHelper - Class in org.kiwiproject.jaxrs.client
-
Use with Jakarta REST
Clientinstances to provide additional functionality viaWebTargetHelper. - WebTargetHelper - Class in org.kiwiproject.jaxrs.client
-
Use with Jakarta REST
WebTargetinstances to provide convenient functionality when adding query parameters. - which(String) - Static method in class org.kiwiproject.base.process.Processes
-
Locate a program in the user's path.
- which(String) - Method in class org.kiwiproject.base.process.ProcessHelper
-
Locate a program in the user's path.
- whichAnsibleVault() - Static method in class org.kiwiproject.ansible.vault.VaultEncryptionHelper
-
Locate the
ansible-vaultprogram in the user's path. - whichAnsibleVaultAsPath() - Static method in class org.kiwiproject.ansible.vault.VaultEncryptionHelper
-
Locate the
ansible-vaultprogram in the user's path, returning the result as aPath. - whichAsPath(String) - Static method in class org.kiwiproject.base.process.Processes
-
Locate a program in the user's path, returning the result as a
Path. - whichAsPath(String) - Method in class org.kiwiproject.base.process.ProcessHelper
-
Locate a program in the user's path, returning the result as a
Path. - with(Pageable) - Method in class org.kiwiproject.spring.data.PagingQuery
-
Add/change the pagination of
thisinstance. - withAnnotationConfigurations(Class<?>...) - Method in class org.kiwiproject.spring.context.SpringContextBuilder
-
Adds multiple annotation-based Spring
@Configurationclasses. - withClient(Client) - Static method in class org.kiwiproject.jaxrs.client.WebTargetClientHelper
-
Create a new instance with the given
Client. - withLeadingDash() - Method in enum class org.kiwiproject.base.process.KillSignal
-
Return this signal's number with a leading dash, e.g. "-3".
- withLeadingDash(String) - Static method in enum class org.kiwiproject.base.process.KillSignal
-
Given a signal, prepend a leading dash if necessary, e.g. change "9" into "-9".
- withLockOrElse(Runnable, Runnable) - Method in class org.kiwiproject.concurrent.TryLocker
-
Run
withLockActionif the lock is obtained within the lock timeout period. - withLockSupplyOrFallback(Supplier<T>, T) - Method in class org.kiwiproject.concurrent.TryLocker
-
Execute the given
withLockSupplierif the lock is obtained within the lock timeout period and return its value. - withLockSupplyOrFallbackSupply(Supplier<T>, Supplier<T>) - Method in class org.kiwiproject.concurrent.TryLocker
-
Execute the given
withLockSupplierif the lock is obtained within the lock timeout period and return its value. - withLockSupplyOrNull(Supplier<T>) - Method in class org.kiwiproject.concurrent.TryLocker
-
Execute the given
withLockSupplierif the lock is obtained within the lock timeout period and return its value. - withMaxTimeout(CompletableFuture<T>, long, TimeUnit) - Static method in class org.kiwiproject.concurrent.Async
-
Wraps a
CompletableFuturewith a timeout so that it can proceed asynchronously, but still have a maximum duration. - withMaxTimeout(CompletableFuture<T>, long, TimeUnit, ExecutorService) - Static method in class org.kiwiproject.concurrent.Async
-
Wraps a
CompletableFuturewith a timeout so that it can proceed asynchronously, but still have a maximum duration. - withPaginationProperties() - Method in class org.kiwiproject.spring.data.PagingRequest
-
Ensure the given
PagingRequesthas pagination properties by providing default values for any null or invalid properties. - withPaginationProperties(PagingRequest) - Static method in class org.kiwiproject.spring.data.PagingRequest
-
Ensure the given
PagingRequesthas pagination properties by providing default values for any null or invalid properties, returning the same instance if it is valid, and otherwise returning a new instance. - withTimestamp(long) - Method in class org.kiwiproject.io.TimeBasedDirectoryCleaner.DeleteError
- withWebTarget(WebTarget) - Static method in class org.kiwiproject.jaxrs.client.WebTargetHelper
-
Create a new instance with the given
WebTarget. - withXmlConfigLocations(String...) - Method in class org.kiwiproject.spring.context.SpringContextBuilder
-
Add multiple Spring XML configuration locations
- writeBeanValue(R, BeanWrapper, String, Object) - Method in class org.kiwiproject.beans.BeanConverter
X
- XML - Enum constant in enum class org.kiwiproject.jackson.JacksonDataFormat
- xmlGregorianCalendarToDate(XMLGregorianCalendar) - Static method in class org.kiwiproject.xml.KiwiXmlConverters
-
Given an
XMLGregorianCalendar, return its value as aDate. - xmlGregorianCalendarToEpochMillis(XMLGregorianCalendar) - Static method in class org.kiwiproject.xml.KiwiXmlConverters
-
Given an
XMLGregorianCalendar, return its value in milliseconds since the epoch. - xmlGregorianCalendarToInstant(XMLGregorianCalendar) - Static method in class org.kiwiproject.xml.KiwiXmlConverters
-
Converts an
XMLGregorianCalendarto anInstant. - xmlGregorianCalendarToLocalDateTime(XMLGregorianCalendar) - Static method in class org.kiwiproject.xml.KiwiXmlConverters
-
Converts an
XMLGregorianCalendarto aLocalDateTimein the default time zone. - xmlGregorianCalendarToLocalDateTime(XMLGregorianCalendar, ZoneId) - Static method in class org.kiwiproject.xml.KiwiXmlConverters
- XmlRuntimeException - Exception in org.kiwiproject.xml
-
Runtime wrapper exception for XML processing errors.
- XmlRuntimeException(String) - Constructor for exception org.kiwiproject.xml.XmlRuntimeException
-
Create instance with given message.
- XmlRuntimeException(String, Throwable) - Constructor for exception org.kiwiproject.xml.XmlRuntimeException
-
Create instance with given message and cause.
- XmlRuntimeException(Throwable) - Constructor for exception org.kiwiproject.xml.XmlRuntimeException
-
Create instance with given cause.
Y
- YAML - Enum constant in enum class org.kiwiproject.jackson.JacksonDataFormat
- YamlHelper - Class in org.kiwiproject.yaml
-
Some utilities to make it easy to work with YAML.
- YamlHelper() - Constructor for class org.kiwiproject.yaml.YamlHelper
-
Create a new instance using an
ObjectMappercreated with aYAMLFactoryto support YAML. - YamlHelper(ObjectMapper) - Constructor for class org.kiwiproject.yaml.YamlHelper
-
Create a new instance using the given
ObjectMapper, which must support the YAML format. - YES - Enum constant in enum class org.kiwiproject.xml.KiwiXml.NamespaceValidation
Z
- ZERO_BASED - Enum constant in enum class org.kiwiproject.search.KiwiSearching.PageNumberingScheme
-
Page numbers start at zero.
- ZERO_OR_ONE - Enum constant in enum class org.kiwiproject.base.KiwiPrimitives.BooleanConversionOption
-
Convert numeric values into boolean where one represents true and zero represents false.
- zeroBasedOffset(int, int) - Static method in class org.kiwiproject.search.KiwiSearching
-
Calculate the zero-based offset for the given page number and size using page numbers starting at one, after first validating the page number and size.
- zeroBasedOffset(int, KiwiSearching.PageNumberingScheme, int) - Static method in class org.kiwiproject.search.KiwiSearching
-
Calculate the zero-based offset for the given page number and size using the given page numbering scheme, after first validating the page number and size.
- zeroBasedOffsetForOneBasedPaging(int, int) - Static method in class org.kiwiproject.search.KiwiSearching
-
Calculate the zero-based offset for the given page number and size using page numbers starting at one, after first validating the page number and size.
- zeroBasedOffsetForZeroBasedPaging(int, int) - Static method in class org.kiwiproject.search.KiwiSearching
-
Calculate the zero-based offset for the given page number and size using page numbers starting at zero, after first validating the page number and size.
- zonedDateTimeFromTimestamp(ResultSet, String, ZoneId) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Returns a
ZonedDateTimein the specified time zone from the specified column in theResultSet. - zonedDateTimeFromTimestamp(Timestamp, ZoneId) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Returns a
ZonedDateTimein the specified time zone from the givenTimestamp.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form