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
All Classes All Packages
All Classes All Packages
A
- addEndpoint() - Method in class org.kiwiproject.config.SecureEndpointsConfiguration.Builder
-
Returns an
EndpointConfiguration.Builderfrom 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
CompletableFutureand 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.ENABLEDmode enables asynchronous behavior, which is the default behavior. - AsyncException - Exception in org.kiwiproject.concurrent
-
A subclass
RuntimeExceptionused to indicate problems in asynchronous code. - AsyncException(String, 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
EndpointConfigurationto the parentSecureEndpointsConfigurationand return to building theSecureEndpointsConfiguration, 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
EndpointConfigurationwithin aSecureEndpointsConfiguration. - 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
DBIinstance with metrics and health check given anEnvironmentandPooledDataSourceFactory. - buildManagedJdbi(Environment, PooledDataSourceFactory, ManagedDataSource) - Static method in class org.kiwiproject.dropwizard.jdbi2.Jdbi2Builders
-
Build a Dropwizard-managed
DBIinstance with metrics and health check given anEnvironment,PooledDataSourceFactory, andManagedDataSource. - buildManagedJdbi(Environment, PooledDataSourceFactory, ManagedDataSource, String) - Static method in class org.kiwiproject.dropwizard.jdbi2.Jdbi2Builders
-
Build a Dropwizard-managed
DBIinstance with metrics and health check given anEnvironment,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
Jdbiinstance with metrics and health check given anEnvironment, aPooledDataSourceFactory, aManagedDataSource, and a name to give the health check. - buildManagedJdbi(Environment, PooledDataSourceFactory, ManagedDataSource, JdbiPlugin...) - Static method in class org.kiwiproject.dropwizard.jdbi3.Jdbi3Builders
-
Build a Dropwizard-managed
Jdbiinstance with metrics and health check given anEnvironment, aPooledDataSourceFactory, and aManagedDataSource. - buildManagedJdbi(Environment, PooledDataSourceFactory, String) - Static method in class org.kiwiproject.dropwizard.jdbi2.Jdbi2Builders
-
Build a Dropwizard-managed
DBIinstance with metrics and health check given anEnvironment,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
Jdbiinstance with metrics and health check given anEnvironment, aPooledDataSourceFactory, and a name to give the health check. - buildManagedJdbi(Environment, PooledDataSourceFactory, JdbiPlugin...) - Static method in class org.kiwiproject.dropwizard.jdbi3.Jdbi3Builders
-
Build a Dropwizard-managed
Jdbiinstance with metrics and health check given anEnvironmentandPooledDataSourceFactory. - buildPropertyMaskingSafeSerializerModule(List<String>) - Static method in class org.kiwiproject.json.KiwiJacksonSerializers
-
Build a new
SimpleModulethat will replace the values of specific fields with a "masked" value and will replace any exceptions with a message indicating the field could not be serialized. - buildPropertyMaskingSafeSerializerModule(PropertyMaskingOptions) - Static method in class org.kiwiproject.json.KiwiJacksonSerializers
-
Build a new
SimpleModulethat will replace the values of specific fields with a "masked" value and will replace any exceptions with a message indicating the field could not be serialized.
C
- canConnectViaSocket(String, int) - Method in class org.kiwiproject.net.SocketChecker
-
Check whether a
Socketcan be opened on the specified host and port. - canConnectViaSocket(String, int, Duration) - Method in class org.kiwiproject.net.SocketChecker
-
Check whether a
Socketcan be opened on the specified host and port, with the specified timeout. - canConnectViaSocket(Pair<String, Integer>) - Method in class org.kiwiproject.net.SocketChecker
-
Check whether a
Socketcan be opened on the specified host and port. - canConnectViaSocket(Pair<String, Integer>, Duration) - Method in class org.kiwiproject.net.SocketChecker
-
Check whether a
Socketcan be opened on the specified host and port, with the specified timeout. - 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
Runnablethat 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
IllegalArgumentExceptionif it is null, empty, or blank. - checkArgumentNotBlank(String, String) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures that the string passed as a parameter to the calling method is not null, empty or blank, throwing an
IllegalArgumentExceptionif it is null, empty, or blank. - checkArgumentNotBlank(String, String, Object...) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures that the string passed as a parameter to the calling method is not null, empty or blank, throwing an
IllegalArgumentExceptionif it is null, empty, or blank. - checkArgumentNotNull(T) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null, throwing an
IllegalArgumentExceptionif null. - checkArgumentNotNull(T, String) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null, throwing an
IllegalArgumentExceptionif null. - checkArgumentNotNull(T, String, Object...) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null, throwing an
IllegalArgumentExceptionif null. - 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
Closeableunconditionally. - closeQuietly(Closeable...) - Static method in class org.kiwiproject.io.KiwiIO
-
Closes a
Closeableunconditionally. - closeQuietly(XMLStreamReader) - Static method in class org.kiwiproject.io.KiwiIO
-
Closes an
XMLStreamReaderunconditionally. - closeQuietly(XMLStreamWriter) - Static method in class org.kiwiproject.io.KiwiIO
-
Closes an
XMLStreamWriterunconditionally. - 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
ObjectMapperto read and write timestamps as milliseconds. - configureJdkWebService(Class<T>, BindingProvider, String, SSLSocketFactory, int, int) - Static method in class org.kiwiproject.jaxws.KiwiJaxWs
-
Configure a JDK (e.g.
- configureJdkWebServiceConnectTimeout(BindingProvider, int) - Static method in class org.kiwiproject.jaxws.KiwiJaxWs
-
Configure a JDK (e.g.
- configureJdkWebServiceDefaultConnectTimeout(BindingProvider) - Static method in class org.kiwiproject.jaxws.KiwiJaxWs
-
Configure a JDK (e.g.
- configureJdkWebServiceDefaultReadTimeout(BindingProvider) - Static method in class org.kiwiproject.jaxws.KiwiJaxWs
-
Configure a JDK (e.g.
- configureJdkWebServiceEndpointAddress(BindingProvider, String) - Static method in class org.kiwiproject.jaxws.KiwiJaxWs
-
Configure a JDK (e.g.
- configureJdkWebServiceEndpointAddress(BindingProvider, URI) - Static method in class org.kiwiproject.jaxws.KiwiJaxWs
-
Configure a JDK (e.g.
- configureJdkWebServiceReadTimeout(BindingProvider, int) - Static method in class org.kiwiproject.jaxws.KiwiJaxWs
-
Configure a JDK (e.g.
- configureJdkWebServiceSslSocketFactory(BindingProvider, SSLSocketFactory) - Static method in class org.kiwiproject.jaxws.KiwiJaxWs
-
Configure a JDK (e.g.
- configureJdkWebServiceWithDefaultTimeouts(Class<T>, BindingProvider, String, SSLSocketFactory) - Static method in class org.kiwiproject.jaxws.KiwiJaxWs
-
Configure a JDK (e.g.
- 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
SSLContextinstance for the given paths, passwords, and protocol, assuming that the key and trust store types areKeyStoreType.JKS. - createSslContext(String, String, String, String, String, String, String) - Static method in class org.kiwiproject.security.KiwiSecurity
-
Create a new
SSLContextinstance for the given paths, passwords, key and trust store types, and protocol. - createSslContext(String, String, String, String, String, String, String, String, String) - Static method in class org.kiwiproject.security.KiwiSecurity
-
Create a new
SSLContextinstance for the given paths, passwords, key and trust store types, key and trust manager algorithms, and protocol. - createSslContext(String, String, String, String, String, String, SSLContextProtocol) - Static method in class org.kiwiproject.security.KiwiSecurity
-
Create a new
SSLContextinstance for the given paths, passwords, and protocol, assuming that the key and trust store types areKeyStoreType.JKS. - createSslContext(String, String, String, String, SSLContextProtocol) - Static method in class org.kiwiproject.security.KiwiSecurity
-
Create a new
SSLContextinstance for the given paths, passwords, and protocol, assuming that the key and trust store types areKeyStoreType.JKS. - createUrl(String, String...) - Static method in class org.kiwiproject.net.KiwiUrls
-
Create a well-formed URL string from the given
schemeHostPortand zero or more path components. - createUrl(String, String, int) - Static method in class org.kiwiproject.net.KiwiUrls
-
Create a well-formed URL (String) from the given protocol, hostname, and port.
- createUrl(String, String, int, String) - Static method in class org.kiwiproject.net.KiwiUrls
-
Create a well-formed URL (String) from the given protocol, hostname, port and path.
- createUrlObject(String) - Static method in class org.kiwiproject.net.KiwiUrls
-
Wrapper around URL's constructor which throws a checked
MalformedURLException. - createUrlObject(String, String...) - Static method in class org.kiwiproject.net.KiwiUrls
-
Create a well-formed URL from the given
schemeHostPortand zero or more path components. - createUrlObject(String, String, int) - Static method in class org.kiwiproject.net.KiwiUrls
-
Create a well-formed URL from the given protocol, hostname, and port.
- createUrlObject(String, String, int, String) - Static method in class org.kiwiproject.net.KiwiUrls
-
Create a well-formed URL from the given protocol, hostname, port, and path.
- currentDate() - Method in class org.kiwiproject.base.DefaultEnvironment
- currentDate() - Method in interface org.kiwiproject.base.KiwiEnvironment
-
Returns the current date.
- currentInstant() - Method in class org.kiwiproject.base.DefaultEnvironment
- currentInstant() - Method in interface org.kiwiproject.base.KiwiEnvironment
-
Returns the current
Instantin the default time zone. - currentInstant(ZoneId) - Method in class org.kiwiproject.base.DefaultEnvironment
- currentInstant(ZoneId) - Method in interface org.kiwiproject.base.KiwiEnvironment
-
Returns the current
Instantin the specified time zone. - currentLocalDate() - Method in class org.kiwiproject.base.DefaultEnvironment
- currentLocalDate() - Method in interface org.kiwiproject.base.KiwiEnvironment
-
Returns the current
LocalDatein the default time zone. - currentLocalDate(ZoneId) - Method in class org.kiwiproject.base.DefaultEnvironment
- currentLocalDate(ZoneId) - Method in interface org.kiwiproject.base.KiwiEnvironment
-
Returns the current
LocalDatein the specified time zone. - currentLocalDateTime() - Method in class org.kiwiproject.base.DefaultEnvironment
- currentLocalDateTime() - Method in interface org.kiwiproject.base.KiwiEnvironment
-
Returns the current
LocalDateTimein the default time zone. - currentLocalDateTime(ZoneId) - Method in class org.kiwiproject.base.DefaultEnvironment
- currentLocalDateTime(ZoneId) - Method in interface org.kiwiproject.base.KiwiEnvironment
-
Returns the current
LocalDateTimein the specified time zone. - currentLocalTime() - Method in class org.kiwiproject.base.DefaultEnvironment
- currentLocalTime() - Method in interface org.kiwiproject.base.KiwiEnvironment
-
Returns the current
LocalTimein the default time zone. - currentLocalTime(ZoneId) - Method in class org.kiwiproject.base.DefaultEnvironment
- currentLocalTime(ZoneId) - Method in interface org.kiwiproject.base.KiwiEnvironment
-
Returns the current
LocalTimein the specified time zone. - 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
ZonedDateTimein the default time zone. - currentZonedDateTime(ZoneId) - Method in class org.kiwiproject.base.DefaultEnvironment
- currentZonedDateTime(ZoneId) - Method in interface org.kiwiproject.base.KiwiEnvironment
-
Returns the current
ZonedDateTimein the specified time zone. - currentZonedDateTimeUTC() - Method in class org.kiwiproject.base.DefaultEnvironment
- currentZonedDateTimeUTC() - Method in interface org.kiwiproject.base.KiwiEnvironment
- cycleForever(Iterable<T>) - Static method in class org.kiwiproject.collect.KiwiIterators
-
Returns a thread-safe iterator that cycles indefinitely over the elements of
iterable, base on Guava'sIterables.cycle(Iterable). - cycleForever(T...) - Static method in class org.kiwiproject.collect.KiwiIterators
-
Returns a thread-safe iterator that cycles indefinitely over the elements of
iterable, base on Guava'sIterables.cycle(Iterable).
D
- dateFrom(Instant) - Static method in class org.kiwiproject.time.KiwiDates
-
Return the
Dateconverted frominstant. - dateFromInstantMinusDays(Instant, long) - Static method in class org.kiwiproject.time.KiwiDates
- dateFromInstantMinusHours(Instant, long) - Static method in class org.kiwiproject.time.KiwiDates
- dateFromInstantMinusMinutes(Instant, long) - Static method in class org.kiwiproject.time.KiwiDates
- dateFromInstantMinusMonths(Instant, long) - Static method in class org.kiwiproject.time.KiwiDates
- dateFromInstantMinusYears(Instant, long) - Static method in class org.kiwiproject.time.KiwiDates
- dateFromInstantPlusDays(Instant, long) - Static method in class org.kiwiproject.time.KiwiDates
- dateFromInstantPlusHours(Instant, long) - Static method in class org.kiwiproject.time.KiwiDates
- dateFromInstantPlusMinutes(Instant, long) - Static method in class org.kiwiproject.time.KiwiDates
- dateFromInstantPlusMonths(Instant, long) - Static method in class org.kiwiproject.time.KiwiDates
- dateFromInstantPlusYears(Instant, long) - Static method in class org.kiwiproject.time.KiwiDates
- dateFromTimestamp(ResultSet, String) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
- dateFromTimestamp(Timestamp) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
- 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
EvictingQueueitems. - DEFAULT_PAGE_SIZE - Static variable in class org.kiwiproject.search.KiwiSearching
-
A rather opinionated value for the default page size.
- DEFAULT_PAGE_SIZE_AS_STRING - Static variable in class org.kiwiproject.search.KiwiSearching
-
The rather opinionated value for default page size as a String, in order to support web framework annotations like JAX-RS's
javax.ws.rs.DefaultValuethat 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
KiwiEnvironmentinterface. - 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
CharsetandDataFormatDetector. - detectFormatUtf8(String) - Static method in class org.kiwiproject.jackson.KiwiJacksonDataFormats
-
Detect data format of given text using UTF-8
Charset. - detectJson(String) - Method in class org.kiwiproject.json.JsonHelper
-
Use Jackson's data format detection to determine if the given content is JSON, assuming UTF-8 as the charset.
- detectJson(String, Charset) - Method in class org.kiwiproject.json.JsonHelper
-
Use Jackson's data format detection to determine if the given content is JSON.
- 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
Runnableasynchronously. - doAsync(Runnable, Executor) - Static method in class org.kiwiproject.concurrent.Async
- doAsync(Supplier<T>) - Static method in class org.kiwiproject.concurrent.Async
-
Execute the given
Supplierasynchronously to return a result, using the common fork join pool as the executor. - doAsync(Supplier<T>, Executor) - Static method in class org.kiwiproject.concurrent.Async
-
Execute the given
Supplierasynchronously to return a result, using the common fork join pool as the executor. - domain(String) - Method in class org.kiwiproject.config.EndpointConfiguration.Builder
- DOMAIN_GROUP - Static variable in class org.kiwiproject.net.KiwiUrls
- doubleValueOrNull(ResultSet, String) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Simplifies the JDBC silliness whereby getting a double value that is actually
nullreturns zero, and you have to check if the last value was actuallynullusing theResultSet.wasNull()method. - DTLS - 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.Builderstandalone, use theEndpointConfiguration.builder()method. - epochMillisFromTimestamp(ResultSet, String) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Convert the timestamp column given by
columnNamein theResultSetto milliseconds from the epoch. - epochMillisFromTimestamp(Timestamp) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Convert the given
Timestampto milliseconds from the epoch. - 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
-
Alias for
KiwiStrings.format(String, Object...). - 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
typeToFindin a stream of objects. - findFirst(Stream<?>, Class<T>, Predicate<T>) - Static method in class org.kiwiproject.collect.KiwiStreams
-
Find the first object having the given
typeToFindand matching the supplied predicate in a stream of objects. - 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
Optionalcontaining 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
- firstNonNullOrNull(T, T, T...) - Static method in class org.kiwiproject.base.KiwiObjects
-
Return the first non-null object, or
nullif all are null. - firstNonZero(int, int) - Static method in class org.kiwiproject.base.KiwiPrimitives
-
Returns the first non-zero argument, otherwise throws
IllegalArgumentExceptionif both arguments are zero. - firstNonZero(long, long) - Static method in class org.kiwiproject.base.KiwiPrimitives
-
Returns the first non-zero argument, otherwise throws
IllegalArgumentExceptionif both arguments are zero. - firstSuppliedNonNull(Supplier<T>, Supplier<T>, Supplier<T>...) - Static method in class org.kiwiproject.base.KiwiObjects
- firstSuppliedNonNullOrNull(Supplier<T>, Supplier<T>, Supplier<T>...) - Static method in class org.kiwiproject.base.KiwiObjects
-
Return the first supplied non-null object, or
nullif all 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
%sor{}intemplatewith an argument. - formatAsIsoLocalDate(TemporalAccessor) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
-
Converts the given
TemporalAccessorinto a string using theDateTimeFormatter.ISO_LOCAL_DATEformatter. - formatAsIsoLocalDate(Date, ZoneId) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
-
Converts the given
Datein the given time zone into a string using theDateTimeFormatter.ISO_LOCAL_DATEformatter. - formatAsIsoLocalDateTime(LocalDate) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
-
Converts the given
LocalDate(at the start of the day) into a string using theDateTimeFormatter.ISO_LOCAL_DATE_TIMEformatter. - formatAsIsoLocalDateTime(TemporalAccessor) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
-
Converts the given
TemporalAccessor(at the start of the day) into a string using theDateTimeFormatter.ISO_LOCAL_DATE_TIMEformatter. - formatAsIsoLocalDateTime(Date, ZoneId) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
-
Converts the given
Datein the given time zone into a string using theDateTimeFormatter.ISO_LOCAL_DATE_TIMEformatter. - formatAsIsoLocalDateTimeUTC(Date) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
-
Converts the given
Datein the UTC time zone into a string using theDateTimeFormatter.ISO_LOCAL_DATE_TIMEformatter. - formatAsIsoLocalDateUTC(Date) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
-
Converts the given
Datein the UTC time zone into a string using theDateTimeFormatter.ISO_LOCAL_DATEformatter. - formatAsIsoZonedDateTime(LocalDate, ZoneId) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
-
Converts the given
LocalDate(at the start of the day) in the given time zone into a string using theDateTimeFormatter.ISO_ZONED_DATE_TIMEformatter. - formatAsIsoZonedDateTime(LocalDateTime, ZoneId) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
-
Converts the given
LocalDateTimein the given time zone into a string using theDateTimeFormatter.ISO_ZONED_DATE_TIMEformatter. - formatAsIsoZonedDateTime(ZonedDateTime, ZoneId) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
-
Converts the given
ZonedDateTimein the given time zone into a string using theDateTimeFormatter.ISO_ZONED_DATE_TIMEformatter. - formatAsIsoZonedDateTime(Date, ZoneId) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
-
Converts the given
Datein the given time zone into a string using theDateTimeFormatter.ISO_ZONED_DATE_TIMEformatter. - formatAsIsoZonedDateTimeUTC(LocalDate) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
-
Converts the given
LocalDate(at the start of the day) in the UTC time zone into a string using theDateTimeFormatter.ISO_ZONED_DATE_TIMEformatter. - formatAsIsoZonedDateTimeUTC(LocalDateTime) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
-
Converts the given
LocalDateTimein the UTC time zone into a string using theDateTimeFormatter.ISO_ZONED_DATE_TIMEformatter. - formatAsIsoZonedDateTimeUTC(ZonedDateTime) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
-
Converts the given
ZonedDateTimein the UTC time zone into a string using theDateTimeFormatter.ISO_ZONED_DATE_TIMEformatter. - formatAsIsoZonedDateTimeUTC(Date) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
-
Converts the given
Datein the UTC time zone into a string using theDateTimeFormatter.ISO_ZONED_DATE_TIMEformatter. - formatDurationWords(long) - Static method in class org.kiwiproject.time.KiwiDurationFormatters
-
A thin wrapper around
DurationFormatUtils.formatDurationWords(long, boolean, boolean)that always suppresses leading and trailing "zero elements" because why would you want to see "0 days 7 hours 25 minutes 0 seconds" instead of just "7 hours 25 minutes"? (We cannot think of a good reason...) - formatDurationWords(Duration) - Static method in class org.kiwiproject.time.KiwiDurationFormatters
-
Formats a Dropwizard
Durationusing English words. - formatDurationWords(Duration) - Static method in class org.kiwiproject.time.KiwiDurationFormatters
-
Formats a Java
Durationusing English words. - formatGuavaStyle(String, Object...) - Static method in class org.kiwiproject.base.KiwiStrings
-
Same as
KiwiStrings.format(String, Object...)assuming Guava-style placeholders. - formatSlf4jJStyle(String, Object...) - Static method in class org.kiwiproject.base.KiwiStrings
-
Same as
KiwiStrings.format(String, Object...)assuming SLF4J-style placeholders. - formatWith(LocalDateTime, ZoneId, DateTimeFormatter) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
-
Converts the given
LocalDateTime(assuming it is in the UTC time zone) into a string using the givenDateTimeFormatter. - formatWith(LocalDateTime, ZoneId, ZoneId, DateTimeFormatter) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
-
Converts the given
LocalDateTime(assuming it is in the givenlocalZoneIdtime zone) into a string using the givenDateTimeFormatter. - formatWith(TemporalAccessor, DateTimeFormatter) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
-
Converts the given
TemporalAccessorinto a string using the givenDateTimeFormatter. - formatWith(ZonedDateTime, ZoneId, DateTimeFormatter) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
-
Converts the given
ZonedDateTimein the given time zone into a string using the givenDateTimeFormatter. - formatWith(Date, ZoneId, DateTimeFormatter) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
-
Converts the given
Datein the given time zone into a string using the givenDateTimeFormatter. - formatWithUTC(Date, DateTimeFormatter) - Static method in class org.kiwiproject.time.KiwiDateTimeFormatters
-
Converts the given
Datein the UTC time zone into a string using the givenDateTimeFormatter. - 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, orJacksonDataFormat.UNKNOWNif 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
hostPortStringassuming formathost:port - from(String, String) - Static method in class org.kiwiproject.net.KiwiInternetAddresses.SimpleHostInfo
-
Create instance from host name and ip address
- from(String, String, int) - Static method in class org.kiwiproject.net.SimpleHostAndPort
-
Parse
hostPortStringassuming formathost:port; if it is blank, use the specifieddefaultHostanddefaultPortvalues to create a linkSimpleHostAndPort. - 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 newTlsContextConfiguration. - 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
Optionalif 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
EndpointConfigurationwith a path ending with the givenpathEnding, throwing an exception if not found. - getEndpointByPathEndingOrEmpty(String) - Method in class org.kiwiproject.config.SecureEndpointsConfiguration
-
Finds the
EndpointConfigurationwith a path ending with the givenpathEnding, returning an empty Optional if not found. - getEndpointByTag(String) - Method in class org.kiwiproject.config.SecureEndpointsConfiguration
-
Finds the
EndpointConfigurationwith the given tag, throwing an exception if not found. - getEndpointByTagOrEmpty(String) - Method in class org.kiwiproject.config.SecureEndpointsConfiguration
-
Finds the
EndpointConfigurationwith the given tag, returning an empty Optional if not found. - 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
KeyStoreand key store password using the default algorithm. - getKeyManagers(KeyStore, String, String) - Static method in class org.kiwiproject.security.KiwiSecurity
-
Get the key managers for the given
KeyStore, key store password, and algorithm. - getKeyStore(String, String, String) - Static method in class org.kiwiproject.security.KiwiSecurity
-
Return an
Optionalcontaining aKeyStorefor the givenKeyStoreType, path, and password, or an emptyOptionalif the arguments are (both) null. - getKeyStore(KeyStoreType, String, String) - Static method in class org.kiwiproject.security.KiwiSecurity
-
Return an
Optionalcontaining aKeyStorefor the givenKeyStoreType, path, and password, or an emptyOptionalif 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
-
Get local host as a
KiwiInternetAddresses.SimpleHostInfo. - getLocalHostInfo(KiwiInternetAddresses.SimpleHostInfo) - Static method in class org.kiwiproject.net.KiwiInternetAddresses
-
Get local host as a
KiwiInternetAddresses.SimpleHostInfo. - getLockWaitDuration() - Method in class org.kiwiproject.concurrent.TryLocker
-
Return the maximum lock wait time as a
Duration. - 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
Monthfrominstant. - 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
Optionalif the path could not be obtained for any reason. - getPath(Object, String, TypeReference<T>) - Method in class org.kiwiproject.json.JsonHelper
-
Get the value at the given path in the object, with the type as the given target class.
- getPath(Object, String, Class<T>) - Method in class org.kiwiproject.json.JsonHelper
-
Get the value at the given path in the object, with the type as the given target class.
- getPath(String, String, TypeReference<T>) - Method in class org.kiwiproject.json.JsonHelper
-
Get the value at the given path in the JSON, with the type as the given target class.
- getPath(String, String, Class<T>) - Method in class org.kiwiproject.json.JsonHelper
-
Get the value at the given path in the JSON, with the type as the given target class.
- getPathComponents(Class<?>) - Static method in class org.kiwiproject.jar.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
Processeswill 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
SSLContextinstance for the key and trust store properties and protocol that thisSimpleSSLContextFactoryinstance 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
PaginatedResultinstance 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
pathto build a URI as a String. - getUriObject() - Method in class org.kiwiproject.config.EndpointConfiguration
-
Uses this endpoint's
pathto build aURI. - 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
HostAndPortfrom the given URL. - hostAndPortFrom(URL) - Static method in class org.kiwiproject.net.KiwiInternetAddresses
-
Returns a
HostAndPortfrom 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
optionalis present, otherwise throws aRuntimeExceptionthat is created by the givenSupplier. - ifPresentOrElseThrowChecked(Optional<T>, Consumer<? super T>, Supplier<E>) - Static method in class org.kiwiproject.base.Optionals
-
Takes an action if the
optionalis present, otherwise throws a checked exception that is created by the givenSupplier. - IGNORE_NULLS - 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
- instantFromTimestamp(Timestamp) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
- intValueOrNull(ResultSet, String) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Simplifies the JDBC silliness whereby getting an int value that is actually
nullreturns zero, and you have to check if the last value was actuallynullusing theResultSet.wasNull()method. - 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 formatmatchFormat. - isHigherOrSameVersion(String, String) - Static method in class org.kiwiproject.base.Versions
-
Returns true if the "left" version is higher than or equal to the "right" version.
- 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
valueis 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
JsonSerializerthat serializesJAXBElementobjects, 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
DBIinstances. - Jdbi2Builders() - Constructor for class org.kiwiproject.dropwizard.jdbi2.Jdbi2Builders
- Jdbi3Builders - Class in org.kiwiproject.dropwizard.jdbi3
-
Utilities for building Dropwizard-managed
Jdbiversion 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
ObjectMappercreated usingJsonHelper.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
SSLContextandSSLSocketFactoryfrom this configuration. - keyExistsWithNullValue(Map<K, V>, K) - Static method in class org.kiwiproject.collect.KiwiMaps
-
Returns
trueif and only if (1)mapis not null or empty, (2)mapcontains the givenkey, and (3) the value associated with the given key isnull. - keyStorePassword(String) - Method in class org.kiwiproject.config.SecureEndpointsConfiguration.Builder
- keyStorePassword(String) - Method in class org.kiwiproject.config.SSLContextConfiguration.Builder
- keyStorePassword(String) - Method in class org.kiwiproject.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
KeyStoreusingKeyStore.getInstance(String). - kill(long, String, long, TimeUnit, KillTimeoutAction) - Static method in class org.kiwiproject.base.process.Processes
-
Kill a process, waiting up to
timeoutin the specifiedTimeUnitfor it to terminate. - kill(long, String, long, TimeUnit, KillTimeoutAction) - Method in class org.kiwiproject.base.process.ProcessHelper
-
Kill a process, waiting up to
timeoutin the specifiedTimeUnitfor it to terminate. - kill(long, String, KillTimeoutAction) - Static method in class org.kiwiproject.base.process.Processes
-
Kill a process, waiting up to
Processes.DEFAULT_KILL_TIMEOUT_SECONDSseconds for it to terminate. - kill(long, String, KillTimeoutAction) - Method in class org.kiwiproject.base.process.ProcessHelper
-
Kill a process, waiting up to
Processes.DEFAULT_KILL_TIMEOUT_SECONDSseconds for it to terminate. - kill(long, KillSignal, long, TimeUnit, KillTimeoutAction) - Static method in class org.kiwiproject.base.process.Processes
-
Kill a process, waiting up to
timeoutin the specifiedTimeUnitfor it to terminate. - kill(long, KillSignal, long, TimeUnit, KillTimeoutAction) - Method in class org.kiwiproject.base.process.ProcessHelper
-
Kill a process, waiting up to
timeoutin the specifiedTimeUnitfor it to terminate. - kill(long, KillSignal, KillTimeoutAction) - Static method in class org.kiwiproject.base.process.Processes
-
Kill a process, waiting up to
Processes.DEFAULT_KILL_TIMEOUT_SECONDSseconds for it to terminate. - kill(long, KillSignal, KillTimeoutAction) - Method in class org.kiwiproject.base.process.ProcessHelper
-
Kill a process, waiting up to
Processes.DEFAULT_KILL_TIMEOUT_SECONDSseconds for it to terminate. - killForcibly(Process, long, TimeUnit) - Static method in class org.kiwiproject.base.process.Processes
-
Equivalent to a
kill -9(i.e. - 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
Collectorimplementations - 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
Dateclass leaves, ahem, much to be desired, but there are still (unfortunately) many classes, interfaces, and libraries that use it and probably won't be changed soon or ever. - KiwiDates() - Constructor for class org.kiwiproject.time.KiwiDates
- KiwiDateTimeConverters - Class in org.kiwiproject.time
-
A collection of small utility methods to convert between legacy
Dateand 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
Dateand the Java 8 date/time API classes injava.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
Dateand the Java 8 date/time API classes injava.time. - KiwiDateTimeParsers() - Constructor for class org.kiwiproject.time.KiwiDateTimeParsers
- KiwiDeprecated - Annotation Type in org.kiwiproject.base
-
A Kiwi-flavored version of
Deprecatedthat includes thesinceattribute added in JDK 9 plus additional attributes we think are useful. - KiwiDeprecated.Severity - Enum in org.kiwiproject.base
- KiwiDoubles - Class in org.kiwiproject.base
-
Doubleutilities. - KiwiDoubles() - Constructor for class org.kiwiproject.base.KiwiDoubles
- KiwiDropwizardDurations - Class in org.kiwiproject.dropwizard.util
-
Utility that maps Dropwizard
Durationto JavaDuration - 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
EvictingQueueinstances. - 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
InetAddressand 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
Iteratorinstances. - 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
Listinstances. - KiwiLists() - Constructor for class org.kiwiproject.collect.KiwiLists
- KiwiMaps - Class in org.kiwiproject.collect
-
Utility methods for working with
Mapinstances - KiwiMaps() - Constructor for class org.kiwiproject.collect.KiwiMaps
- KiwiMultimapCollectors - Class in org.kiwiproject.stream
-
A
Collectorthat can collect into a GuavaMultimap. - KiwiMultimapCollectors() - Constructor for class org.kiwiproject.stream.KiwiMultimapCollectors
- KiwiObjects - Class in org.kiwiproject.base
-
Utilities for any object which are not in
ObjectsorMoreObjects. - KiwiObjects() - Constructor for class org.kiwiproject.base.KiwiObjects
- KiwiPaths - Class in org.kiwiproject.io
-
Static utilities related to
Pathinstances. - 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.primitivespackage. - 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
Propertiesinstances. - 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, andTrustManager. - KiwiSecurity() - Constructor for class org.kiwiproject.security.KiwiSecurity
- KiwiSets - Class in org.kiwiproject.collect
-
Utility methods for working with
Setinstances. - 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
Streamor Guava'sStreams. - 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
Throwableinstances. - KiwiThrowables() - Constructor for class org.kiwiproject.base.KiwiThrowables
- KiwiThrowables.ThrowableInfo - Class in org.kiwiproject.base
-
Immutable "struct" that contains information from a
Throwableinstance. - 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
Optionalcontaining 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
originalsupplier in a log replacement value. - LazyLogParameterSupplier - Class in org.kiwiproject.logging
-
Provides lazy evaluation of one or more replacement parameters in a logging statement, for example when using SLF4J.
- 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
LocalDateTimeinto milliseconds since the epoch in the UTC zone by default, or in a zone specified in the constructor. - LocalDateTimeEpochTimeSerializer() - Constructor for class org.kiwiproject.jackson.ser.LocalDateTimeEpochTimeSerializer
-
Create a new instance that serializes in the UTC time zone.
- LocalDateTimeEpochTimeSerializer(ZoneId) - Constructor for class org.kiwiproject.jackson.ser.LocalDateTimeEpochTimeSerializer
-
Create a new instance that serializes in the specified time zone.
- localDateTimeFromTimestamp(ResultSet, String) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
- localDateTimeFromTimestamp(Timestamp) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Returns a
LocalDateTimefrom the givenTimestamp. - LocalPortChecker - Class in org.kiwiproject.net
-
Utility to check port availability.
- LocalPortChecker() - Constructor for class org.kiwiproject.net.LocalPortChecker
- LoggingDeserializationProblemHandler - Class in org.kiwiproject.json
-
A Jackson
DeserializationProblemHandlerthat logs and keeps track of unknown properties during JSON deserialization. - LoggingDeserializationProblemHandler() - Constructor for class org.kiwiproject.json.LoggingDeserializationProblemHandler
-
Create a new instance with a no-op
unknownPropertyConsumer. - LoggingDeserializationProblemHandler(BiConsumer<String, Class<?>>) - Constructor for class org.kiwiproject.json.LoggingDeserializationProblemHandler
-
Create a new instance with the given
unknownPropertyConsumer. - 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
nullreturns zero, and you have to check if the last value was actuallynullusing theResultSet.wasNull()method.
M
- manage(LifecycleEnvironment, Runnable, Runnable) - Static method in class org.kiwiproject.dropwizard.lifecycle.KiwiDropwizardLifecycles
-
Creates a Dropwizard
Managedwhose start action isstartActionand whose stop action isstopAction, and attaches it to the given Dropwizardlifecycle. - ManagedCloseable - Class in org.kiwiproject.dropwizard.lifecycle
-
A Dropwizard
Managedthat manages a singleCloseableinstance. - ManagedCloseable(Closeable) - Constructor for class org.kiwiproject.dropwizard.lifecycle.ManagedCloseable
- MatchSpliterator - Class in org.kiwiproject.regex
- 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)
destinationNodewith values fromupdateNode. - mergeObjects(T, Object, JsonHelper.MergeOption...) - Method in class org.kiwiproject.json.JsonHelper
-
Merge values in
updateObjectinto the original object, using the given merge options. - message - Variable in class org.kiwiproject.base.KiwiThrowables.ThrowableInfo
- 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
- minusDays(Instant, long) - Static method in class org.kiwiproject.time.KiwiInstants
- minusHours(Instant, long) - Static method in class org.kiwiproject.time.KiwiInstants
- minusMinutes(Instant, long) - Static method in class org.kiwiproject.time.KiwiInstants
- minusMonths(Instant, long) - Static method in class org.kiwiproject.time.KiwiInstants
- minusUsingZDT(Instant, long, TemporalUnit) - Static method in class org.kiwiproject.time.KiwiInstants
-
Subtract any given
amountToSubtractof typeTemporalUnitfrom the given instant. - minusYears(Instant, long) - Static method in class org.kiwiproject.time.KiwiInstants
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
ByteArrayInputStreamcontaining the givenlinesseparated by theSystem.lineSeparator(). - newConcurrentHashMap(Object...) - Static method in class org.kiwiproject.collect.KiwiMaps
-
Creates a mutable,
ConcurrentHashMapinstance containing key/value pairs as parsed in pairs from the items argument. - newDropwizardJsonHelper() - Static method in class org.kiwiproject.json.JsonHelper
- newDropwizardObjectMapper() - Static method in class org.kiwiproject.json.JsonHelper
-
Creates a new
ObjectMapperconfigured using the DropwizardJackson.newObjectMapper()factory method. - newHashMap(Object...) - Static method in class org.kiwiproject.collect.KiwiMaps
-
Creates a mutable,
HashMapinstance containing key/value pairs as parsed in pairs from the items argument. - newJSONBObject(String) - Static method in class org.kiwiproject.jdbc.postgres.KiwiPostgres
-
Creates a new
PGobjectof typeKiwiPostgres.JSONB_TYPEwith teh given JSON value. - newJSONObject(String) - Static method in class org.kiwiproject.jdbc.postgres.KiwiPostgres
-
Creates a new
PGobjectof typeKiwiPostgres.JSON_TYPEwith the given JSON value. - NEWLINE - Static variable in class org.kiwiproject.base.KiwiStrings
-
A newline character.
- newLinkedHashMap(Object...) - Static method in class org.kiwiproject.collect.KiwiMaps
-
Creates a mutable,
LinkedHashMapinstance containing key/value pairs as parsed in pairs from 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
PGobjectof the specified type and with the given value. - newProperties(Object...) - Static method in class org.kiwiproject.collect.KiwiProperties
-
Crates a mutable
Propertiesinstance by parsing the items argument in pairs. - newProperties(String...) - Static method in class org.kiwiproject.collect.KiwiProperties
-
Creates a mutable
Propertiesinstance by parsing the items argument in pairs. - newProperties(List<String>) - Static method in class org.kiwiproject.collect.KiwiProperties
-
Creates a mutable
Propertiesinstance by parsing the items argument in pairs from the list. - newProperties(Map<String, String>) - Static method in class org.kiwiproject.collect.KiwiProperties
-
Makes creating a
Propertiesinstance from aMapa one-liner. - newPropertiesFromStringPairs(List<List<String>>) - Static method in class org.kiwiproject.collect.KiwiProperties
-
Creates a mutable
Propertiesinstance from each key/value pair list inside the outer list. - newTreeMap(Object...) - Static method in class org.kiwiproject.collect.KiwiMaps
-
Creates a mutable,
TreeMapinstance 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
- 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
Datevalue in a null-safe manner by using thePreparedStatement.setNull(int, int)method fornullvalues. - nullSafeSetDateAsTimestamp(PreparedStatement, int, Date, int) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Sets the
Datevalue in a null-safe manner by using thePreparedStatement.setNull(int, int)method fornullvalues. - nullSafeSetDouble(PreparedStatement, int, Double) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Sets the
Doublevalue in a null-safe manner by using thePreparedStatement.setNull(int, int)method fornullvalues. - nullSafeSetDouble(PreparedStatement, int, Double, int) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Sets the
Doublevalue in a null-safe manner by using thePreparedStatement.setNull(int, int)method fornullvalues. - nullSafeSetInt(PreparedStatement, int, Integer) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Sets the
Integervalue in a null-safe manner by using thePreparedStatement.setNull(int, int)method fornullvalues. - nullSafeSetInt(PreparedStatement, int, Integer, int) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Sets the
Integervalue in a null-safe manner by using thePreparedStatement.setNull(int, int)method fornullvalues. - nullSafeSetLong(PreparedStatement, int, Long) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Sets the
Longvalue in a null-safe manner by using thePreparedStatement.setNull(int, int)method fornullvalues. - nullSafeSetLong(PreparedStatement, int, Long, int) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Sets the
Longvalue in a null-safe manner by using thePreparedStatement.setNull(int, int)method fornullvalues. - nullSafeSetString(PreparedStatement, int, String) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Sets the
Stringvalue in a null-safe manner by using thePreparedStatement.setNull(int, int)method fornullvalues. - nullSafeSetString(PreparedStatement, int, String, int) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Sets the
Stringvalue in a null-safe manner by using thePreparedStatement.setNull(int, int)method fornullvalues. - nullSafeSetTimestamp(PreparedStatement, int, Timestamp) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Sets the
Timestampvalue in a null-safe manner by using thePreparedStatement.setNull(int, int)method fornullvalues. - nullSafeSetTimestamp(PreparedStatement, int, Timestamp, int) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Sets the
Timestampvalue in a null-safe manner by using thePreparedStatement.setNull(int, int)method fornullvalues. - 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
- 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
DateusingDateTimeFormatter.ISO_ZONED_DATE_TIMEas the formatter. - parseAsLocalDate(String) - Static method in class org.kiwiproject.time.KiwiDateTimeParsers
-
Converts the given date string into a
LocalDateusingDateTimeFormatter.ISO_LOCAL_DATEas the formatter. - parseAsLocalDate(String, DateTimeFormatter) - Static method in class org.kiwiproject.time.KiwiDateTimeParsers
-
Converts the given date string into a
LocalDateusing the given formatter. - parseAsLocalDateTime(String) - Static method in class org.kiwiproject.time.KiwiDateTimeParsers
-
Converts the given date/time string into a
LocalDateTimeusingDateTimeFormatter.ISO_LOCAL_DATE_TIMEas the formatter. - parseAsLocalDateTime(String, DateTimeFormatter) - Static method in class org.kiwiproject.time.KiwiDateTimeParsers
-
Converts the given date/time string into a
LocalDateTimeusing the given formatter. - parseAsZonedDateTime(String) - Static method in class org.kiwiproject.time.KiwiDateTimeParsers
-
Converts the given date/time string into a
ZonedDateTimeusingDateTimeFormatter.ISO_ZONED_DATE_TIMEas the formatter. - parseAsZonedDateTime(String, DateTimeFormatter) - Static method in class org.kiwiproject.time.KiwiDateTimeParsers
-
Converts the given date/time string into a
ZonedDateTimeusing the specifiedDateTimeFormatter. - 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 aPath - 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
pgrepwith the specified full command. - pgrep(String) - Method in class org.kiwiproject.base.process.ProcessHelper
-
Does a
pgrepwith the specified full command. - pgrep(String, String) - Static method in class org.kiwiproject.base.process.Processes
-
Does a
pgrepwith the specified full command. - pgrep(String, String) - Method in class org.kiwiproject.base.process.ProcessHelper
-
Does a
pgrepwith the specified full command. - pgrepList(String) - Static method in class org.kiwiproject.base.process.Processes
-
Does a
pgrepwith the specified full command. - pgrepList(String) - Method in class org.kiwiproject.base.process.ProcessHelper
-
Does a
pgrepwith the specified full command. - pgrepList(String, String) - Static method in class org.kiwiproject.base.process.Processes
-
Does a
pgrepwith the specified full command. - pgrepList(String, String) - Method in class org.kiwiproject.base.process.ProcessHelper
-
Does a
pgrepwith the specified full command. - pgrepParsedList(String) - Static method in class org.kiwiproject.base.process.Processes
-
Does a
pgrepfor the specified full command, returning a list of pairs containing the process id (pid) and the matched command line. - pgrepParsedList(String) - Method in class org.kiwiproject.base.process.ProcessHelper
-
Does a
pgrepfor the specified full command, returning a list of pairs containing the process id (pid) and the matched command line. - pgrepParsedList(String, String) - Static method in class org.kiwiproject.base.process.Processes
-
Does a
pgrepfor the specified full command, returning a list of pairs containing the process id (pid) and the matched command line. - pgrepParsedList(String, String) - Method in class org.kiwiproject.base.process.ProcessHelper
-
Does a
pgrepfor the specified full command, returning a list of pairs containing the process id (pid) and the matched command line. - pgrepWithSingleResult(String) - Static method in class org.kiwiproject.base.process.Processes
-
Does a
pgrepagainst the specified full command, expecting a single result, or no result. - pgrepWithSingleResult(String) - Method in class org.kiwiproject.base.process.ProcessHelper
-
Does a
pgrepagainst the specified full command, expecting a single result, or no result. - pgrepWithSingleResult(String, String) - Static method in class org.kiwiproject.base.process.Processes
-
Does a
pgrepagainst the specified full command, expecting a single result for a specific user, or no result. - pgrepWithSingleResult(String, String) - Method in class org.kiwiproject.base.process.ProcessHelper
-
Does a
pgrepagainst the specified full command, expecting a single result for a specific user, or no result. - PKCS11 - 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
- plusHours(Instant, long) - Static method in class org.kiwiproject.time.KiwiInstants
- plusMinutes(Instant, long) - Static method in class org.kiwiproject.time.KiwiInstants
- plusMonths(Instant, long) - Static method in class org.kiwiproject.time.KiwiInstants
- plusUsingZDT(Instant, long, TemporalUnit) - Static method in class org.kiwiproject.time.KiwiInstants
-
Add any given
amountToAddof typeTemporalUnitfrom the given instant. - plusYears(Instant, long) - Static method in class org.kiwiproject.time.KiwiInstants
- port(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
pathand, 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
- 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
-
Options for
PropertyMaskingSafePropertyWriterandKiwiJacksonSerializers. - 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
BeanPropertyWriterusing the given list of (String) regular expressions that define the properties which should be masked. - PropertyMaskingSafePropertyWriter(BeanPropertyWriter, PropertyMaskingOptions) - Constructor for class org.kiwiproject.json.PropertyMaskingSafePropertyWriter
-
Construct new instance wrapping the given
BeanPropertyWriterusing the givenPropertyMaskingOptionsto define properties to be masked, as well as replacement text for masked fields and serialization errors. - protocol(String) - Method in class org.kiwiproject.config.SecureEndpointsConfiguration.Builder
- protocol(String) - Method in class org.kiwiproject.config.SSLContextConfiguration.Builder
- protocol(String) - Method in class org.kiwiproject.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
- readLinesFromErrorStreamOf(Process) - Static method in class org.kiwiproject.io.KiwiIO
- readLinesFromErrorStreamOf(Process, Charset) - Static method in class org.kiwiproject.io.KiwiIO
- readLinesFromInputStreamOf(Process) - Static method in class org.kiwiproject.io.KiwiIO
- readLinesFromInputStreamOf(Process, Charset) - Static method in class org.kiwiproject.io.KiwiIO
- 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
commaDelimitedUrlsfor its domains, and if found, replaces all entries withreplacmentDomain. - requireDouble(BigDecimal) - Static method in class org.kiwiproject.base.KiwiBigDecimals
-
Converts the given
BigDecimalto 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
IllegalArgumentExceptionif blank or returning the String otherwise. - requireNotBlank(String, String) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures that a String passed as a parameter to the calling method is not blank, throwing and
IllegalArgumentExceptionif blank or returning the String otherwise. - requireNotBlank(String, String, Object...) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures that a String passed as a parameter to the calling method is not blank, throwing and
IllegalArgumentExceptionif blank or returning the String otherwise. - requireNotNull(T) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null, throwing and
IllegalArgumentExceptionif null or returning the (non null) reference otherwise. - requireNotNull(T, String, Object...) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null, throwing and
IllegalArgumentExceptionif null or returning the (non null) reference otherwise. - requireNotNullElse(T, T) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Returns the first argument if it is not
null, otherwise the second argument (which must not benull). - requireNotNullElseGet(T, Supplier<? extends T>) - Static method in class org.kiwiproject.base.KiwiPreconditions
-
Returns the first argument if it is not
null, otherwise the value supplied by theSupplier, which must not benull. - 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
- 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
Runnabletask using the provided lock key and associated a READ lock. - runWithWriteLock(String, Runnable) - Method in class org.kiwiproject.concurrent.StripedLock
-
Execute a
Runnabletask using the provided lock key and associated a WRITE lock.
S
- scheduleCleanupUsing(Environment) - Method in class org.kiwiproject.dropwizard.config.TimeBasedDirectoryCleanerConfig
-
Schedules directory cleanup and registers a
TimeBasedDirectoryCleanerHealthCheckhealth check using the givenEnvironment, returning theTimeBasedDirectoryCleanerinstance that was scheduled. - scheduleCleanupUsing(ScheduledExecutorService) - Method in class org.kiwiproject.dropwizard.config.TimeBasedDirectoryCleanerConfig
-
Schedules directory cleanup using the given
ScheduledExecutorService, returning theTimeBasedDirectoryCleanerinstance that was scheduled. - scheme(String) - Method in class org.kiwiproject.config.EndpointConfiguration.Builder
- SCHEME_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
Supplierinstances. - 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
-
Synonym for
KiwiLists.penultimate(List). - SecureEndpointsConfiguration - Class in org.kiwiproject.config
-
Configuration for secure REST endpoints, including the configuration from an
SSLContextConfigurationas well as adding a collection ofEndpointConfigurationinstances. - SecureEndpointsConfiguration() - Constructor for class org.kiwiproject.config.SecureEndpointsConfiguration
-
Create instance with empty collection of endpoints.
- SecureEndpointsConfiguration.Builder - Class in org.kiwiproject.config
-
Builder class for
SecureEndpointsConfiguration. - 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
HostAndPortbut 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
SSLContextinstances. - SimpleSSLContextFactory(String, String, String, String, String) - Constructor for class org.kiwiproject.security.SimpleSSLContextFactory
- SimpleSSLContextFactory(String, String, String, String, String, boolean) - Constructor for class org.kiwiproject.security.SimpleSSLContextFactory
-
Create a new
SimpleSSLContextFactory. - SimpleSSLContextFactory.Builder - Class in org.kiwiproject.security
-
A builder class for
SimpleSSLContextFactory. - since() - 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
timeoutandTimeUnit. - sleepQuietly(long) - Method in class org.kiwiproject.base.DefaultEnvironment
- sleepQuietly(long) - Method in interface org.kiwiproject.base.KiwiEnvironment
-
Sleep for the given number of milliseconds.
- sleepQuietly(long, int) - Method in class org.kiwiproject.base.DefaultEnvironment
- sleepQuietly(long, int) - Method in interface org.kiwiproject.base.KiwiEnvironment
-
Sleep for the given number of milliseconds plus nanoseconds.
- sleepQuietly(long, TimeUnit) - Method in class org.kiwiproject.base.DefaultEnvironment
- sleepQuietly(long, TimeUnit) - Method in interface org.kiwiproject.base.KiwiEnvironment
-
Sleep for a specific amount of time given by the specified
timeoutandTimeUnit. - SocketChecker - Class in org.kiwiproject.net
-
Utilities for checking sockets.
- SocketChecker() - Constructor for class org.kiwiproject.net.SocketChecker
- sorted(List<T>) - Static method in class org.kiwiproject.collect.KiwiLists
-
Given a list, sort it according to the natural order, returning a new list.
- sorted(List<T>, Comparator<T>) - Static method in class org.kiwiproject.collect.KiwiLists
-
Given a list, sort it according to the provided
Comparatorreturning a new list. - Sorted - Interface in org.kiwiproject.search
-
Simple contract for search results that are sorted in a specific direction.
- SPACE - Static variable in class org.kiwiproject.base.KiwiStrings
-
A space character.
- splitOnCommas(CharSequence) - Static method in class org.kiwiproject.base.KiwiStrings
-
Convenience method that splits the given comma-delimited
CharSequence, omitting any empty strings and trimming leading and trailing whitespace. - splitToList(CharSequence) - Static method in class org.kiwiproject.base.KiwiStrings
-
Splits the given
CharSequence, using aKiwiStrings.SPACEas the separator character, omitting any empty strings and trimming leading and trailing whitespace. - splitToList(CharSequence, char) - Static method in class org.kiwiproject.base.KiwiStrings
-
Splits the given
CharSequence, using the specified separator character, omitting any empty strings and trimming leading and trailing whitespace. - splitToList(CharSequence, char, int) - Static method in class org.kiwiproject.base.KiwiStrings
-
Splits the given
CharSequence, using the specified separator character, into the maximum number of groups specified omitting any empty strings and trimming leading and trailing whitespace. - splitToList(CharSequence, String) - Static method in class org.kiwiproject.base.KiwiStrings
-
Splits the given
CharSequence, using the specified separator string, omitting any empty strings and trimming leading and trailing whitespace. - splitToList(CharSequence, String, int) - Static method in class org.kiwiproject.base.KiwiStrings
-
Splits the given
CharSequence, using the specified separator string, into the maximum number of groups specified omitting any empty strings and trimming leading and trailing whitespace. - splitWithTrimAndOmitEmpty(CharSequence) - Static method in class org.kiwiproject.base.KiwiStrings
-
Splits the given
CharSequence, using aKiwiStrings.SPACEas the separator character, omitting any empty strings and trimming leading and trailing whitespace. - splitWithTrimAndOmitEmpty(CharSequence, char) - Static method in class org.kiwiproject.base.KiwiStrings
-
Splits the given
CharSequence, using the specified separator character, omitting any empty strings and trimming leading and trailing whitespace. - splitWithTrimAndOmitEmpty(CharSequence, String) - Static method in class org.kiwiproject.base.KiwiStrings
-
Splits the given
CharSequence, using the specified separator string, omitting any empty strings and trimming leading and trailing whitespace. - SqlOrder - Enum in org.kiwiproject.jdbc
-
Simple enum that represents the values for SQL
ORDER BYclauses. - SSLContextConfiguration - Class in org.kiwiproject.config
-
Configuration for standard/common properties required for secure (i.e.
- SSLContextConfiguration() - Constructor for class org.kiwiproject.config.SSLContextConfiguration
- SSLContextConfiguration.Builder - Class in org.kiwiproject.config
-
A builder class for
SSLContextConfiguration. - SSLContextException - Exception in org.kiwiproject.security
-
Exception thrown by Kiwi when error occur creating various security-related objects such as
SSLContext,KeyStore,KeyManager, andTrustManager. - SSLContextException() - Constructor for exception org.kiwiproject.security.SSLContextException
- SSLContextException(String) - Constructor for exception org.kiwiproject.security.SSLContextException
- SSLContextException(String, Throwable) - Constructor for exception org.kiwiproject.security.SSLContextException
- SSLContextException(Throwable) - Constructor for exception org.kiwiproject.security.SSLContextException
- SSLContextProtocol - Enum 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'sclosemethod. - stream() - Method in class org.kiwiproject.regex.MatchSpliterator
-
Create a
StreamofMatchResultfrom this instance. - stream(String, String) - Static method in class org.kiwiproject.regex.MatchSpliterator
-
Create a
StreamofMatchResultusing the given regular expression and String input. - stream(Matcher) - Static method in class org.kiwiproject.regex.MatchSpliterator
- stream(Pattern, String) - Static method in class org.kiwiproject.regex.MatchSpliterator
- streamLinesFrom(InputStream, Charset) - Static method in class org.kiwiproject.io.KiwiIO
-
Return a
StreamofStrings from the givenInputStreamusing the specifiedCharsetfor the String encoding. - streamLinesFromErrorStreamOf(Process) - Static method in class org.kiwiproject.io.KiwiIO
- streamLinesFromErrorStreamOf(Process, Charset) - Static method in class org.kiwiproject.io.KiwiIO
- streamLinesFromInputStreamOf(Process) - Static method in class org.kiwiproject.io.KiwiIO
- streamLinesFromInputStreamOf(Process, Charset) - Static method in class org.kiwiproject.io.KiwiIO
- StripedLock - Class in org.kiwiproject.concurrent
-
StripedLockprovides simple lambdas for encapsulating a block of code with a read/write lock. - StripedLock() - Constructor for class org.kiwiproject.concurrent.StripedLock
-
Creates a new
StripedLock, usingStripedLock.DEFAULT_KEY_WHEN_BLANKas the number of stripes. - StripedLock(int) - Constructor for class org.kiwiproject.concurrent.StripedLock
-
Creates a new
StripedLockwith the given number of stripes. - StripedLock(Striped<ReadWriteLock>) - Constructor for class org.kiwiproject.concurrent.StripedLock
-
Create a new
StripedLockusing the givenReadWriteLock. - stripTrailingSlash(String) - Static method in class org.kiwiproject.net.KiwiUrls
-
Trims
urland, if present, strips the trailing slash - stripTrailingSlashes(List<String>) - Static method in class org.kiwiproject.net.KiwiUrls
-
Trims each URL in
urlsand strips any trailing slashes - SUB_DOMAIN_GROUP - Static variable in class org.kiwiproject.net.KiwiUrls
- 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
Supplierusing the provided lock key and associated READ lock. - supplyWithWriteLock(String, Supplier<T>) - Method in class org.kiwiproject.concurrent.StripedLock
-
Execute a
Supplierusing the provided lock key and associated WRITE lock. - synchronizedEvictingQueue() - Static method in class org.kiwiproject.collect.KiwiEvictingQueues
-
Create a new, synchronized
EvictingQueuethat can hold up toKiwiEvictingQueues.DEFAULT_MAX_RECENT_ITEMSitems. - synchronizedEvictingQueue(int) - Static method in class org.kiwiproject.collect.KiwiEvictingQueues
-
Create a new, synchronized
EvictingQueuethat can hold up tomaxSizeitems.
T
- TAB - Static variable in class org.kiwiproject.base.KiwiStrings
-
A tab character.
- tag(String) - Method in class org.kiwiproject.config.EndpointConfiguration.Builder
- 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
-
Create a
KiwiThrowables.ThrowableInfofrom givenThrowable. - throwableInfoOfNullable(Throwable) - Static method in class org.kiwiproject.base.KiwiThrowables
-
Create a
KiwiThrowables.ThrowableInfofrom givenThrowable. - TimeBasedDirectoryCleaner - Class in org.kiwiproject.io
-
A
Runnablethat cleans a given directory of files and/or directories that are older than a specified retention threshold. - TimeBasedDirectoryCleaner(String, Duration, String) - Constructor for class org.kiwiproject.io.TimeBasedDirectoryCleaner
-
Create a new TimeBasedDirectoryCleaner instance.
- TimeBasedDirectoryCleaner.DeleteError - Class in org.kiwiproject.io
-
Value class representing a file delete error.
- TimeBasedDirectoryCleanerConfig - Class in org.kiwiproject.dropwizard.config
-
A (Dropwizard) configuration class to configure and schedule a
TimeBasedDirectoryCleaner. - TimeBasedDirectoryCleanerConfig() - Constructor for class org.kiwiproject.dropwizard.config.TimeBasedDirectoryCleanerConfig
- TimeBasedDirectoryCleanerHealthCheck - Class in org.kiwiproject.dropwizard.metrics.health
-
A health check for
TimeBasedDirectoryCleanerthat checks if there have been any delete errors within a specific duration of time. - TimeBasedDirectoryCleanerHealthCheck(TimeBasedDirectoryCleaner) - Constructor for class org.kiwiproject.dropwizard.metrics.health.TimeBasedDirectoryCleanerHealthCheck
-
Create with specified
TimeBasedDirectoryCleanerand the default warning threshold. - TimeBasedDirectoryCleanerHealthCheck(TimeBasedDirectoryCleaner, Duration) - Constructor for class org.kiwiproject.dropwizard.metrics.health.TimeBasedDirectoryCleanerHealthCheck
-
Create with the specified
TimeBasedDirectoryCleanerand warning threshold. - TimedHealthCheck - Class in org.kiwiproject.dropwizard.metrics.health
-
Health Check wrapper that will 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
delegateHealthCheckand the default timeout (5 seconds). - TimedHealthCheck(HealthCheck, Duration) - Constructor for class org.kiwiproject.dropwizard.metrics.health.TimedHealthCheck
-
Creates a new TimedHealthCheck with the given (
delegateHealthCheckand the giventimeout. - timestampFromInstant(Instant) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
- timestampFromZonedDateTime(ZonedDateTime) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Returns a
Timestampfrom the givenZonedDateTime. - TLS - 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
- toDate(LocalDateTime) - Static method in class org.kiwiproject.time.KiwiDateTimeConverters
-
Convert the given
LocalDateTimeinto its equivalentDate(epoch milliseconds using UTC). - toDate(ZonedDateTime) - Static method in class org.kiwiproject.time.KiwiDateTimeConverters
-
Convert the given
ZonedDateTimeinto its equivalentDate(epoch milliseconds using UTC). - toDoubleOrNull(BigDecimal) - Static method in class org.kiwiproject.base.KiwiBigDecimals
-
Converts a nullable
BigDecimalto aDoubleor returns null if the given value is null. - toDropwizardTlsConfiguration() - Method in class org.kiwiproject.config.TlsContextConfiguration
-
Convert this
TlsContextConfigurationinto a DropwizardTlsConfigurationobject. - toEnumMap(Class<K>, Function<? super T, ? extends K>, Function<? super T, ? extends U>) - Static method in class org.kiwiproject.collect.KiwiCollectors
- toEnumSet(Class<E>) - Static method in class org.kiwiproject.collect.KiwiCollectors
- toFlatMap(Object) - Method in class org.kiwiproject.json.JsonHelper
-
Parse the given object as JSON, then flatten all its properties to a map whose keys are the object property names and whose values are converted to Strings.
- toFlatMap(Object, Class<T>) - Method in class org.kiwiproject.json.JsonHelper
-
Parse the given object as JSON, then flatten all its properties to a map whose keys are the object property names and whose values are converted to the given
valueClasstype. - toHashMultimap() - Static method in class org.kiwiproject.stream.KiwiMultimapCollectors
-
Collects into an
HashMultimap. - toImmutableListBuilder() - Static method in class org.kiwiproject.collect.KiwiCollectors
-
Return a
Collectorthat collects into a GuavaImmutableList.Builder. - toJson(Object) - Method in class org.kiwiproject.json.JsonHelper
-
Convert the given object to JSON using the
JsonHelper.OutputFormat.DEFAULTformat. - toJson(Object, JsonHelper.OutputFormat) - Method in class org.kiwiproject.json.JsonHelper
-
Convert the given object to JSON using the given format.
- toJson(Object, JsonHelper.OutputFormat, Class<?>) - Method in class org.kiwiproject.json.JsonHelper
-
Convert the given object to JSON using the given format and optionally a class representing the
JsonViewto use. - toJsonFromKeyValuePairs(Object...) - Method in class org.kiwiproject.json.JsonHelper
-
Consider the given arguments as key/value pairs, and convert those pairs to a JSON representation.
- toJsonIgnoringPaths(Object, String...) - Method in class org.kiwiproject.json.JsonHelper
-
Convert the given object to JSON, but ignoring (excluding) the given paths.
- toLinkedHashMultimap() - Static method in class org.kiwiproject.stream.KiwiMultimapCollectors
-
Collects into an
LinkedHashMultimap. - toLinkedMap(Function<? super T, ? extends K>, Function<? super T, ? extends U>) - Static method in class org.kiwiproject.collect.KiwiCollectors
-
Returns a
Collectorthat collects intoaLinkedHashMap. - toLocalDate(Date, ZoneId) - Static method in class org.kiwiproject.time.KiwiDateTimeConverters
- toLocalDateTime(Date, ZoneId) - Static method in class org.kiwiproject.time.KiwiDateTimeConverters
-
Convert the given
Dateinto its equivalentLocalDateTimein the specified time zone. - toLocalDateTimeUTC(Date) - Static method in class org.kiwiproject.time.KiwiDateTimeConverters
-
Convert the given
Dateinto its equivalentLocalDateTimein the UTC time zone. - toLocalDateUTC(Date) - Static method in class org.kiwiproject.time.KiwiDateTimeConverters
- toMap(String) - Method in class org.kiwiproject.json.JsonHelper
-
Convert the given JSON into a map with String keys and Object values.
- toMap(String, TypeReference<Map<K, V>>) - Method in class org.kiwiproject.json.JsonHelper
-
Convert the given JSON into a map with keys of type
Kand values of typeV. - toMultimap(Supplier<A>) - Static method in class org.kiwiproject.stream.KiwiMultimapCollectors
- toObject(String, TypeReference<T>) - Method in class org.kiwiproject.json.JsonHelper
-
Convert the given JSON into an object of type
Tusing the givenTypeReference. - toObject(String, Class<T>) - Method in class org.kiwiproject.json.JsonHelper
-
Convert the given JSON into the specified type.
- 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
BigDecimalto anOptionalDouble. - toOptionalDoubleObject(BigDecimal) - Static method in class org.kiwiproject.base.KiwiBigDecimals
- 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 BYclause. - toSSLContext() - Method in class org.kiwiproject.config.SSLContextConfiguration
-
Convert this instance to a new
SSLContext. - toSSLContext() - Method in interface org.kiwiproject.security.KeyAndTrustStoreConfigProvider
-
Convert this configuration into a
SSLContext. - toSSLContext() - Method in interface org.kiwiproject.security.TrustStoreConfigProvider
-
Convert this configuration into a
SSLContext. - toSslContextConfiguration() - Method in class org.kiwiproject.config.TlsContextConfiguration
-
Convert this configuration into a
SSLContextConfiguration. - toSslSocketFactory() - Method in interface org.kiwiproject.security.TrustStoreConfigProvider
-
Convert this configuration into a
SSLSocketFactory. - toString() - Method in class org.kiwiproject.net.SimpleHostAndPort
-
Return a string in
host:portformat. - toTlsContextConfiguration() - Method in class org.kiwiproject.config.SSLContextConfiguration
-
Convert this
SSLContextConfigurationto aTlsContextConfiguration, using thekeyStoreTypefor both the key and trust store type in the returned object. - toTlsContextConfiguration(String) - Method in class org.kiwiproject.config.SSLContextConfiguration
-
Convert this
SSLContextConfigurationto aTlsContextConfiguration, using thekeyStoreTypefor the key and the specifiedtrustStoreTypeas 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-RSUriBuilder. - toURL(URI) - Static method in class org.kiwiproject.net.KiwiUrls
-
Tries to convert the given
uriinto aURL, throwing an unchecked exception if the conversion fails. - toZonedDateTime(Date, ZoneId) - Static method in class org.kiwiproject.time.KiwiDateTimeConverters
-
Convert the given
Dateinto its equivalentZonedDateTimein the specified time zone. - toZonedDateTimeUTC(Date) - Static method in class org.kiwiproject.time.KiwiDateTimeConverters
-
Convert the given
Dateinto its equivalentZonedDateTimein 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
SSLContextandSSLSocketFactoryfrom this configuration. - trustStorePassword(String) - Method in class org.kiwiproject.config.SecureEndpointsConfiguration.Builder
- trustStorePassword(String) - Method in class org.kiwiproject.config.SSLContextConfiguration.Builder
- trustStorePassword(String) - Method in class org.kiwiproject.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
U
- UncheckedInterruptedException - Exception in org.kiwiproject.base
-
Wraps an
InterruptedExceptionwith an unchecked exception. - UncheckedInterruptedException(InterruptedException) - Constructor for exception org.kiwiproject.base.UncheckedInterruptedException
-
Constructs an instance of this class.
- UncheckedInterruptedException(String, InterruptedException) - Constructor for exception org.kiwiproject.base.UncheckedInterruptedException
-
Constructs an instance of this class.
- UncheckedMalformedURLException - Exception in org.kiwiproject.net
-
Wraps a
MalformedURLExceptionwith an unchecked exception - UncheckedMalformedURLException(String, MalformedURLException) - Constructor for exception org.kiwiproject.net.UncheckedMalformedURLException
- UncheckedMalformedURLException(MalformedURLException) - Constructor for exception org.kiwiproject.net.UncheckedMalformedURLException
- UncheckedURISyntaxException - Exception in org.kiwiproject.net
-
Wraps a
URISyntaxExceptionwith an unchecked exception. - UncheckedURISyntaxException(String, URISyntaxException) - Constructor for exception org.kiwiproject.net.UncheckedURISyntaxException
- UncheckedURISyntaxException(URISyntaxException) - Constructor for exception org.kiwiproject.net.UncheckedURISyntaxException
- UNKNOWN - 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
throwableis of typewrapperClass, 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
TryLockerusing the given lock and maximum wait time. - usingReentrantLock() - Static method in class org.kiwiproject.concurrent.TryLocker
-
Create a new
TryLockerusing aReentrantLockand the default lock maximum wait time. - usingReentrantLock(int, TimeUnit) - Static method in class org.kiwiproject.concurrent.TryLocker
-
Create a new
TryLockerusing aReentrantLockwith the given lock wait time. - utcZonedDateTimeFromEpochMilli(long) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Returns a
ZonedDateTimein UTC from the given number of milliseconds since the epoch. - utcZonedDateTimeFromTimestamp(ResultSet, String) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Returns a
ZonedDateTimein UTC from the specified column in theResultSet. - utcZonedDateTimeFromTimestamp(Timestamp) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Returns a
ZonedDateTimein UTC from the specifiedTimestamp. - UUIDs - Class in org.kiwiproject.base
-
Utility class for working with
UUIDinstances. - 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
CompletableFutureup to a specified timeout. - waitForAll(Collection<CompletableFuture<T>>, long, TimeUnit) - Static method in class org.kiwiproject.concurrent.Async
-
Helper method that waits for a collection of
CompletableFutureof typeTup to a specified timeout. - waitForAllIgnoringType(Collection<CompletableFuture>, long, TimeUnit) - Static method in class org.kiwiproject.concurrent.Async
-
Helper method that waits for a collection of
CompletableFuturewith no explicit type up to a specified timeout. - waitForExit(Process) - Static method in class org.kiwiproject.base.process.Processes
-
Waits up to
Processes.DEFAULT_WAIT_FOR_EXIT_TIME_SECONDSfor the given process to exit. - waitForExit(Process) - Method in class org.kiwiproject.base.process.ProcessHelper
-
Waits up to
Processes.DEFAULT_WAIT_FOR_EXIT_TIME_SECONDSfor the given process to exit. - waitForExit(Process, long, TimeUnit) - Static method in class org.kiwiproject.base.process.Processes
-
Waits up to the specified
timeoutfor the given process to exit. - waitForExit(Process, long, TimeUnit) - Method in class org.kiwiproject.base.process.ProcessHelper
-
Waits up to the specified
timeoutfor the given process to exit. - 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
withLockActionif the lock is obtained within the lock timeout period. - withLockSupplyOrFallback(Supplier<T>, T) - Method in class org.kiwiproject.concurrent.TryLocker
-
Execute the given
withLockSupplierif the lock is obtained within the lock timeout period and return its value. - withLockSupplyOrFallbackSupply(Supplier<T>, Supplier<T>) - Method in class org.kiwiproject.concurrent.TryLocker
-
Execute the given
withLockSupplierif the lock is obtained within the lock timeout period and return its value. - withLockSupplyOrNull(Supplier<T>) - Method in class org.kiwiproject.concurrent.TryLocker
-
Execute the given
withLockSupplierif the lock is obtained within the lock timeout period and return its value. - withMaxTimeout(CompletableFuture<T>, long, TimeUnit) - Static method in class org.kiwiproject.concurrent.Async
-
Wraps a
CompletableFuturewith a timeout so that it can proceed asynchronously, but still have a maximum duration. - withMaxTimeout(CompletableFuture<T>, long, TimeUnit, ExecutorService) - Static method in class org.kiwiproject.concurrent.Async
-
Wraps a
CompletableFuturewith a timeout so that it can proceed asynchronously, but still have a maximum duration. - 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
ZonedDateTimein the specified time zone from the specified column in theResultSet. - zonedDateTimeFromTimestamp(Timestamp, ZoneId) - Static method in class org.kiwiproject.jdbc.KiwiJdbc
-
Returns a
ZonedDateTimein the specified time zone from the givenTimestamp.
All Classes All Packages