All Classes and Interfaces
Class
Description
A generic aggregate result containing a list of results, and a total count.
Static utilities that work with
CompletableFuture and can make testing easier by
permitting selective (e.g. in unit tests) forcing of synchronous behavior for things that would normally
execute asynchronously.The
Async.Mode.ENABLED mode enables asynchronous behavior, which is the default behavior.A subclass
RuntimeException used to indicate problems in asynchronous code.Simple way to convert one bean to another.
Extension of
Runnable that never lets exceptions escape.Small utility to analyze CIDR information.
Map
ConstraintViolationException to a JSON Response.A default implementation of the
KiwiEnvironment interface.The annotated element must point to an existing directory.
Validates that a string value is a valid path, exists, and is a directory.
Configuration for a specific REST endpoint.
To use this
EndpointConfiguration.Builder standalone, use the EndpointConfiguration.builder() method.An error message that kiwi uses in Jakarta REST related utilities.
An opinionated tagging/marker interface for validation of existing (persistent) objects.
The annotated type must have two fields that define a valid range, i.e. in the simplest configuration
FieldRange.startField() must come before FieldRange.endField().Holder for multiple
FieldRange annotations.Validator class for
FieldRange.The annotated element must point to an existing file.
Validates that a string value is a valid path, exists, and is a regular file (not a directory).
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.
Map
IllegalArgumentException to Response.Map
IllegalStateException to Response.The annotated element must have a value in the specified enum class.
Validates that a string value is in the list of enum constants, or a value derived from an enum constant.
Jackson serializer that converts an
Instant into milliseconds since the epoch.Static utilities related to
IntStream.The annotated element must have a value that can be converted to a Java int or
Integer.Validates that a string value is an integer value, i.e. that it can be converted to an int or
Integer.The annotated element must have a value that is a valid IPv4 address.
Validates that a string value is a valid IPV4 address.
The annotated element must have the form
ipv4-address:port.Validates that a string matches a regular expression representing an IPv4 address and port separated by a colon.
Represents the detected type of the given
String.A Jackson
JsonSerializer that serializes JAXBElement objects, with "nil" values handled by writing
a JSON null.Exception representing a 400 Bad Request that extends
JaxrsException to use Kiwi's ErrorMessage.Exception representing a 409 Conflict that extends
JaxrsException to use Kiwi's ErrorMessage.Represents a Jakarta REST exception that uses the Kiwi
ErrorMessage to describe
the errors causing this exception.Map a
JaxrsException to a Response.Exception representing a 403 Forbidden that extends
JaxrsException to use Kiwi's ErrorMessage.Exception representing a 500 Internal Server Error.
Exception representing a 401 Unauthorized that extends
JaxrsException to use Kiwi's ErrorMessage.Exception representing a 404 Not Found that extends
JaxrsException to use Kiwi's ErrorMessage.Exception representing a 422 status code that extends
JaxrsException to use Kiwi's ErrorMessage.Utilities for building Dropwizard-managed
Jdbi version 3 instances.Custom logger implementing Jsch's
Logger class.A Hibernate user-defined type that maps to/from Postgres
jsonb columns.Represents the result of attempting to detect if content is JSON.
A bunch of utilities to make it easier to work with JSON.
Describes how objects are to be merged.
Represents an output format when serializing an object to JSON.
Defines a configuration interface for properties needed to create key and trust stores, and a contract to
be able to create an
SSLContext and SSLSocketFactory from this configuration.KeyStore types that can be specified when generating an instance of
KeyStore using
KeyStore.getInstance(String).A few common (Unix/Linux/etc) kill signals.
Possible actions to take if a kill command times out.
Utility methods for working with Array instances.
Contains helper methods for
BiConsumer.Utilities for working with
BigDecimal.Utilities for working with
Boolean wrapper objects.Utility methods for working with
Collection instances.Utility for custom
Collector implementationsStatic utilities for working with
ConstraintViolation objects, generally
Sets of them.Contains helper methods for
Consumer.The original JDK 1.0
Date class leaves, ahem, much to be desired, but there are still (unfortunately)
many classes, interfaces, and libraries that use it and probably won't be changed soon or ever.A collection of small utility methods to convert between legacy
Date and the Java 8 date/time API classes.A collection of small utilities to format various types of Java date/time classes, both the legacy
Date and the Java 8 date/time API classes in java.time.A collection of small utilities to parse strings into various types of Java date/time classes, both the legacy
Date and the Java 8 date/time API classes in java.time.A Kiwi-flavored version of
Deprecated that includes the since attribute added in JDK 9 plus
additional attributes we think are useful.Double utilities.Provides utilities related to the Dropwizard lifecycle.
Utilities for formatting durations of various types.
Static utilities related to reading entities from a
Response.Static utilities for working with
Enum.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.
Utility methods for working with Guava
EvictingQueue instances.Utilities/constants for containing common, re-usable types of
GenericType objects.Static utilities related to HTTP responses, mainly for checking
status codes.
Provides utilities related to
Instant.Utilities for working with
Integer wrapper objects.Utilities for
InetAddress and other things related to internet addresses.Enum that defines the IP scheme to use when looking up a machine's IP addresses.
Simple value class encapsulating a host name and IP address
Static I/O utilities.
Represents a resource that can be closed using a "close" method.
Utility methods for working with
Iterator instances.Static utilities for easily performing data format detection on String values.
Custom Jackson serializers.
Utilities for working with Java JAR files.
Static utility methods that perform validation on an object or value, and throw an appropriate
subclass of
JaxrsException if there are validation errors.Some utilities and constants for Jakarta XML Web Services.
JDBC utilities.
Enum representing options for trimming strings.
Static utilities related to Jersey
Client instances.Static utilities for working with JSch.
Utility methods for working with
List instances.Utility methods for working with
Map instancesA few utilities related to Spring Data Mongo and custom
Converters.A
Converter that maps from the JS 'undefined' type to a 'null' value.Static utilities relating to Mongo databases.
Utilities related to Mongo indexes.
A
Collector that can collect into a Guava Multimap.Static utilities for working with
MultivaluedMap instances.Utilities for any object which are not in
Objects or MoreObjects.Represents one page of an overall list of results.
Static utilities to allow simple construction of Spring Data
Sort and Pageable objects.Static utilities related to
Path instances.Utility functions related to Postgres DBs.
Static utility methods similar to those found in
Preconditions, but with a lovely
Kiwi flavor to them.Static utilities that operate on primitive values, and are not already provided by classes in Guava's
com.google.common.primitives package.Enum representing options for converting a numeric value into a boolean.
Utility methods for making it easier to create and work with
Properties instances.Some utilities related to reflection.
Defines the accessor method type.
Static helper methods related to regular expression processing.
Static utilities for use in Jakarta REST resource classes.
Static utilities related to evaluating and acting upon Jakarta REST responses.
This is a wrapper class for
Retryer; it wraps methods so that the RetryException and
InterruptedException that are generated from the Retryer.call(Callable) method are converted to
KiwiRetryerException.Exception thrown by
KiwiRetryer.Some potentially useful predicates that can be used out of the box with
KiwiRetryer or directly with
RetryerBuilder, or anything else that accepts a Predicate.Utilities related to searching and pagination.
Enum that represents either zero or one-based page numbering scheme.
Static utilities to create various security objects, such as
SSLContext, KeyStore,
KeyManager, and TrustManager.Utility methods for working with
Set instances.Describes a sort on a specific property that is applied to a result list.
Sort direction.
Static utility methods for Spring Java-based configuration, i.e.
Static utilities for performing MongoDB queries using Spring Data.
Defines whether to require a partial or exact match.
A set of "standard" Jakarta REST responses for various HTTP methods.
Utilities related to Streams that are not already in the JDKs
Stream
or Guava's Streams.Describes the type of
Stream.Utility methods relating to strings or similar.
Utility class for working with
Throwable instances.Immutable "struct" that contains information from a
Throwable instance.Utilities/constants for common types of Jackson
TypeReference objects.Static utilities for creating URLs
A simple value class to hold the various parts of the URL.
An opinionated class that makes working with validation groups easier...if you are OK with the restrictions this
utility imposes.
Static utilities related to Jakarta Bean Validation (formerly Java Bean Validation).
Static utilities for converting to/from XML using JAXB and a few other XML-related utilities.
Whether validation should be performed or not.
Static utilities for converting to/from XML data types, e.g.
Provides lazy evaluation of one or more replacement parameters in a logging statement, for example when
using SLF4J.
Custom Jackson
JsonDeserializer to examine a node and take different action based on whether it is
a TextNode or a container node.Jackson serializer that converts a
LocalDateTime into milliseconds since the epoch
in the UTC zone by default, or in a zone specified in the constructor.Utility to check port availability and find open ports.
A Jackson
DeserializationProblemHandler that logs and keeps track of unknown properties during JSON
deserialization.The annotated element must have a value that can be converted to a Java long or
Long.Validates that a string value is a long value, i.e. that it can be converted to a long or
Long.A Dropwizard
Managed that manages a single Closeable instance.A simple
Spliterator over a Matcher.This class generates the context and factory necessary to programmatically initialize Spring Data
MongoRepository interfaces.An opinionated tagging/marker interface for validation of new (transient) objects.
Exception class to indicate a regular expression match did not match.
Map
NoSuchElementException to Response.Interface that describes a simple contract for an operating system command.
Simple interface defining basic pagination for any kind of search, e.g. a database query, SOLR search, etc.
Defines the contract for query parameters for performing pagination and sorting.
A subclass of
Query that adds pagination helpers.Jakarta REST based implementation of
PagingParams.Utility class for working with operating system processes.
Options for
PropertyMaskingSafePropertyWriter and KiwiJacksonSerializers.Writes properties "safely" and masks sensitive properties such as passwords.
The annotated element must be in the specified range, which can include both a minimum and maximum, only a minimum,
or only a maximum.
Validator for @
Range.Ensures that a value is provided (i.e. not null).
Check that a validated value is required.
Defines a result of one or more attempts to get some type of object.
Utility class for logging information about errors in
RetryResult objects.Runtime wrapper exception for JSON processing errors.
A custom runtime exception for wrapping (checked or unchecked) exceptions related to reflection.
A runtime exception that can be thrown by
YamlHelper.Configuration for secure REST endpoints, including the configuration from an
SSLContextConfiguration
as well as adding a collection of EndpointConfiguration instances.Builder class for
SecureEndpointsConfiguration.This (Dropwizard) config class allows for common configuration for SFTP access to remote hosts.
A simple wrapper around a
JSch instance that handles connecting and disconnecting using the
configuration specified in an SftpConfig.A simple wrapper around a
JSch instance that handles some basic SFTP operations.Runtime exception that represents SFTP-related errors.
Inspired by Guava's
HostAndPort but much simpler in implementation.Static utilities for retrying an operation.
A simple class to retry an operation up to a maximum number of attempts.
Configuration class that can be used to configure
SimpleRetryer instances.A "simple" factory class that makes it simpler to create
SSLContext instances.A builder class for
SimpleSSLContextFactory.Utilities for checking sockets.
Simple contract for search results that are sorted in a specific direction.
Builder class for easily constructing Spring ApplicationContext instances using either XML or annotation-based
configuration.
Simple enum that represents the values for SQL
ORDER BY clauses.Configuration for standard/common properties required for secure (i.e.
A builder class for
SSLContextConfiguration.Exception thrown by Kiwi when error occur creating various security-related objects
such as
SSLContext, KeyStore,
KeyManager, and TrustManager.Protocols thar can be used when calling
SSLContext.getInstance(String).StripedLock provides simple lambdas for encapsulating a block of code with a read/write lock.A
Runnable that cleans a given directory of files and/or directories that are older than a specified
retention threshold.Value class representing a file delete error.
A (Dropwizard) configuration class to configure and schedule a
TimeBasedDirectoryCleaner.A health check for
TimeBasedDirectoryCleaner that checks if there have been any delete errors within
a specific duration of time.Health Check wrapper that will time out after a set period of time.
Configuration for standard/common properties required for secure TLS connections.
Defines a configuration interface for properties needed to create trust stores, and a contract to be able to create
a
SSLContext and SSLSocketFactory from this configuration.Utility that aids in using
Lock.tryLock(long, TimeUnit).Wraps a
GeneralSecurityException with an unchecked exception.Wraps an
InterruptedException with an unchecked exception.Wraps a
JAXBException with an unchecked exception.Wraps a
MalformedURLException with an unchecked exceptionUnchecked exception that wraps a
SQLException.Wraps a
URISyntaxException with an unchecked exception.Specifies URL rewriting configuration used by
EndpointConfiguration.Utility class for working with
UUID instances.Configuration class for creating ansible-vault commands.
Generates
ansible-vault decrypt commands.Generates
ansible-vault encrypt commands.Runtime exception for errors that occur making
ansible-vault calls, but which are not related to invalid
method or constructor arguments.The main class in this package for executing
ansible-vault commands.Generates
ansible-vault encrypt_string commands.Generates
ansible-vault rekey commands.Generates
ansible-vault view commands.A few simple version comparison utilities.
Map
WebApplicationException to Response.Use with Jakarta REST
Client instances to provide additional functionality via WebTargetHelper.Use with Jakarta REST
WebTarget instances to provide convenient functionality when adding query parameters.Runtime wrapper exception for XML processing errors.
Some utilities to make it easy to work with YAML.