A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 
All Classes All Packages

A

addEndpoint() - Method in class org.kiwiproject.config.SecureEndpointsConfiguration.Builder
Returns an EndpointConfiguration.Builder from which an endpoint can be configured.
addPropertyMapper(String, Function<T, ?>) - Method in class org.kiwiproject.beans.BeanConverter
Adds a property mapper function for a specific property name
allEndpointsSecure() - Method in class org.kiwiproject.config.SecureEndpointsConfiguration
Returns true if all of the endpoints in this configuration are secure.
anyEndpointSecure() - Method in class org.kiwiproject.config.SecureEndpointsConfiguration
Returns true if any of the endpoints in this configuration is secure.
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 - org.kiwiproject.jdbc.SqlOrder
 
Async - Class in org.kiwiproject.concurrent
Static utilities that work with CompletableFuture and can make testing easier by permitting selective (e.g.
Async() - Constructor for class org.kiwiproject.concurrent.Async
 
Async.Mode - Enum in org.kiwiproject.concurrent
The Async.Mode.ENABLED mode enables asynchronous behavior, which is the default behavior.
AsyncException - Exception in org.kiwiproject.concurrent
A subclass RuntimeException used to indicate problems in asynchronous code.
AsyncException(String, Throwable, CompletableFuture) - Constructor for exception org.kiwiproject.concurrent.AsyncException
Construct instance with given message, cause, and future.
AsyncException(String, CompletableFuture) - Constructor for exception org.kiwiproject.concurrent.AsyncException
Construct instance with given message and future.

B

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.
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.security.SimpleSSLContextFactory.Builder
 
buildEndpoint() - Method in class org.kiwiproject.config.EndpointConfiguration.Builder
Call this to add this EndpointConfiguration to the parent SecureEndpointsConfiguration and return to building the SecureEndpointsConfiguration, which can include more endpoints.
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.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 EndpointConfiguration within a SecureEndpointsConfiguration.
Builder() - Constructor for class org.kiwiproject.config.SecureEndpointsConfiguration.Builder
 
Builder() - Constructor for class org.kiwiproject.config.SSLContextConfiguration.Builder
 
Builder() - Constructor for class org.kiwiproject.security.SimpleSSLContextFactory.Builder
 
Builder(SecureEndpointsConfiguration.Builder) - Constructor for class org.kiwiproject.config.EndpointConfiguration.Builder
 
buildManagedJdbi(Environment, PooledDataSourceFactory) - Static method in class org.kiwiproject.dropwizard.jdbi2.Jdbi2Builders
Build a Dropwizard-managed DBI instance with metrics and health check given an Environment and PooledDataSourceFactory.
buildManagedJdbi(Environment, PooledDataSourceFactory, ManagedDataSource) - Static method in class org.kiwiproject.dropwizard.jdbi2.Jdbi2Builders
Build a Dropwizard-managed DBI instance with metrics and health check given an Environment, PooledDataSourceFactory, and ManagedDataSource.
buildManagedJdbi(Environment, PooledDataSourceFactory, ManagedDataSource, String) - Static method in class org.kiwiproject.dropwizard.jdbi2.Jdbi2Builders
Build a Dropwizard-managed DBI instance with metrics and health check given an Environment, PooledDataSourceFactory, ManagedDataSource, and name to give to the health check.
buildManagedJdbi(Environment, PooledDataSourceFactory, ManagedDataSource, String, JdbiPlugin...) - Static method in class org.kiwiproject.dropwizard.jdbi3.Jdbi3Builders
Build a Dropwizard-managed Jdbi instance with metrics and health check given an Environment, a PooledDataSourceFactory, a ManagedDataSource, 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 Jdbi instance with metrics and health check given an Environment, a PooledDataSourceFactory, and a ManagedDataSource.
buildManagedJdbi(Environment, PooledDataSourceFactory, String) - Static method in class org.kiwiproject.dropwizard.jdbi2.Jdbi2Builders
Build a Dropwizard-managed DBI instance with metrics and health check given an Environment, PooledDataSourceFactory, and name to give to the health check.
buildManagedJdbi(Environment, PooledDataSourceFactory, String, JdbiPlugin...) - Static method in class org.kiwiproject.dropwizard.jdbi3.Jdbi3Builders
Build a Dropwizard-managed Jdbi instance with metrics and health check given an Environment, a PooledDataSourceFactory, 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 Jdbi instance with metrics and health check given an Environment and PooledDataSourceFactory.
buildPropertyMaskingSafeSerializerModule(List<String>) - Static method in class org.kiwiproject.json.KiwiJacksonSerializers
Build a new SimpleModule that 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 SimpleModule that 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.

C

canConnectViaSocket(String, int) - Method in class org.kiwiproject.net.SocketChecker
Check whether a Socket can be opened on the specified host and port.
canConnectViaSocket(String, int, Duration) - Method in class org.kiwiproject.net.SocketChecker
Check whether a Socket can 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 Socket can be opened on the specified host and port.
canConnectViaSocket(Pair<String, Integer>, Duration) - Method in class org.kiwiproject.net.SocketChecker
Check whether a Socket can be opened on the specified host and port, with the specified timeout.
CANONICAL_GROUP - Static variable in class org.kiwiproject.net.KiwiUrls
 
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 Runnable that never lets exceptions escape.
cause - Variable in class org.kiwiproject.base.KiwiThrowables.ThrowableInfo
 
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.
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 IllegalArgumentException if 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 IllegalArgumentException if 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 IllegalArgumentException if it is null, empty, or blank.
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 IllegalArgumentException if 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 IllegalArgumentException if 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 IllegalArgumentException if null.
checkEvenItemCount(Collection<T>) - Static method in class org.kiwiproject.base.KiwiPreconditions
Ensures that a collection of items has an even count.
checkEvenItemCount(IntSupplier) - Static method in class org.kiwiproject.base.KiwiPreconditions
Ensures that a collection of items has an even count.
checkEvenItemCount(T...) - Static method in class org.kiwiproject.base.KiwiPreconditions
Ensures that a collection of items has an even count.
checkNonNullInputList(List<T>) - Static method in class org.kiwiproject.collect.KiwiLists
 
checkPageNumber(int) - Static method in class org.kiwiproject.search.KiwiSearching
Validate the given page number is greater than zero.
checkPageNumber(int) - Method in enum 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.
clearRecentDeleteErrors() - Method in class org.kiwiproject.io.TimeBasedDirectoryCleaner
Clears all delete errors currently stored in memory.
clearUnexpectedPaths() - Method in class org.kiwiproject.json.LoggingDeserializationProblemHandler
Clear all unexpected path information.
closeQuietly(Closeable) - Static method in class org.kiwiproject.io.KiwiIO
Closes a Closeable unconditionally.
closeQuietly(Closeable...) - Static method in class org.kiwiproject.io.KiwiIO
Closes a Closeable unconditionally.
closeQuietly(XMLStreamReader) - Static method in class org.kiwiproject.io.KiwiIO
Closes an XMLStreamReader unconditionally.
closeQuietly(XMLStreamWriter) - Static method in class org.kiwiproject.io.KiwiIO
Closes an XMLStreamWriter unconditionally.
COMMA - Static variable in class org.kiwiproject.base.KiwiStrings
A comma character.
COMMA_SPLITTER - Static variable in class org.kiwiproject.net.KiwiUrls
 
Components() - Constructor for class org.kiwiproject.net.KiwiUrls.Components
 
configureForMillisecondDateTimestamps(ObjectMapper) - Static method in class org.kiwiproject.json.JsonHelper
Configure the given ObjectMapper to 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.
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(T) - Method in class org.kiwiproject.beans.BeanConverter
This conversion method taks 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.
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.
createSslContext(String, String, String, String, String) - Static method in class org.kiwiproject.security.KiwiSecurity
Create a new SSLContext instance for the given paths, passwords, and protocol, assuming that the key and trust store types are KeyStoreType.JKS.
createSslContext(String, String, String, String, String, String, String) - Static method in class org.kiwiproject.security.KiwiSecurity
Create a new SSLContext instance for the given paths, passwords, key and trust store types, and protocol.
createSslContext(String, String, String, String, String, String, String, String, String) - Static method in class org.kiwiproject.security.KiwiSecurity
Create a new SSLContext instance for the given paths, passwords, key and trust store types, key and trust manager algorithms, and protocol.
createSslContext(String, String, String, String, String, String, SSLContextProtocol) - Static method in class org.kiwiproject.security.KiwiSecurity
Create a new SSLContext instance for the given paths, passwords, and protocol, assuming that the key and trust store types are KeyStoreType.JKS.
createSslContext(String, String, String, String, SSLContextProtocol) - Static method in class org.kiwiproject.security.KiwiSecurity
Create a new SSLContext instance for the given paths, passwords, and protocol, assuming that the key and trust store types are KeyStoreType.JKS.
createUrl(String, String...) - Static method in class org.kiwiproject.net.KiwiUrls
Create a well-formed URL string from the given schemeHostPort and 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 checked MalformedURLException.
createUrlObject(String, String...) - Static method in class org.kiwiproject.net.KiwiUrls
Create a well-formed URL from the given schemeHostPort and 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 Instant in 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 Instant in the specified time zone.
currentLocalDate() - Method in class org.kiwiproject.base.DefaultEnvironment
 
currentLocalDate() - Method in interface org.kiwiproject.base.KiwiEnvironment
Returns the current LocalDate in 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 LocalDate in the specified time zone.
currentLocalDateTime() - Method in class org.kiwiproject.base.DefaultEnvironment
 
currentLocalDateTime() - Method in interface org.kiwiproject.base.KiwiEnvironment
Returns the current LocalDateTime in 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 LocalDateTime in the specified time zone.
currentLocalTime() - Method in class org.kiwiproject.base.DefaultEnvironment
 
currentLocalTime() - Method in interface org.kiwiproject.base.KiwiEnvironment
Returns the current LocalTime in 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 LocalTime in the specified time zone.
currentProcessId() - Method in class org.kiwiproject.base.DefaultEnvironment
Returns the process ID of the currently executing JVM.
currentProcessId() - Method in interface org.kiwiproject.base.KiwiEnvironment
Returns the process ID of the currently executing JVM.
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 ZonedDateTime in 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 ZonedDateTime in the specified time zone.
currentZonedDateTimeUTC() - Method in class org.kiwiproject.base.DefaultEnvironment
 
currentZonedDateTimeUTC() - Method in interface org.kiwiproject.base.KiwiEnvironment
Returns the current ZonedDateTime with the ZoneOffset as ZoneOffset.UTC.
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's Iterables.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, base on Guava's Iterables.cycle(Iterable).

D

dateFrom(Instant) - Static method in class org.kiwiproject.time.KiwiDates
Return the Date converted from instant.
dateFromInstantMinusDays(Instant, long) - Static method in class org.kiwiproject.time.KiwiDates
Return the Date that is the given number of days before the given instant.
dateFromInstantMinusHours(Instant, long) - Static method in class org.kiwiproject.time.KiwiDates
Return the Date that is the given number of hours before the given instant.
dateFromInstantMinusMinutes(Instant, long) - Static method in class org.kiwiproject.time.KiwiDates
Return the Date that is the given number of minutes before the given instant.
dateFromInstantMinusMonths(Instant, long) - Static method in class org.kiwiproject.time.KiwiDates
Return the Date that is the given number of months before the given instant.
dateFromInstantMinusYears(Instant, long) - Static method in class org.kiwiproject.time.KiwiDates
Return the Date that is the given number of years before the given instant.
dateFromInstantPlusDays(Instant, long) - Static method in class org.kiwiproject.time.KiwiDates
Return the Date that is the given number of days after the given instant.
dateFromInstantPlusHours(Instant, long) - Static method in class org.kiwiproject.time.KiwiDates
Return the Date that is the given number of hours after the given instant.
dateFromInstantPlusMinutes(Instant, long) - Static method in class org.kiwiproject.time.KiwiDates
Return the Date that is the given number of minutes after the given instant.
dateFromInstantPlusMonths(Instant, long) - Static method in class org.kiwiproject.time.KiwiDates
Return the Date that is the given number of months after the given instant.
dateFromInstantPlusYears(Instant, long) - Static method in class org.kiwiproject.time.KiwiDates
Return the Date that is the given number of years after the given instant.
dateFromTimestamp(ResultSet, String) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
Returns a Date from the specified Timestamp column in the given ResultSet.
dateFromTimestamp(Timestamp) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
Returns a Date from the given Timestamp.
DEFAULT - 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.jdbi2.Jdbi2Builders
 
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_RECENT_ITEMS - Static variable in class org.kiwiproject.collect.KiwiEvictingQueues
The default maximum number of EvictingQueue items.
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 JAX-RS's javax.ws.rs.DefaultValue that require a String.
DEFAULT_TIMEOUT - Static variable in class org.kiwiproject.net.SocketChecker
 
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.
DefaultEnvironment - Class in org.kiwiproject.base
A default implementation of the KiwiEnvironment interface.
DefaultEnvironment() - Constructor for class org.kiwiproject.base.DefaultEnvironment
 
DeleteError() - Constructor for class org.kiwiproject.io.TimeBasedDirectoryCleaner.DeleteError
 
DESC - org.kiwiproject.jdbc.SqlOrder
 
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 Charset and DataFormatDetector.
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.
DISABLED - org.kiwiproject.concurrent.Async.Mode
Disable asynchronous behavior (code is executed synchronously).
distinct(Collection<T>) - Static method in class org.kiwiproject.collect.KiwiLists
Returns a list of the collection elements with duplicates stripped out.
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.
DKS - 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 Runnable asynchronously.
doAsync(Runnable, Executor) - Static method in class org.kiwiproject.concurrent.Async
Execute the given Runnable asynchronously using the given Executor.
doAsync(Supplier<T>) - Static method in class org.kiwiproject.concurrent.Async
Execute the given Supplier asynchronously 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 Supplier asynchronously 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
 
doubleValueOrNull(ResultSet, String) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
Simplifies the JDBC silliness whereby getting a double value that is actually null returns zero, and you have to check if the last value was actually null using the ResultSet.wasNull() method.
DTLS - org.kiwiproject.security.SSLContextProtocol
Supports the default provider-dependent versions of DTLS versions
DTLS_1_0 - org.kiwiproject.security.SSLContextProtocol
Supports RFC 4347; DTLS version 1.0; may support other DTLS versions
DTLS_1_2 - 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
 
emptyByteArrayInputStream() - Static method in class org.kiwiproject.io.KiwiIO
Return a newly constructed, empty ByteArrayInputStream.
ENABLED - org.kiwiproject.concurrent.Async.Mode
Asynchronous behavior (default).
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.Builder standalone, use the EndpointConfiguration.builder() method.
epochMillisFromTimestamp(ResultSet, String) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
Convert the timestamp column given by columnName in the ResultSet to milliseconds from the epoch.
epochMillisFromTimestamp(Timestamp) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
Convert the given Timestamp to milliseconds from the epoch.
extractAllFrom(String) - Static method in class org.kiwiproject.net.KiwiUrls
Extract all of 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.
extractDomainNameFrom(String) - Static method in class org.kiwiproject.net.KiwiUrls
Extracts the server's domain name from a given URL.
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
fifth(List<T>) - Static method in class org.kiwiproject.collect.KiwiLists
Return the fifth element in the specified list of items.
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.
findFirst(Stream<?>, Class<T>) - Static method in class org.kiwiproject.collect.KiwiStreams
Find the first object having the given typeToFind in 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 typeToFind and matching the supplied predicate in a stream of objects.
findFirstOpenPortAbove(int) - Method in class org.kiwiproject.net.LocalPortChecker
Find the first open port above the given port (i.e.
first(List<T>) - Static method in class org.kiwiproject.collect.KiwiLists
Return the first element in the specified list of items.
firstIfPresent(List<T>) - Static method in class org.kiwiproject.collect.KiwiLists
Returns an Optional containing the first element in specified list of items, or an empty optional if the list is null or empty.
firstNonNull(T, T, T...) - Static method in class org.kiwiproject.base.KiwiObjects
Return an Optional containing the first non-null object, or an empty Optional if all are null.
firstNonNullOrNull(T, T, T...) - Static method in class org.kiwiproject.base.KiwiObjects
Return the first non-null object, or null if all are null.
firstNonZero(int, int) - Static method in class org.kiwiproject.base.KiwiPrimitives
Returns the first non-zero argument, otherwise throws IllegalArgumentException if both arguments are zero.
firstNonZero(long, long) - Static method in class org.kiwiproject.base.KiwiPrimitives
Returns the first non-zero argument, otherwise throws IllegalArgumentException if both arguments are zero.
firstSuppliedNonNull(Supplier<T>, Supplier<T>, Supplier<T>...) - Static method in class org.kiwiproject.base.KiwiObjects
Return an Optional containing the first non-null object, or an empty Optional if all suppliers return null.
firstSuppliedNonNullOrNull(Supplier<T>, Supplier<T>, Supplier<T>...) - Static method in class org.kiwiproject.base.KiwiObjects
Return the first supplied non-null object, or null if all 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
 
FORCE_KILL - org.kiwiproject.base.process.KillTimeoutAction
The process will be forced killed (e.g.
format(String, Object...) - Static method in class org.kiwiproject.base.KiwiStrings
Substitutes each %s or {} in template with an argument.
formatAsIsoLocalDate(TemporalAccessor) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
Converts the given TemporalAccessor into a string using the DateTimeFormatter.ISO_LOCAL_DATE formatter.
formatAsIsoLocalDate(Date, ZoneId) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
Converts the given Date in the given time zone into a string using the DateTimeFormatter.ISO_LOCAL_DATE formatter.
formatAsIsoLocalDateTime(LocalDate) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
Converts the given LocalDate (at the start of the day) into a string using the DateTimeFormatter.ISO_LOCAL_DATE_TIME formatter.
formatAsIsoLocalDateTime(TemporalAccessor) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
Converts the given TemporalAccessor (at the start of the day) into a string using the DateTimeFormatter.ISO_LOCAL_DATE_TIME formatter.
formatAsIsoLocalDateTime(Date, ZoneId) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
Converts the given Date in the given time zone into a string using the DateTimeFormatter.ISO_LOCAL_DATE_TIME formatter.
formatAsIsoLocalDateTimeUTC(Date) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
Converts the given Date in the UTC time zone into a string using the DateTimeFormatter.ISO_LOCAL_DATE_TIME formatter.
formatAsIsoLocalDateUTC(Date) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
Converts the given Date in the UTC time zone into a string using the DateTimeFormatter.ISO_LOCAL_DATE formatter.
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 the DateTimeFormatter.ISO_ZONED_DATE_TIME formatter.
formatAsIsoZonedDateTime(LocalDateTime, ZoneId) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
Converts the given LocalDateTime in the given time zone into a string using the DateTimeFormatter.ISO_ZONED_DATE_TIME formatter.
formatAsIsoZonedDateTime(ZonedDateTime, ZoneId) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
Converts the given ZonedDateTime in the given time zone into a string using the DateTimeFormatter.ISO_ZONED_DATE_TIME formatter.
formatAsIsoZonedDateTime(Date, ZoneId) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
Converts the given Date in the given time zone into a string using the DateTimeFormatter.ISO_ZONED_DATE_TIME formatter.
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 the DateTimeFormatter.ISO_ZONED_DATE_TIME formatter.
formatAsIsoZonedDateTimeUTC(LocalDateTime) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
Converts the given LocalDateTime in the UTC time zone into a string using the DateTimeFormatter.ISO_ZONED_DATE_TIME formatter.
formatAsIsoZonedDateTimeUTC(ZonedDateTime) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
Converts the given ZonedDateTime in the UTC time zone into a string using the DateTimeFormatter.ISO_ZONED_DATE_TIME formatter.
formatAsIsoZonedDateTimeUTC(Date) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
Converts the given Date in the UTC time zone into a string using the DateTimeFormatter.ISO_ZONED_DATE_TIME formatter.
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"? (We cannot think of a good reason...)
formatDurationWords(Duration) - Static method in class org.kiwiproject.time.KiwiDurationFormatters
Formats a Dropwizard Duration using English words.
formatDurationWords(Duration) - Static method in class org.kiwiproject.time.KiwiDurationFormatters
Formats a Java Duration using 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 given DateTimeFormatter.
formatWith(LocalDateTime, ZoneId, ZoneId, DateTimeFormatter) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
Converts the given LocalDateTime (assuming it is in the given localZoneId time zone) into a string using the given DateTimeFormatter.
formatWith(TemporalAccessor, DateTimeFormatter) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
Converts the given TemporalAccessor into a string using the given DateTimeFormatter.
formatWith(ZonedDateTime, ZoneId, DateTimeFormatter) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
Converts the given ZonedDateTime in the given time zone into a string using the given DateTimeFormatter.
formatWith(Date, ZoneId, DateTimeFormatter) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
Converts the given Date in the given time zone into a string using the given DateTimeFormatter.
formatWithUTC(Date, DateTimeFormatter) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
Converts the given Date in the UTC time zone into a string using the given DateTimeFormatter.
fourth(List<T>) - Static method in class org.kiwiproject.collect.KiwiLists
Return the fourth element in the specified list of items.
from(String) - Static method in enum org.kiwiproject.jackson.JacksonDataFormat
Returns one of the enum constants for the given formatName, or JacksonDataFormat.UNKNOWN if the format name is not found.
from(String) - Static method in enum 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 hostPortString assuming format host: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 hostPortString assuming format host:port; if it is blank, use the specified defaultHost and defaultPort values to create a link SimpleHostAndPort.
fromDropwizardDuration(Duration) - Static method in class org.kiwiproject.dropwizard.util.KiwiDropwizardDurations
 
fromDropwizardTlsConfiguration(TlsConfiguration) - Static method in class org.kiwiproject.config.TlsContextConfiguration
Given a Dropwizard TlsConfiguration, create a new TlsContextConfiguration.
fromInetAddress(InetAddress) - Static method in class org.kiwiproject.net.KiwiInternetAddresses.SimpleHostInfo
Create instance from an InetAddress
FTP_PROTOCOL - Static variable in class org.kiwiproject.net.KiwiUrls
 

G

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.net.UncheckedMalformedURLException
 
getCause() - Method in exception org.kiwiproject.net.UncheckedURISyntaxException
 
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.
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.Jars
Get the directory path of the JAR file that the given class lives in, or an empty Optional if the path could not be obtained for any reason.
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 EndpointConfiguration with a path ending with the given pathEnding, throwing an exception if not found.
getEndpointByPathEndingOrEmpty(String) - Method in class org.kiwiproject.config.SecureEndpointsConfiguration
Finds the EndpointConfiguration with a path ending with the given pathEnding, returning an empty Optional if not found.
getEndpointByTag(String) - Method in class org.kiwiproject.config.SecureEndpointsConfiguration
Finds the EndpointConfiguration with the given tag, throwing an exception if not found.
getEndpointByTagOrEmpty(String) - Method in class org.kiwiproject.config.SecureEndpointsConfiguration
Finds the EndpointConfiguration with the given tag, returning an empty Optional if not found.
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.
getErrorOrNull() - Method in class org.kiwiproject.json.JsonDetectionResult
Did an error occur during the detection process.
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.
getFuture() - Method in exception org.kiwiproject.concurrent.AsyncException
The future which causes the exception.
getHour(Instant) - Static method in class org.kiwiproject.time.KiwiInstants
Return the value of the hour from instant.
getKeyManagers(KeyStore, String) - Static method in class org.kiwiproject.security.KiwiSecurity
Get the key managers for the given KeyStore and 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 Optional containing a KeyStore for the given KeyStoreType, path, and password, or an empty Optional if the arguments are (both) null.
getKeyStore(KeyStoreType, String, String) - Static method in class org.kiwiproject.security.KiwiSecurity
Return an Optional containing a KeyStore for the given KeyStoreType, path, and password, or an empty Optional if the arguments are (both) null.
getKeyStorePassword() - Method in interface org.kiwiproject.security.KeyAndTrustStoreConfigProvider
The key store password (plain text).
getKeyStorePath() - Method in interface org.kiwiproject.security.KeyAndTrustStoreConfigProvider
The path to the key store.
getKeyStoreType() - Method in interface org.kiwiproject.security.KeyAndTrustStoreConfigProvider
Key store type.
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
getLocalHostInfo(KiwiInternetAddresses.SimpleHostInfo) - Static method in class org.kiwiproject.net.KiwiInternetAddresses
getLockWaitDuration() - Method in class org.kiwiproject.concurrent.TryLocker
Return the maximum lock wait time as a Duration.
getMessage() - Method in class org.kiwiproject.base.KiwiThrowables.ThrowableInfo
 
getMinute(Instant) - Static method in class org.kiwiproject.time.KiwiInstants
Return the value of the minute from instant.
getMonth(Instant) - Static method in class org.kiwiproject.time.KiwiInstants
Return the Month from instant.
getMonthValue(Instant) - Static method in class org.kiwiproject.time.KiwiInstants
Return the value of the month (1-12) from instant.
getNumberOfRecentDeleteErrors() - Method in class org.kiwiproject.io.TimeBasedDirectoryCleaner
Returns the number of recent delete errors currently stored in memory.
getObjectMapper() - Method in class org.kiwiproject.json.JsonHelper
Provides direct access to the underlying object mapper.
getPageNumber() - Method in interface org.kiwiproject.search.PaginatedResult
The page number of this result.
getPageSize() - Method in interface org.kiwiproject.search.PaginatedResult
The page size being used to paginate the search results.
getPath() - Method in class org.kiwiproject.net.KiwiUrls.Components
 
getPath(Class<?>) - Static method in class org.kiwiproject.jar.Jars
Get the path of the JAR file that the given class lives in, or an empty Optional if 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.Jars
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.
getPgrepFlags() - Static method in class org.kiwiproject.base.process.Processes
Returns the pgrep flags that Processes will use in all pgrep methods.
getPort() - Method in class org.kiwiproject.net.KiwiUrls.Components
 
getProperties() - Method in class org.kiwiproject.base.DefaultEnvironment
 
getProperties() - Method in interface org.kiwiproject.base.KiwiEnvironment
Returns the current system properties.
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.
getPropertyList(T, BeanWrapper) - Method in class org.kiwiproject.beans.BeanConverter
 
getPropertyMapper(String) - Method in class org.kiwiproject.beans.BeanConverter
Get the property mapper function for a specific property name
getProtocol() - Method in interface org.kiwiproject.security.TrustStoreConfigProvider
The protocol to use.
getRecentDeleteErrors() - Method in class org.kiwiproject.io.TimeBasedDirectoryCleaner
Returns all the recent delete failures stored in memory.
getRetentionThreshold() - Method in class org.kiwiproject.io.TimeBasedDirectoryCleaner
Returns the retention threshold as a Duration
getSecond(Instant) - Static method in class org.kiwiproject.time.KiwiInstants
Return the value of the second from instant.
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.
getSslContext() - Method in class org.kiwiproject.security.SimpleSSLContextFactory
Create/get a SSLContext instance for the key and trust store properties and protocol that this SimpleSSLContextFactory instance was built with.
getStackTrace() - Method in class org.kiwiproject.base.KiwiThrowables.ThrowableInfo
 
getTotalCount() - Method in interface org.kiwiproject.search.PaginatedResult
The total number of results, though a PaginatedResult instance will contain only a subset of the total.
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 interface org.kiwiproject.security.TrustStoreConfigProvider
The trust store password (plain text).
getTrustStorePath() - Method in interface org.kiwiproject.security.TrustStoreConfigProvider
The path to the trust store.
getTrustStoreType() - Method in class org.kiwiproject.config.SSLContextConfiguration
Overrides and defines trust store type to be the same as keyStoreType, since this is the most common case.
getTrustStoreType() - Method in interface org.kiwiproject.security.TrustStoreConfigProvider
Trust store type.
getType() - Method in class org.kiwiproject.base.KiwiThrowables.ThrowableInfo
 
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.
getUnknownPropertyCount() - Method in class org.kiwiproject.json.LoggingDeserializationProblemHandler
Current total count of unique unknown properties.
getURI() - Method in class org.kiwiproject.config.EndpointConfiguration
Uses this endpoint's path to build a URI as a String.
getUriObject() - Method in class org.kiwiproject.config.EndpointConfiguration
Uses this endpoint's path to build a URI.
getYear(Instant) - Static method in class org.kiwiproject.time.KiwiInstants
Return the value of the year from instant.

H

handleExceptionSafely(Throwable) - 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
 
hasDetectionResult() - Method in class org.kiwiproject.json.JsonDetectionResult
Whether or not format detection succeeded in determining a positive or negative result.
hasError() - Method in class org.kiwiproject.json.JsonDetectionResult
Whether or not format detection caught an exception during the detection process.
hasMessage() - Method in class org.kiwiproject.base.KiwiThrowables.ThrowableInfo
 
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 list is non-null and has only one item.
hasPropertyMapper(String) - Method in class org.kiwiproject.beans.BeanConverter
Checks to see if a property mapper exists for a given property name
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
hostAndPortFrom(String) - Static method in class org.kiwiproject.net.KiwiInternetAddresses
Returns a HostAndPort from the given URL.
hostAndPortFrom(URL) - Static method in class org.kiwiproject.net.KiwiInternetAddresses
Returns a HostAndPort from the given URL.
HTTP_PROTOCOL - Static variable in class org.kiwiproject.net.KiwiUrls
 
HTTPS_PROTOCOL - Static variable in class org.kiwiproject.net.KiwiUrls
 

I

ifPresentOrElseThrow(Optional<T>, Consumer<? super T>, Supplier<? extends RuntimeException>) - Static method in class org.kiwiproject.base.Optionals
Takes an action if the optional is present, otherwise throws a RuntimeException that is created by the given Supplier.
ifPresentOrElseThrowChecked(Optional<T>, Consumer<? super T>, Supplier<E>) - Static method in class org.kiwiproject.base.Optionals
Takes an action if the optional is present, otherwise throws a checked exception that is created by the given Supplier.
IGNORE_NULLS - org.kiwiproject.json.JsonHelper.MergeOption
This option will ignore null values in an update object.
instantFromTimestamp(ResultSet, String) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
Returns a Instant from the specified Timestamp column in the given ResultSet.
instantFromTimestamp(Timestamp) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
Returns an Instant from the given Timestamp.
intValueOrNull(ResultSet, String) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
Simplifies the JDBC silliness whereby getting an int value that is actually null returns zero, and you have to check if the last value was actually null using the ResultSet.wasNull() method.
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.
isExceptionError() - Method in class org.kiwiproject.io.TimeBasedDirectoryCleaner.DeleteError
 
isFileDeleteError() - Method in class org.kiwiproject.io.TimeBasedDirectoryCleaner.DeleteError
 
isFormat(JacksonDataFormat, String, Charset) - Static method in class org.kiwiproject.jackson.KiwiJacksonDataFormats
Does the given text, using the given Charset, have data format matchFormat.
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.
isJson() - Method in class org.kiwiproject.json.JsonDetectionResult
Is the content JSON? This should only be called if JsonDetectionResult.hasDetectionResult() returns true (or if you don't care whether an error occurred during detection).
isJson(String) - Static method in class org.kiwiproject.jackson.KiwiJacksonDataFormats
Is the given text JSON using the default Charset?
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) - Static method in class org.kiwiproject.jackson.KiwiJacksonDataFormats
Is the given text JSON using the given 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.
isJsonUtf8(String) - Static method in class org.kiwiproject.jackson.KiwiJacksonDataFormats
Is the given text JSON using UTF-8 Charset?
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.
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 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(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.
isPortAvailable(int) - Method in class org.kiwiproject.net.LocalPortChecker
Check port availability.
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.
isStrictlyHigherVersion(String, String) - Static method in class org.kiwiproject.base.Versions
Returns true if the "left" version is strictly higher than the "right" version.
isStrictlyLowerVersion(String, String) - Static method in class org.kiwiproject.base.Versions
Returns true if the "left" version is strictly lower than the "right" version.
isValidUUID(String) - Static method in class org.kiwiproject.base.UUIDs
Checks if the value is a valid UUID confirming to RFC 4122.
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 in org.kiwiproject.jackson
Represents the detected type of a String.
Jars - Class in org.kiwiproject.jar
Utilities for working with Java JAR files.
Jars() - Constructor for class org.kiwiproject.jar.Jars
 
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 JsonSerializer that serializes JAXBElement objects, with "nil" values handled by writing a JSON null.
JaxbElementSerializer() - Constructor for class org.kiwiproject.json.JaxbElementSerializer
 
JCEKS - org.kiwiproject.security.KeyStoreType
The proprietary keystore implementation provided by the SunJCE provider.
Jdbi2Builders - Class in org.kiwiproject.dropwizard.jdbi2
Utilities for building Dropwizard-managed DBI instances.
Jdbi2Builders() - Constructor for class org.kiwiproject.dropwizard.jdbi2.Jdbi2Builders
 
Jdbi3Builders - Class in org.kiwiproject.dropwizard.jdbi3
Utilities for building Dropwizard-managed Jdbi version 3 instances.
Jdbi3Builders() - Constructor for class org.kiwiproject.dropwizard.jdbi3.Jdbi3Builders
 
JKS - org.kiwiproject.security.KeyStoreType
The proprietary keystore implementation provided by the SUN provider.
JSON - 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.
JsonDetectionResult - Class in org.kiwiproject.json
Represents the result of attempting to detect if content is JSON.
JsonDetectionResult() - Constructor for class org.kiwiproject.json.JsonDetectionResult
 
jsonDiff(Object, Object, String...) - Method in class org.kiwiproject.json.JsonHelper
Compare two objects via their JSON differences, optionally ignoring one or more paths.
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.
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 ObjectMapper created using JsonHelper.newDropwizardObjectMapper().
JsonHelper(ObjectMapper) - Constructor for class org.kiwiproject.json.JsonHelper
Create a new instance using the given ObjectMapper.
JsonHelper.MergeOption - Enum in org.kiwiproject.json
Describes how objects are to be merged.
JsonHelper.OutputFormat - Enum 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

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 SSLContext and SSLSocketFactory from this configuration.
keyExistsWithNullValue(Map<K, V>, K) - Static method in class org.kiwiproject.collect.KiwiMaps
Returns true if and only if (1) map is not null or empty, (2) map contains the given key, and (3) the value associated with the given key is null.
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.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.security.SimpleSSLContextFactory.Builder
 
keyStoreType(String) - Method in class org.kiwiproject.config.SecureEndpointsConfiguration.Builder
 
keyStoreType(String) - Method in class org.kiwiproject.config.SSLContextConfiguration.Builder
 
KeyStoreType - Enum in org.kiwiproject.security
KeyStore types that can be specified when generating an instance of KeyStore using KeyStore.getInstance(String).
kill(long, String, long, TimeUnit, KillTimeoutAction) - Static method in class org.kiwiproject.base.process.Processes
Kill a process, waiting up to timeout in the specified TimeUnit for it to terminate.
kill(long, String, long, TimeUnit, KillTimeoutAction) - Method in class org.kiwiproject.base.process.ProcessHelper
Kill a process, waiting up to timeout in the specified TimeUnit for 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_SECONDS seconds 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_SECONDS seconds 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 timeout in the specified TimeUnit for it to terminate.
kill(long, KillSignal, long, TimeUnit, KillTimeoutAction) - Method in class org.kiwiproject.base.process.ProcessHelper
Kill a process, waiting up to timeout in the specified TimeUnit for 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_SECONDS seconds 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_SECONDS seconds for it to terminate.
killForcibly(Process, long, TimeUnit) - Static method in class org.kiwiproject.base.process.Processes
Equivalent to a kill -9 (i.e.
killForcibly(Process, long, TimeUnit) - Method in class org.kiwiproject.base.process.ProcessHelper
Equivalent to a kill -9 (i.e.
KillSignal - Enum in org.kiwiproject.base.process
A few common (Unix/Linux/etc) kill signals.
KillTimeoutAction - Enum in org.kiwiproject.base.process
Possible actions to take if a kill command times out.
KiwiBiConsumers - Class in org.kiwiproject.util.function
Contains helper methods for BiConsumer.
KiwiBiConsumers() - Constructor for class org.kiwiproject.util.function.KiwiBiConsumers
 
KiwiBigDecimals - Class in org.kiwiproject.base
Utilities for working with BigDecimal.
KiwiBigDecimals() - Constructor for class org.kiwiproject.base.KiwiBigDecimals
 
KiwiCollectors - Class in org.kiwiproject.collect
Utility for custom Collector implementations
KiwiCollectors() - Constructor for class org.kiwiproject.collect.KiwiCollectors
 
KiwiConsumers - Class in org.kiwiproject.util.function
Contains helper methods for Consumer.
KiwiConsumers() - Constructor for class org.kiwiproject.util.function.KiwiConsumers
 
KiwiDates - Class in org.kiwiproject.time
The original JDK 1.0 Date class 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.
KiwiDates() - Constructor for class org.kiwiproject.time.KiwiDates
 
KiwiDateTimeConverters - Class in org.kiwiproject.time
A collection of small utility methods to convert between legacy Date and the Java 8 date/time API classes.
KiwiDateTimeConverters() - Constructor for class org.kiwiproject.time.KiwiDateTimeConverters
 
KiwiDateTimeFormatters - Class in org.kiwiproject.time
A collection of small utilities to format various types of Java date/time classes, both the legacy Date and the Java 8 date/time API classes in java.time.
KiwiDateTimeFormatters() - Constructor for class org.kiwiproject.time.KiwiDateTimeFormatters
 
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 Date and the Java 8 date/time API classes in java.time.
KiwiDateTimeParsers() - Constructor for class org.kiwiproject.time.KiwiDateTimeParsers
 
KiwiDeprecated - Annotation Type in org.kiwiproject.base
A Kiwi-flavored version of Deprecated that includes the since attribute added in JDK 9 plus additional attributes we think are useful.
KiwiDeprecated.Severity - Enum in org.kiwiproject.base
 
KiwiDoubles - Class in org.kiwiproject.base
Double utilities.
KiwiDoubles() - Constructor for class org.kiwiproject.base.KiwiDoubles
 
KiwiDropwizardDurations - Class in org.kiwiproject.dropwizard.util
Utility that maps Dropwizard Duration to Java Duration
KiwiDropwizardDurations() - Constructor for class org.kiwiproject.dropwizard.util.KiwiDropwizardDurations
 
KiwiDropwizardLifecycles - Class in org.kiwiproject.dropwizard.lifecycle
Provides utilities related to the Dropwizard lifecycle.
KiwiDropwizardLifecycles() - Constructor for class org.kiwiproject.dropwizard.lifecycle.KiwiDropwizardLifecycles
 
KiwiDurationFormatters - Class in org.kiwiproject.time
Utilities for formatting durations of various types.
KiwiDurationFormatters() - Constructor for class org.kiwiproject.time.KiwiDurationFormatters
 
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 EvictingQueue instances.
KiwiEvictingQueues() - Constructor for class org.kiwiproject.collect.KiwiEvictingQueues
 
KiwiInstants - Class in org.kiwiproject.time
Provides utilities related to Instant.
KiwiInstants() - Constructor for class org.kiwiproject.time.KiwiInstants
 
KiwiInternetAddresses - Class in org.kiwiproject.net
Utilities for InetAddress and other things related to internet addresses.
KiwiInternetAddresses() - Constructor for class org.kiwiproject.net.KiwiInternetAddresses
 
KiwiInternetAddresses.SimpleHostInfo - Class in org.kiwiproject.net
Simple value class encapsulating a host name and IP address
KiwiIO - Class in org.kiwiproject.io
Static I/O utilities.
KiwiIO() - Constructor for class org.kiwiproject.io.KiwiIO
 
KiwiIterators - Class in org.kiwiproject.collect
Utility methods for working with Iterator instances.
KiwiIterators() - Constructor for class org.kiwiproject.collect.KiwiIterators
 
KiwiJacksonDataFormats - Class in org.kiwiproject.jackson
Static utilities for easily performing data format detection on String values.
KiwiJacksonDataFormats() - Constructor for class org.kiwiproject.jackson.KiwiJacksonDataFormats
 
KiwiJacksonSerializers - Class in org.kiwiproject.json
Custom Jackson serializers.
KiwiJacksonSerializers() - Constructor for class org.kiwiproject.json.KiwiJacksonSerializers
 
KiwiJaxWs - Class in org.kiwiproject.jaxws
Some JAX-WS utilities and constants.
KiwiJaxWs() - Constructor for class org.kiwiproject.jaxws.KiwiJaxWs
 
KiwiJdbc - Class in org.kiwiproject.jdbc
JDBC utilities.
KiwiJdbc() - Constructor for class org.kiwiproject.jdbc.KiwiJdbc
 
KiwiLists - Class in org.kiwiproject.collect
Utility methods for working with List instances.
KiwiLists() - Constructor for class org.kiwiproject.collect.KiwiLists
 
KiwiMaps - Class in org.kiwiproject.collect
Utility methods for working with Map instances
KiwiMaps() - Constructor for class org.kiwiproject.collect.KiwiMaps
 
KiwiMultimapCollectors - Class in org.kiwiproject.stream
A Collector that can collect into a Guava Multimap.
KiwiMultimapCollectors() - Constructor for class org.kiwiproject.stream.KiwiMultimapCollectors
 
KiwiObjects - Class in org.kiwiproject.base
Utilities for any object which are not in Objects or MoreObjects.
KiwiObjects() - Constructor for class org.kiwiproject.base.KiwiObjects
 
KiwiPaths - Class in org.kiwiproject.io
Static utilities related to Path instances.
KiwiPaths() - Constructor for class org.kiwiproject.io.KiwiPaths
 
KiwiPostgres - Class in org.kiwiproject.jdbc.postgres
Utility functions related to Postgres DBs.
KiwiPostgres() - Constructor for class org.kiwiproject.jdbc.postgres.KiwiPostgres
 
KiwiPreconditions - Class in org.kiwiproject.base
Static utility methods similar to those found in Preconditions, but with a lovely Kiwi flavor to them.
KiwiPreconditions() - Constructor for class org.kiwiproject.base.KiwiPreconditions
 
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.primitives package.
KiwiPrimitives() - Constructor for class org.kiwiproject.base.KiwiPrimitives
 
KiwiProperties - Class in org.kiwiproject.collect
Utility methods for making it easier to create and work with Properties instances.
KiwiProperties() - Constructor for class org.kiwiproject.collect.KiwiProperties
 
KiwiSearching - Class in org.kiwiproject.search
Utilities related to searching and pagination.
KiwiSearching() - Constructor for class org.kiwiproject.search.KiwiSearching
 
KiwiSearching.PageNumberingScheme - Enum 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, and TrustManager.
KiwiSecurity() - Constructor for class org.kiwiproject.security.KiwiSecurity
 
KiwiSets - Class in org.kiwiproject.collect
Utility methods for working with Set instances.
KiwiSets() - Constructor for class org.kiwiproject.collect.KiwiSets
 
KiwiStreams - Class in org.kiwiproject.collect
Utilities related to Streams that are not already in the JDKs Stream or Guava's Streams.
KiwiStreams() - Constructor for class org.kiwiproject.collect.KiwiStreams
 
KiwiStrings - Class in org.kiwiproject.base
Utility methods relating to strings or similar.
KiwiStrings() - Constructor for class org.kiwiproject.base.KiwiStrings
 
KiwiThrowables - Class in org.kiwiproject.base
Utility class for working with Throwable instances.
KiwiThrowables() - Constructor for class org.kiwiproject.base.KiwiThrowables
 
KiwiThrowables.ThrowableInfo - Class in org.kiwiproject.base
Immutable "struct" that contains information from a Throwable instance.
KiwiUrls - Class in org.kiwiproject.net
Static utilities for creating URLs
KiwiUrls() - Constructor for class org.kiwiproject.net.KiwiUrls
 
KiwiUrls.Components - Class in org.kiwiproject.net
A simple value class to hold the various parts of the URL.

L

last(List<T>) - Static method in class org.kiwiproject.collect.KiwiLists
Returns the last element in the specified list of items.
lastIfPresent(List<T>) - Static method in class org.kiwiproject.collect.KiwiLists
Returns an Optional containing the last element in specified list of items, or an empty optional if the list is null or empty.
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 original supplier 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.
LazyLogParameterSupplier() - Constructor for class org.kiwiproject.logging.LazyLogParameterSupplier
 
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.
LocalDateTimeEpochTimeSerializer - Class in org.kiwiproject.jackson.ser
Jackson serializer that converts a LocalDateTime into 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
Returns a LocalDateTime from the specified Timestamp column in the given ResultSet.
localDateTimeFromTimestamp(Timestamp) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
Returns a LocalDateTime from the given Timestamp.
LocalPortChecker - Class in org.kiwiproject.net
Utility to check port availability.
LocalPortChecker() - Constructor for class org.kiwiproject.net.LocalPortChecker
 
LoggingDeserializationProblemHandler - Class in org.kiwiproject.json
A Jackson DeserializationProblemHandler that 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.
logOrFail(String, String, RuntimeException) - Method in class org.kiwiproject.beans.BeanConverter
 
longValueOrNull(ResultSet, String) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
Simplifies the JDBC silliness whereby getting a long value that is actually null returns zero, and you have to check if the last value was actually null using the ResultSet.wasNull() method.

M

manage(LifecycleEnvironment, Runnable, Runnable) - Static method in class org.kiwiproject.dropwizard.lifecycle.KiwiDropwizardLifecycles
Creates a Dropwizard Managed whose start action is startAction and whose stop action is stopAction, and attaches it to the given Dropwizard lifecycle.
ManagedCloseable - Class in org.kiwiproject.dropwizard.lifecycle
A Dropwizard Managed that manages a single Closeable instance.
ManagedCloseable(Closeable) - Constructor for class org.kiwiproject.dropwizard.lifecycle.ManagedCloseable
 
MatchSpliterator - Class in org.kiwiproject.regex
This is a Spliterator that lets you traverse MatchResults of a Matcher.
MatchSpliterator(Matcher) - Constructor for class org.kiwiproject.regex.MatchSpliterator
Create a new instance from the given Matcher.
MAX_PORT - Static variable in class org.kiwiproject.net.LocalPortChecker
 
MERGE_ARRAYS - 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) destinationNode with values from updateNode.
mergeObjects(T, Object, JsonHelper.MergeOption...) - Method in class org.kiwiproject.json.JsonHelper
Merge values in updateObject into the original object, using the given merge options.
message - Variable in class org.kiwiproject.base.KiwiThrowables.ThrowableInfo
 
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
Get the message from Throwable or Optional.empty() if throwable is null.
minusDays(Instant, long) - Static method in class org.kiwiproject.time.KiwiInstants
Return an Instant that is the given number of days before instant.
minusHours(Instant, long) - Static method in class org.kiwiproject.time.KiwiInstants
Return an Instant that is the given number of hours before instant.
minusMinutes(Instant, long) - Static method in class org.kiwiproject.time.KiwiInstants
Return an Instant that is the given number of minutes before instant.
minusMonths(Instant, long) - Static method in class org.kiwiproject.time.KiwiInstants
Return an Instant that is the given number of months before instant.
minusUsingZDT(Instant, long, TemporalUnit) - Static method in class org.kiwiproject.time.KiwiInstants
Subtract any given amountToSubtract of type TemporalUnit from the given instant.
minusYears(Instant, long) - Static method in class org.kiwiproject.time.KiwiInstants
Return an Instant that is the given number of years before instant.

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.
newByteArrayInputStreamOfLines(String...) - Static method in class org.kiwiproject.io.KiwiIO
Return a newly constructed ByteArrayInputStream containing the given lines separated by the System.lineSeparator().
newConcurrentHashMap(Object...) - Static method in class org.kiwiproject.collect.KiwiMaps
Creates a mutable, ConcurrentHashMap instance containing key/value pairs as parsed in pairs from the items argument.
newDropwizardJsonHelper() - Static method in class org.kiwiproject.json.JsonHelper
Create a new JsonHelper with an ObjectMapper supplied by JsonHelper.newDropwizardObjectMapper().
newDropwizardObjectMapper() - Static method in class org.kiwiproject.json.JsonHelper
Creates a new ObjectMapper configured using the Dropwizard Jackson.newObjectMapper() factory method.
newHashMap(Object...) - Static method in class org.kiwiproject.collect.KiwiMaps
Creates a mutable, HashMap instance containing key/value pairs as parsed in pairs from the items argument.
newJSONBObject(String) - Static method in class org.kiwiproject.jdbc.postgres.KiwiPostgres
Creates a new PGobject of type KiwiPostgres.JSONB_TYPE with teh given JSON value.
newJSONObject(String) - Static method in class org.kiwiproject.jdbc.postgres.KiwiPostgres
Creates a new PGobject of type KiwiPostgres.JSON_TYPE with 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, LinkedHashMap instance containing key/value pairs as parsed in pairs from the items argument.
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
newPGobject(String, String) - Static method in class org.kiwiproject.jdbc.postgres.KiwiPostgres
Creates a new PGobject of the specified type and with the given value.
newProperties(Object...) - Static method in class org.kiwiproject.collect.KiwiProperties
Crates a mutable Properties instance by parsing the items argument in pairs.
newProperties(String...) - Static method in class org.kiwiproject.collect.KiwiProperties
Creates a mutable Properties instance by parsing the items argument in pairs.
newProperties(List<String>) - Static method in class org.kiwiproject.collect.KiwiProperties
Creates a mutable Properties instance 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 Properties instance from a Map a one-liner.
newPropertiesFromStringPairs(List<List<String>>) - Static method in class org.kiwiproject.collect.KiwiProperties
Creates a mutable Properties instance from each key/value pair list inside the outer list.
newTreeMap(Object...) - Static method in class org.kiwiproject.collect.KiwiMaps
Creates a mutable, TreeMap instance containing key/value pairs as parsed in pairs from the items argument.
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
Get the direct cause of the Throwable or Optional.empty() if throwable is null.
NO_OP - org.kiwiproject.base.process.KillTimeoutAction
No action is taken after timeout
none() - Static method in class org.kiwiproject.config.UrlRewriteConfiguration
Returns and instance that will not perform any URL rewriting.
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.
NOT_ENOUGH_VALUES_ERROR - Static variable in class org.kiwiproject.collect.KiwiIterators
 
notSuccessful(int) - Static method in class org.kiwiproject.jaxrs.Responses
 
notSuccessful(Response) - Static method in class org.kiwiproject.jaxrs.Responses
 
notSuccessful(Response.Status) - Static method in class org.kiwiproject.jaxrs.Responses
 
notSuccessful(Response.Status.Family) - Static method in class org.kiwiproject.jaxrs.Responses
 
notSuccessful(Response.StatusType) - Static method in class org.kiwiproject.jaxrs.Responses
 
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.
nullSafeSetDateAsTimestamp(PreparedStatement, int, Date) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
Sets the Date value in a null-safe manner by using the PreparedStatement.setNull(int, int) method for null values.
nullSafeSetDateAsTimestamp(PreparedStatement, int, Date, int) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
Sets the Date value in a null-safe manner by using the PreparedStatement.setNull(int, int) method for null values.
nullSafeSetDouble(PreparedStatement, int, Double) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
Sets the Double value in a null-safe manner by using the PreparedStatement.setNull(int, int) method for null values.
nullSafeSetDouble(PreparedStatement, int, Double, int) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
Sets the Double value in a null-safe manner by using the PreparedStatement.setNull(int, int) method for null values.
nullSafeSetInt(PreparedStatement, int, Integer) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
Sets the Integer value in a null-safe manner by using the PreparedStatement.setNull(int, int) method for null values.
nullSafeSetInt(PreparedStatement, int, Integer, int) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
Sets the Integer value in a null-safe manner by using the PreparedStatement.setNull(int, int) method for null values.
nullSafeSetLong(PreparedStatement, int, Long) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
Sets the Long value in a null-safe manner by using the PreparedStatement.setNull(int, int) method for null values.
nullSafeSetLong(PreparedStatement, int, Long, int) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
Sets the Long value in a null-safe manner by using the PreparedStatement.setNull(int, int) method for null values.
nullSafeSetString(PreparedStatement, int, String) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
Sets the String value in a null-safe manner by using the PreparedStatement.setNull(int, int) method for null values.
nullSafeSetString(PreparedStatement, int, String, int) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
Sets the String value in a null-safe manner by using the PreparedStatement.setNull(int, int) method for null values.
nullSafeSetTimestamp(PreparedStatement, int, Timestamp) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
Sets the Timestamp value in a null-safe manner by using the PreparedStatement.setNull(int, int) method for null values.
nullSafeSetTimestamp(PreparedStatement, int, Timestamp, int) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
Sets the Timestamp value in a null-safe manner by using the PreparedStatement.setNull(int, int) method for null values.
number() - Method in enum 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

of(Exception) - Static method in class org.kiwiproject.io.TimeBasedDirectoryCleaner.DeleteError
 
of(String) - Static method in class org.kiwiproject.io.TimeBasedDirectoryCleaner.DeleteError
 
of(Throwable) - Static method in class org.kiwiproject.base.KiwiThrowables.ThrowableInfo
Factory method
of(TimeBasedDirectoryCleaner.FileDeleteResult) - Static method in class org.kiwiproject.io.TimeBasedDirectoryCleaner.DeleteError
 
ofPrettyValue(boolean) - Static method in enum org.kiwiproject.json.JsonHelper.OutputFormat
Convert the given boolean value to the appropriate JsonHelper.OutputFormat.
ofPrettyValue(Boolean) - Static method in enum org.kiwiproject.json.JsonHelper.OutputFormat
Parse the (nullable) Boolean value into an JsonHelper.OutputFormat.
ofPrettyValue(String) - Static method in enum org.kiwiproject.json.JsonHelper.OutputFormat
Parse the given string as a boolean into an JsonHelper.OutputFormat.
ONE_BASED - org.kiwiproject.search.KiwiSearching.PageNumberingScheme
Page numbers start at one.
Optionals - Class in org.kiwiproject.base
Utility methods for instances of Optional, and which are not already present in Optional.
Optionals() - Constructor for class org.kiwiproject.base.Optionals
 
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.jdbi2 - package org.kiwiproject.dropwizard.jdbi2
 
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.dropwizard.util - package org.kiwiproject.dropwizard.util
 
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.jaxws - package org.kiwiproject.jaxws
 
org.kiwiproject.jdbc - package org.kiwiproject.jdbc
 
org.kiwiproject.jdbc.postgres - package org.kiwiproject.jdbc.postgres
 
org.kiwiproject.json - package org.kiwiproject.json
 
org.kiwiproject.logging - package org.kiwiproject.logging
 
org.kiwiproject.net - package org.kiwiproject.net
 
org.kiwiproject.regex - package org.kiwiproject.regex
 
org.kiwiproject.search - package org.kiwiproject.search
 
org.kiwiproject.security - package org.kiwiproject.security
 
org.kiwiproject.stream - package org.kiwiproject.stream
 
org.kiwiproject.time - package org.kiwiproject.time
 
org.kiwiproject.util.function - package org.kiwiproject.util.function
 

P

PAGE_SIZE_ERROR - Static variable in class org.kiwiproject.search.KiwiSearching
 
pageNumberError - Variable in enum org.kiwiproject.search.KiwiSearching.PageNumberingScheme
 
PaginatedResult - Interface in org.kiwiproject.search
Simple interface defining basic pagination for any kind of search, e.g.
parseAsDate(String) - Static method in class org.kiwiproject.time.KiwiDateTimeParsers
Converts the given date/time string into a Date using DateTimeFormatter.ISO_ZONED_DATE_TIME as the formatter.
parseAsLocalDate(String) - Static method in class org.kiwiproject.time.KiwiDateTimeParsers
Converts the given date string into a LocalDate using DateTimeFormatter.ISO_LOCAL_DATE as the formatter.
parseAsLocalDate(String, DateTimeFormatter) - Static method in class org.kiwiproject.time.KiwiDateTimeParsers
Converts the given date string into a LocalDate using the given formatter.
parseAsLocalDateTime(String) - Static method in class org.kiwiproject.time.KiwiDateTimeParsers
Converts the given date/time string into a LocalDateTime using DateTimeFormatter.ISO_LOCAL_DATE_TIME as the formatter.
parseAsLocalDateTime(String, DateTimeFormatter) - Static method in class org.kiwiproject.time.KiwiDateTimeParsers
Converts the given date/time string into a LocalDateTime using the given formatter.
parseAsZonedDateTime(String) - Static method in class org.kiwiproject.time.KiwiDateTimeParsers
Converts the given date/time string into a ZonedDateTime using DateTimeFormatter.ISO_ZONED_DATE_TIME as the formatter.
parseAsZonedDateTime(String, DateTimeFormatter) - Static method in class org.kiwiproject.time.KiwiDateTimeParsers
Converts the given date/time string into a ZonedDateTime using the specified DateTimeFormatter.
path(String) - Method in class org.kiwiproject.config.EndpointConfiguration.Builder
 
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 a Path
penultimate(List<T>) - Static method in class org.kiwiproject.collect.KiwiLists
Returns the penultimate (second to last) element in the specified list.
pgrep(String) - Static method in class org.kiwiproject.base.process.Processes
Does a pgrep with the specified full command.
pgrep(String) - Method in class org.kiwiproject.base.process.ProcessHelper
Does a pgrep with the specified full command.
pgrep(String, String) - Static method in class org.kiwiproject.base.process.Processes
Does a pgrep with the specified full command.
pgrep(String, String) - Method in class org.kiwiproject.base.process.ProcessHelper
Does a pgrep with the specified full command.
pgrepList(String) - Static method in class org.kiwiproject.base.process.Processes
Does a pgrep with the specified full command.
pgrepList(String) - Method in class org.kiwiproject.base.process.ProcessHelper
Does a pgrep with the specified full command.
pgrepList(String, String) - Static method in class org.kiwiproject.base.process.Processes
Does a pgrep with the specified full command.
pgrepList(String, String) - Method in class org.kiwiproject.base.process.ProcessHelper
Does a pgrep with the specified full command.
pgrepParsedList(String) - Static method in class org.kiwiproject.base.process.Processes
Does a pgrep for 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 pgrep for 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 pgrep for 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 pgrep for 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 pgrep against the specified full command, expecting a single result, or no result.
pgrepWithSingleResult(String) - Method in class org.kiwiproject.base.process.ProcessHelper
Does a pgrep against 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 pgrep against 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 pgrep against the specified full command, expecting a single result for a specific user, or no result.
PKCS11 - org.kiwiproject.security.KeyStoreType
A keystore backed by a PCKS #11 token.
PKCS12 - org.kiwiproject.security.KeyStoreType
The transfer syntax for personal identity information as defined in PKCS #12.
plusDays(Instant, long) - Static method in class org.kiwiproject.time.KiwiInstants
Return an Instant that is the given number of days after instant.
plusHours(Instant, long) - Static method in class org.kiwiproject.time.KiwiInstants
Return an Instant that is the given number of hours after instant.
plusMinutes(Instant, long) - Static method in class org.kiwiproject.time.KiwiInstants
Return an Instant that is the given number of minutes after instant.
plusMonths(Instant, long) - Static method in class org.kiwiproject.time.KiwiInstants
Return an Instant that is the given number of months after instant.
plusUsingZDT(Instant, long, TemporalUnit) - Static method in class org.kiwiproject.time.KiwiInstants
Add any given amountToAdd of type TemporalUnit from the given instant.
plusYears(Instant, long) - Static method in class org.kiwiproject.time.KiwiInstants
Return an Instant that is the given number of years after instant.
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.
prependLeadingSlash(String) - Static method in class org.kiwiproject.net.KiwiUrls
Trims path and, if a leading slash is not present, adds it.
PRETTY - org.kiwiproject.json.JsonHelper.OutputFormat
JSON will be formatted nicely.
Processes - Class in org.kiwiproject.base.process
Utility class for working with operating system processes.
Processes() - Constructor for class org.kiwiproject.base.process.Processes
 
ProcessHelper - Class in org.kiwiproject.base.process
Wrapper class around the static utility functions in Processes that requires an instance, adn thus by using an instance of this class instead of Processes directly, it will make it much easier to test code that deals with processes.
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".
PropertyMaskingOptions - Class in org.kiwiproject.json
PropertyMaskingOptions() - Constructor for class org.kiwiproject.json.PropertyMaskingOptions
 
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 BeanPropertyWriter using 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 BeanPropertyWriter using the given PropertyMaskingOptions to 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.security.SimpleSSLContextFactory.Builder
 

Q

queryStringToMap(String) - Static method in class org.kiwiproject.net.KiwiUrls
Converts a query string (comprised of key/value pairs separated by '&' characters) into a Map of String of Strings

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.
readBeanValue(T, BeanWrapper, String) - Method in class org.kiwiproject.beans.BeanConverter
 
readLinesFrom(InputStream, Charset) - Static method in class org.kiwiproject.io.KiwiIO
Return a List of Strings from the input stream using the specified Charset for the String encoding.
readLinesFromErrorStreamOf(Process) - Static method in class org.kiwiproject.io.KiwiIO
Return a List of Strings from the error stream of the given Process using UTF-8 for the String encoding.
readLinesFromErrorStreamOf(Process, Charset) - Static method in class org.kiwiproject.io.KiwiIO
Return a List of Strings from the error stream of the given Process using the specified Charset for the String encoding.
readLinesFromInputStreamOf(Process) - Static method in class org.kiwiproject.io.KiwiIO
Return a List of Strings from the input stream of the given Process using UTF-8 for the String encoding.
readLinesFromInputStreamOf(Process, Charset) - Static method in class org.kiwiproject.io.KiwiIO
Return a List of Strings from the input stream of the given Process using the specified Charset for the String encoding.
reference() - Method in annotation type org.kiwiproject.base.KiwiDeprecated
The issue number or other reference or descriptor which caused or is related to the deprecation, if any.
removeAt() - Method in annotation type 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.
replacedBy() - Method in annotation type 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 commaDelimitedUrls for its domains, and if found, replaces all entries with replacmentDomain.
requireDouble(BigDecimal) - Static method in class org.kiwiproject.base.KiwiBigDecimals
Converts the given BigDecimal to a primitive double.
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 and IllegalArgumentException if 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 and IllegalArgumentException if 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 and IllegalArgumentException if 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 and IllegalArgumentException if 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 and IllegalArgumentException if 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 be null).
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 the Supplier, which must not be null.
Responses - Class in org.kiwiproject.jaxrs
 
Responses() - Constructor for class org.kiwiproject.jaxrs.Responses
 
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
Get the root cause of the Throwable or Optional.empty() if throwable is null.
run() - Method in interface org.kiwiproject.base.CatchingRunnable
Wraps CatchingRunnable.runSafely() in a try/catch.
run() - Method in class org.kiwiproject.io.TimeBasedDirectoryCleaner
 
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.
runWithReadLock(String, Runnable) - Method in class org.kiwiproject.concurrent.StripedLock
Execute a Runnable task using the provided lock key and associated a READ lock.
runWithWriteLock(String, Runnable) - Method in class org.kiwiproject.concurrent.StripedLock
Execute a Runnable task using the provided lock key and associated a WRITE lock.

S

scheduleCleanupUsing(Environment) - Method in class org.kiwiproject.dropwizard.config.TimeBasedDirectoryCleanerConfig
Schedules directory cleanup and registers a TimeBasedDirectoryCleanerHealthCheck health check using the given Environment, returning the TimeBasedDirectoryCleaner instance that was scheduled.
scheduleCleanupUsing(ScheduledExecutorService) - Method in class org.kiwiproject.dropwizard.config.TimeBasedDirectoryCleanerConfig
Schedules directory cleanup using the given ScheduledExecutorService, returning the TimeBasedDirectoryCleaner instance that was scheduled.
scheme(String) - Method in class org.kiwiproject.config.EndpointConfiguration.Builder
 
SCHEME_GROUP - Static variable in class org.kiwiproject.net.KiwiUrls
 
searchWith(Supplier<List<T>>, Supplier<List<T>>) - Method in enum org.kiwiproject.jdbc.SqlOrder
Perform a search in either ascending or descending order using the given Supplier instances.
second(List<T>) - Static method in class org.kiwiproject.collect.KiwiLists
Return the second element in the specified list of items.
secondToLast(List<T>) - Static method in class org.kiwiproject.collect.KiwiLists
SecureEndpointsConfiguration - Class in org.kiwiproject.config
Configuration for secure REST endpoints, including the configuration from an SSLContextConfiguration as well as adding a collection of EndpointConfiguration instances.
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.
serialize(LocalDateTime, JsonGenerator, SerializerProvider) - Method in class org.kiwiproject.jackson.ser.LocalDateTimeEpochTimeSerializer
 
serialize(JAXBElement, JsonGenerator, SerializerProvider) - Method in class org.kiwiproject.json.JaxbElementSerializer
 
serializeAsField(Object, JsonGenerator, SerializerProvider) - Method in class org.kiwiproject.json.PropertyMaskingSafePropertyWriter
 
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.
setExtraFields(String, Object) - Method in class org.kiwiproject.json.FlexibleJsonModel
Add an "extra" field when de-serializing from JSON.
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.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.security.SimpleSSLContextFactory.Builder
 
setKeyStoreType(String) - Method in class org.kiwiproject.config.SecureEndpointsConfiguration.Builder
 
setKeyStoreType(String) - Method in class org.kiwiproject.config.SSLContextConfiguration.Builder
 
setPath(String) - Method in class org.kiwiproject.config.EndpointConfiguration.Builder
 
setPort(String) - Method in class org.kiwiproject.config.EndpointConfiguration.Builder
 
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.security.SimpleSSLContextFactory.Builder
 
setScheme(String) - Method in class org.kiwiproject.config.EndpointConfiguration.Builder
 
setTag(String) - Method in class org.kiwiproject.config.EndpointConfiguration.Builder
 
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.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.security.SimpleSSLContextFactory.Builder
 
setUnitTestAsyncMode(Async.Mode) - Static method in class org.kiwiproject.concurrent.Async
Use for testing purposes to force synchronous behavior.
setUrlRewriteConfiguration(UrlRewriteConfiguration) - Method in class org.kiwiproject.config.EndpointConfiguration.Builder
 
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.security.SimpleSSLContextFactory.Builder
 
SEVERE - org.kiwiproject.base.KiwiDeprecated.Severity
 
SFTP_PROTOCOL - Static variable in class org.kiwiproject.net.KiwiUrls
 
shouldRewrite() - Method in class org.kiwiproject.config.UrlRewriteConfiguration
Whether URL rewrites will be performed.
SHUTDOWN_DURATION - Static variable in class org.kiwiproject.dropwizard.config.TimeBasedDirectoryCleanerConfig
 
SIGHUP - org.kiwiproject.base.process.KillSignal
Hang up signal, e.g.
SIGINT - org.kiwiproject.base.process.KillSignal
Interrupt signal, e.g.
SIGKILL - org.kiwiproject.base.process.KillSignal
Non-catchable, non-ignorable kill signal, e.g.
signalNumber - Variable in enum org.kiwiproject.base.process.KillSignal
 
SIGQUIT - org.kiwiproject.base.process.KillSignal
Quit signal, e.g.
SIGTERM - org.kiwiproject.base.process.KillSignal
Software termination signal, e.g.
SimpleHostAndPort - Class in org.kiwiproject.net
Inspired by Guava's HostAndPort but much simpler in implementation.
SimpleHostAndPort() - Constructor for class org.kiwiproject.net.SimpleHostAndPort
 
SimpleHostInfo() - Constructor for class org.kiwiproject.net.KiwiInternetAddresses.SimpleHostInfo
 
SimpleSSLContextFactory - Class in org.kiwiproject.security
A "simple" factory class that makes it simpler to to create SSLContext instances.
SimpleSSLContextFactory(String, String, String, String, String) - Constructor for class org.kiwiproject.security.SimpleSSLContextFactory
Create a new SimpleSSLContextFactory with verifyHostname set to true.
SimpleSSLContextFactory(String, String, String, String, String, boolean) - Constructor for class org.kiwiproject.security.SimpleSSLContextFactory
SimpleSSLContextFactory.Builder - Class in org.kiwiproject.security
A builder class for SimpleSSLContextFactory.
since() - Method in annotation type 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 timeout and TimeUnit.
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 timeout and TimeUnit.
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 Comparator returning a new list.
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 a KiwiStrings.SPACE as 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 a KiwiStrings.SPACE as 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.
SqlOrder - Enum in org.kiwiproject.jdbc
Simple enum that represents the values for SQL ORDER BY clauses.
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, and TrustManager.
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 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.
start() - Method in class org.kiwiproject.dropwizard.lifecycle.ManagedCloseable
No-op
stop() - Method in class org.kiwiproject.dropwizard.lifecycle.ManagedCloseable
Delegates to the managed Closeable's close method.
stream() - Method in class org.kiwiproject.regex.MatchSpliterator
Create a Stream of MatchResult from this instance.
stream(String, String) - Static method in class org.kiwiproject.regex.MatchSpliterator
Create a Stream of MatchResult using the given regular expression and String input.
stream(Matcher) - Static method in class org.kiwiproject.regex.MatchSpliterator
Create a Stream of MatchResult using the given Matcher
stream(Pattern, String) - Static method in class org.kiwiproject.regex.MatchSpliterator
Create a Stream of MatchResult using the given Pattern and String input.
streamLinesFrom(InputStream, Charset) - Static method in class org.kiwiproject.io.KiwiIO
Return a Stream of Strings from the given InputStream using the specified Charset for the String encoding.
streamLinesFromErrorStreamOf(Process) - Static method in class org.kiwiproject.io.KiwiIO
Return a Stream of Strings from the error stream of the given Process using UTF-8 for the String encoding.
streamLinesFromErrorStreamOf(Process, Charset) - Static method in class org.kiwiproject.io.KiwiIO
Return a Stream of Strings from the error stream of the given Process using the specified Charset for the String encoding.
streamLinesFromInputStreamOf(Process) - Static method in class org.kiwiproject.io.KiwiIO
Return a Stream of Strings from the input stream of the given Process using UTF-8 for the String encoding.
streamLinesFromInputStreamOf(Process, Charset) - Static method in class org.kiwiproject.io.KiwiIO
Return a Stream of Strings from the input stream of the given Process using the specified Charset for the String encoding.
StripedLock - Class in org.kiwiproject.concurrent
StripedLock provides 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, using StripedLock.DEFAULT_KEY_WHEN_BLANK as the number of stripes.
StripedLock(int) - Constructor for class org.kiwiproject.concurrent.StripedLock
Creates a new StripedLock with the given number of stripes.
StripedLock(Striped<ReadWriteLock>) - Constructor for class org.kiwiproject.concurrent.StripedLock
Create a new StripedLock using the given ReadWriteLock.
stripTrailingSlash(String) - Static method in class org.kiwiproject.net.KiwiUrls
Trims url and, if present, strips the trailing slash
stripTrailingSlashes(List<String>) - Static method in class org.kiwiproject.net.KiwiUrls
Trims each URL in urls and strips any trailing slashes
SUB_DOMAIN_GROUP - Static variable in class org.kiwiproject.net.KiwiUrls
 
successful(int) - Static method in class org.kiwiproject.jaxrs.Responses
 
successful(Response) - Static method in class org.kiwiproject.jaxrs.Responses
 
successful(Response.Status) - Static method in class org.kiwiproject.jaxrs.Responses
 
successful(Response.Status.Family) - Static method in class org.kiwiproject.jaxrs.Responses
 
successful(Response.StatusType) - Static method in class org.kiwiproject.jaxrs.Responses
 
supplyWithReadLock(String, Supplier<T>) - Method in class org.kiwiproject.concurrent.StripedLock
Execute a Supplier using the provided lock key and associated READ lock.
supplyWithWriteLock(String, Supplier<T>) - Method in class org.kiwiproject.concurrent.StripedLock
Execute a Supplier using the provided lock key and associated WRITE lock.
synchronizedEvictingQueue() - Static method in class org.kiwiproject.collect.KiwiEvictingQueues
Create a new, synchronized EvictingQueue that can hold up to KiwiEvictingQueues.DEFAULT_MAX_RECENT_ITEMS items.
synchronizedEvictingQueue(int) - Static method in class org.kiwiproject.collect.KiwiEvictingQueues
Create a new, synchronized EvictingQueue that can hold up to maxSize items.

T

TAB - Static variable in class org.kiwiproject.base.KiwiStrings
A tab character.
tag(String) - Method in class org.kiwiproject.config.EndpointConfiguration.Builder
 
third(List<T>) - Static method in class org.kiwiproject.collect.KiwiLists
Return the third element in the specified list of items.
THROW_EXCEPTION - org.kiwiproject.base.process.KillTimeoutAction
An exception (IllegalStateException) will be thrown after timeout
ThrowableInfo() - Constructor for class org.kiwiproject.base.KiwiThrowables.ThrowableInfo
 
throwableInfoOfNonNull(Throwable) - Static method in class org.kiwiproject.base.KiwiThrowables
throwableInfoOfNullable(Throwable) - Static method in class org.kiwiproject.base.KiwiThrowables
TimeBasedDirectoryCleaner - Class in org.kiwiproject.io
A Runnable that 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.
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 TimeBasedDirectoryCleaner that 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 TimeBasedDirectoryCleaner and the default warning threshold.
TimeBasedDirectoryCleanerHealthCheck(TimeBasedDirectoryCleaner, Duration) - Constructor for class org.kiwiproject.dropwizard.metrics.health.TimeBasedDirectoryCleanerHealthCheck
Create with the specified TimeBasedDirectoryCleaner and warning threshold.
TimedHealthCheck - Class in org.kiwiproject.dropwizard.metrics.health
Health Check wrapper that will timeout after a set period of time.
TimedHealthCheck(HealthCheck) - Constructor for class org.kiwiproject.dropwizard.metrics.health.TimedHealthCheck
Creates a new TimedHealthCheck with the given delegate HealthCheck and the default timeout (5 seconds).
TimedHealthCheck(HealthCheck, Duration) - Constructor for class org.kiwiproject.dropwizard.metrics.health.TimedHealthCheck
Creates a new TimedHealthCheck with the given (delegate HealthCheck and the given timeout.
timestampFromInstant(Instant) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
Returns a Timestamp from the given Instant.
timestampFromZonedDateTime(ZonedDateTime) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
Returns a Timestamp from the given ZonedDateTime.
TLS - org.kiwiproject.security.SSLContextProtocol
Supports some version of TLS; may support other SSL/TLS versions
TLS_1 - org.kiwiproject.security.SSLContextProtocol
Supports RFC 2246; TLS version 1.0; may support other SSL/TLS versions
TLS_1_1 - org.kiwiproject.security.SSLContextProtocol
Supports RFC 4346; TLS version 1.1; may support other SSL/TLS versions
TLS_1_2 - org.kiwiproject.security.SSLContextProtocol
Supports RFC 5246; TLS version 1.2; may support other SSL/TLS versions
TLS_1_3 - 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
 
toArrayListMultimap() - Static method in class org.kiwiproject.stream.KiwiMultimapCollectors
Collects into an ArrayListMultimap.
toDate(LocalDate) - Static method in class org.kiwiproject.time.KiwiDateTimeConverters
Convert the given LocalDate into its equivalent Date (epoch milliseconds using UTC).
toDate(LocalDateTime) - Static method in class org.kiwiproject.time.KiwiDateTimeConverters
Convert the given LocalDateTime into its equivalent Date (epoch milliseconds using UTC).
toDate(ZonedDateTime) - Static method in class org.kiwiproject.time.KiwiDateTimeConverters
Convert the given ZonedDateTime into its equivalent Date (epoch milliseconds using UTC).
toDoubleOrNull(BigDecimal) - Static method in class org.kiwiproject.base.KiwiBigDecimals
Converts a nullable BigDecimal to a Double or returns null if the given value is null.
toDropwizardTlsConfiguration() - Method in class org.kiwiproject.config.TlsContextConfiguration
Convert this TlsContextConfiguration into a Dropwizard TlsConfiguration object.
toEnumMap(Class<K>, Function<? super T, ? extends K>, Function<? super T, ? extends U>) - Static method in class org.kiwiproject.collect.KiwiCollectors
Returns a Collector that collects into an EnumMap.
toEnumSet(Class<E>) - Static method in class org.kiwiproject.collect.KiwiCollectors
Returns a Collector that collects into an EnumSet.
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 valueClass type.
toHashMultimap() - Static method in class org.kiwiproject.stream.KiwiMultimapCollectors
Collects into an HashMultimap.
toImmutableListBuilder() - Static method in class org.kiwiproject.collect.KiwiCollectors
Return a Collector that collects into a Guava ImmutableList.Builder.
toJson(Object) - Method in class org.kiwiproject.json.JsonHelper
Convert the given object to JSON using the JsonHelper.OutputFormat.DEFAULT format.
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 JsonView to 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 Collector that collects intoa LinkedHashMap.
toLocalDate(Date, ZoneId) - Static method in class org.kiwiproject.time.KiwiDateTimeConverters
Convert the given Date into its equivalent LocalDate in the specified time zone.
toLocalDateTime(Date, ZoneId) - Static method in class org.kiwiproject.time.KiwiDateTimeConverters
Convert the given Date into its equivalent LocalDateTime in the specified time zone.
toLocalDateTimeUTC(Date) - Static method in class org.kiwiproject.time.KiwiDateTimeConverters
Convert the given Date into its equivalent LocalDateTime in the UTC time zone.
toLocalDateUTC(Date) - Static method in class org.kiwiproject.time.KiwiDateTimeConverters
Convert the given Date into its equivalent LocalDate in the UTC time zone.
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 K and values of type V.
toMultimap(Supplier<A>) - Static method in class org.kiwiproject.stream.KiwiMultimapCollectors
Given a stream of Map.Entry objects, collects to the Multimap specified in the supplier argument.
toObject(String, TypeReference<T>) - Method in class org.kiwiproject.json.JsonHelper
Convert the given JSON into an object of type T using the given TypeReference.
toObject(String, Class<T>) - Method in class org.kiwiproject.json.JsonHelper
Convert the given JSON into the specified type.
toObjectList(String, TypeReference<List<T>>) - Method in class org.kiwiproject.json.JsonHelper
Convert the given JSON 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.
toOptionalDouble(BigDecimal) - Static method in class org.kiwiproject.base.KiwiBigDecimals
Converts a nullable BigDecimal to an OptionalDouble.
toOptionalDoubleObject(BigDecimal) - Static method in class org.kiwiproject.base.KiwiBigDecimals
Converts a nullable BigDecimal to an Optional containing a Double.
toQueryString(Map<String, String>) - Static method in class org.kiwiproject.net.KiwiUrls
Converts a Map of String of Strings into one (potentially long) string of key/value parameters (each key/value parameter is separated by an '=' character), with each parameter pair separated by an '&' character.
toSimpleSSLContextFactory() - Method in class org.kiwiproject.config.SSLContextConfiguration
Convert this configuration to a SimpleSSLContextFactory.
toSql() - Method in enum org.kiwiproject.jdbc.SqlOrder
Return a string that can be used directly in a SQL ORDER BY clause.
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.
toString() - Method in class org.kiwiproject.net.SimpleHostAndPort
Return a string in host:port format.
toTlsContextConfiguration() - Method in class org.kiwiproject.config.SSLContextConfiguration
Convert this SSLContextConfiguration to a TlsContextConfiguration, using the keyStoreType for both the key and trust store type in the returned object.
toTlsContextConfiguration(String) - Method in class org.kiwiproject.config.SSLContextConfiguration
Convert this SSLContextConfiguration to a TlsContextConfiguration, using the keyStoreType for the key and the specified trustStoreType as the trust store type in the returned object.
toUriBuilder() - Method in class org.kiwiproject.config.EndpointConfiguration
Converts the URI returned by EndpointConfiguration.getURI() into a JAX-RS UriBuilder.
toURL(URI) - Static method in class org.kiwiproject.net.KiwiUrls
Tries to convert the given uri into a URL, throwing an unchecked exception if the conversion fails.
toZonedDateTime(Date, ZoneId) - Static method in class org.kiwiproject.time.KiwiDateTimeConverters
Convert the given Date into its equivalent ZonedDateTime in the specified time zone.
toZonedDateTimeUTC(Date) - Static method in class org.kiwiproject.time.KiwiDateTimeConverters
Convert the given Date into its equivalent ZonedDateTime in the UTC time zone.
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 SSLContext and SSLSocketFactory from 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.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.security.SimpleSSLContextFactory.Builder
 
tryAdvance(Consumer<? super MatchResult>) - Method in class org.kiwiproject.regex.MatchSpliterator
 
tryGetCurrentProcessId() - Method in class org.kiwiproject.base.DefaultEnvironment
 
tryGetCurrentProcessId() - Method in interface org.kiwiproject.base.KiwiEnvironment
Tries to obtain the process ID of the currently executing JVM.
TryLocker - Class in org.kiwiproject.concurrent
Utility that aids in using Lock.tryLock(long, TimeUnit).
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
Get the type of Throwable or Optional.empty() if throwable is null

U

UncheckedInterruptedException - Exception in org.kiwiproject.base
Wraps an InterruptedException with 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.
UncheckedMalformedURLException - Exception in org.kiwiproject.net
Wraps a MalformedURLException with an unchecked exception
UncheckedMalformedURLException(String, MalformedURLException) - Constructor for exception org.kiwiproject.net.UncheckedMalformedURLException
 
UncheckedMalformedURLException(MalformedURLException) - Constructor for exception org.kiwiproject.net.UncheckedMalformedURLException
 
UncheckedURISyntaxException - Exception in org.kiwiproject.net
Wraps a URISyntaxException with an unchecked exception.
UncheckedURISyntaxException(String, URISyntaxException) - Constructor for exception org.kiwiproject.net.UncheckedURISyntaxException
 
UncheckedURISyntaxException(URISyntaxException) - Constructor for exception org.kiwiproject.net.UncheckedURISyntaxException
 
UNKNOWN - org.kiwiproject.jackson.JacksonDataFormat
 
UNKNOWN_PORT - Static variable in class org.kiwiproject.net.KiwiUrls
 
unwrap(Throwable, Class<?>) - Static method in class org.kiwiproject.base.KiwiThrowables
If throwable is of type wrapperClass, then "unwrap" the cause and return 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.
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
 
usageSeverity() - Method in annotation type org.kiwiproject.base.KiwiDeprecated
Indication of potential for problems if the deprecated feature continues to be used by callers, clients, etc.
using(Lock, long, TimeUnit) - Static method in class org.kiwiproject.concurrent.TryLocker
Create a new TryLocker using the given lock and maximum wait time.
usingReentrantLock() - Static method in class org.kiwiproject.concurrent.TryLocker
Create a new TryLocker using a ReentrantLock and the default lock maximum wait time.
usingReentrantLock(int, TimeUnit) - Static method in class org.kiwiproject.concurrent.TryLocker
Create a new TryLocker using a ReentrantLock with the given lock wait time.
utcZonedDateTimeFromEpochMilli(long) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
Returns a ZonedDateTime in UTC from the given number of milliseconds since the epoch.
utcZonedDateTimeFromTimestamp(ResultSet, String) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
Returns a ZonedDateTime in UTC from the specified column in the ResultSet.
utcZonedDateTimeFromTimestamp(Timestamp) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
Returns a ZonedDateTime in UTC from the specified Timestamp.
UUIDs - Class in org.kiwiproject.base
Utility class for working with UUID instances.
UUIDs() - Constructor for class org.kiwiproject.base.UUIDs
 

V

validateBuilderState() - Method in class org.kiwiproject.security.SimpleSSLContextFactory.Builder
 
value - Variable in enum org.kiwiproject.security.KeyStoreType
The keystore type as a String which can be directly supplied to KeyStore.getInstance(String).
value - Variable in enum org.kiwiproject.security.SSLContextProtocol
The protocol name that can be directly supplied to SSLContext.getInstance(String).
valueOf(String) - Static method in enum org.kiwiproject.base.KiwiDeprecated.Severity
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.kiwiproject.base.process.KillSignal
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.kiwiproject.base.process.KillTimeoutAction
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.kiwiproject.concurrent.Async.Mode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.kiwiproject.jackson.JacksonDataFormat
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.kiwiproject.jdbc.SqlOrder
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.kiwiproject.json.JsonHelper.MergeOption
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.kiwiproject.json.JsonHelper.OutputFormat
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.kiwiproject.search.KiwiSearching.PageNumberingScheme
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.kiwiproject.security.KeyStoreType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.kiwiproject.security.SSLContextProtocol
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.kiwiproject.base.KiwiDeprecated.Severity
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.kiwiproject.base.process.KillSignal
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.kiwiproject.base.process.KillTimeoutAction
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.kiwiproject.concurrent.Async.Mode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.kiwiproject.jackson.JacksonDataFormat
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.kiwiproject.jdbc.SqlOrder
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.kiwiproject.json.JsonHelper.MergeOption
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.kiwiproject.json.JsonHelper.OutputFormat
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.kiwiproject.search.KiwiSearching.PageNumberingScheme
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.kiwiproject.security.KeyStoreType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.kiwiproject.security.SSLContextProtocol
Returns an array containing the constants of this enum type, in the order they are declared.
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.security.SimpleSSLContextFactory.Builder
 
versionCompare(String, String) - Static method in class org.kiwiproject.base.Versions
Performs a <=> comparison of numeric version numbers.
Versions - Class in org.kiwiproject.base
A few simple version comparison utilities.
Versions() - Constructor for class org.kiwiproject.base.Versions
 

W

waitFor(CompletableFuture<T>, long, TimeUnit) - Static method in class org.kiwiproject.concurrent.Async
Helper method that waits for a CompletableFuture up 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 CompletableFuture of type T up 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 CompletableFuture with 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_SECONDS for the given process to exit.
waitForExit(Process) - Method in class org.kiwiproject.base.process.ProcessHelper
Waits up to Processes.DEFAULT_WAIT_FOR_EXIT_TIME_SECONDS for the given process to exit.
waitForExit(Process, long, TimeUnit) - Static method in class org.kiwiproject.base.process.Processes
Waits up to the specified timeout for the given process to exit.
waitForExit(Process, long, TimeUnit) - Method in class org.kiwiproject.base.process.ProcessHelper
Waits up to the specified timeout for the given process to exit.
WARN - 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.
withLeadingDash() - Method in enum org.kiwiproject.base.process.KillSignal
Return this signal's number with a leading dash, e.g.
withLeadingDash(String) - Static method in enum org.kiwiproject.base.process.KillSignal
Given a signal, prepend a leading dash if necessary, e.g.
withLockOrElse(Runnable, Runnable) - Method in class org.kiwiproject.concurrent.TryLocker
Run withLockAction if the lock is obtained within the lock timeout period.
withLockSupplyOrFallback(Supplier<T>, T) - Method in class org.kiwiproject.concurrent.TryLocker
Execute the given withLockSupplier if 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 withLockSupplier if 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 withLockSupplier if 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 CompletableFuture with 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 CompletableFuture with a timeout so that it can proceed asynchronously, but still have a maximum duration.
writeBeanValue(R, BeanWrapper, String, Object) - Method in class org.kiwiproject.beans.BeanConverter
 

X

XML - org.kiwiproject.jackson.JacksonDataFormat
 

Y

YAML - org.kiwiproject.jackson.JacksonDataFormat
 

Z

ZERO_BASED - org.kiwiproject.search.KiwiSearching.PageNumberingScheme
Page numbers start at zero.
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.
zonedDateTimeFromTimestamp(ResultSet, String, ZoneId) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
Returns a ZonedDateTime in the specified time zone from the specified column in the ResultSet.
zonedDateTimeFromTimestamp(Timestamp, ZoneId) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
Returns a ZonedDateTime in the specified time zone from the given Timestamp.
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 
All Classes All Packages