All Classes Interface Summary Class Summary Enum Summary Exception Summary
| Class |
Description |
| ApplicationClock |
Clock that acts as time emitter for the application.
|
| ApplicationClockExtension |
Resets the ApplicationClock after each test.
|
| ApplicationClockExtension.ApplicationClockExtensionBuilder |
Builder
|
| ApplicationClockResetRule |
Deprecated. |
| Attachment |
Represention of a Mail-Attachment
|
| AttachmentDataSource |
Datasource for mail attachments
|
| BigDecimalSequenceSupplier |
Provides sequences of BigDecimal values, starting with startValue or zero.
|
| BOM |
Adding and remove BOM (byteordermark) UTF-8 headers.
|
| BomAwareInputStream |
Wraps an InputStream and removes a potential bom.
|
| BootstrapLogger |
Configures the logger (Log4j2)
|
| CommonHttpClient |
Provides a simple HTTP client for most use-cases, reusable.
|
| CommonHttpClient.TimeoutThread |
Some sites may have timeouts, but the connection timeout does not seem to work reliably.
|
| CommonProxy |
Simple wrapper for a proxy in form [username[:password]]@host[:port]
|
| CommonProxyParser |
Parses a given proxy in form [username[:password]@](ip|hostname)[:port]
|
| Concurrents |
Concurrent utilities.
|
| Contained |
Simple utility class, that checks if an element is in an (vararg) array.
|
| Dates |
Deprecated, for removal: This API element is subject to removal in a future version. |
| Dates.DateBuilder |
Actual builder class
|
| Dates.DatetimeUnit |
Units as own enum for better code-completition support (instead of having ints everywhere)
|
| Dates.WeekdayUnit |
Units as own enum for better code-completition support (instead of having ints everywhere)
|
| DummyContainer |
For usage with the simpleframework webserver in the SimpleWebserverTestParent.
|
| Durations |
Utility class to handle human readable time durations.
|
| ExceptionalFunction<T,R> |
Functional Interface similar to Function, but could throw an Exception.
|
| ExceptionalRunnable |
Functional Interface similar to Runnable, but could throw an Exception.
|
| FileListener |
Listener that notifies about changes to a file or directory.
|
| FileSupport |
Supportive file operations
|
| FilesystemObserver |
File- and DirectoryListener can be registered at the observer to recevive notifications if they change.
|
| FixedDateSupplier |
Provides a fixed date given by the constructor.
|
| FluentHttpClient |
Creating fluent http requests (simplified fluent interface for HttpClient).
|
| FluentHttpClient.HttpBuilder |
Builder
|
| Flux |
Static accessor to FluentHttpClient with option to set default configuration.
|
| Generics |
Helpermethods, that simplify working with generics.
|
| GzipAwareInputStream |
Wraps an InputStream and checks if the stream has been compressed, and optionally decompresses it.
|
| HttpClient |
Contract for a HTTP request
|
| HttpClientException |
Exception thrown while executing a remote http call.
|
| HttpOptions |
Additional behaviour options for the HttpClient
|
| InputStreamByteSource |
Using an InputStream as ByteSource
|
| Instants |
Construction of time-objects with a fluent interface.
|
| Instants.DatetimeUnit |
Units as own enum for better code-completition support (instead of having ints everywhere)
|
| Instants.InstantBuilder |
Actual builder class
|
| Instants.WeekdayUnit |
Units as own enum for better code-completition support (instead of having ints everywhere)
|
| IOSupport |
Supportive I/O methods.
|
| JmxUtil |
MBean helper, registers MBeans with given package-name.
|
| JvmUtil |
Provides access to information about the currently running JVM and some process-control.
|
| JvmUtil.TerminateBuilder |
Builder to terminate the JVM
|
| Logr |
Returns the Log4j2 logger for the calling class (for Slf4j use Slogr).
|
| LongSequenceSupplier |
Provides sequences of long values, starting with startValue or zero.
|
| Mail |
Represents an E-Mail to send.
|
| MailAddress |
Represents an E-Mail address
|
| MailInvalidException |
Signals, that the mail does not match the expected form, eg.
|
| MailMessenger |
Simply.
|
| MailMessenger.MailMessengerBuilder |
Builder for sending mails
|
| MailPriority |
Priority of a mail.
|
| MailSendException |
Exceptions while trying to send an E-Mail.
|
| Measure |
Measures invokation of Runnables/Callables in milliseconds.
|
| MessageBox |
Print generic message-boxes to the logging system
|
| MetaContext |
Manages fields per thread, which are serialized as json for further processing (eg.
|
| Method |
List of available HTTP methods.
|
| MimeType |
A list with the typical and most used MIME Types, see also http://www.iana.org/assignments/media-types
|
| MockCommonHttpClient |
Test helper for collecting requests and responding to http clients.
|
| MockCommonHttpClient.MockResponse |
Mocks the body and metadata of a http response.
|
| MockCommonHttpClient.Request |
Collected request.
|
| NowDateSupplier |
Provides the current Date
|
| Pair<K,V> |
Simple key/value pair.
Alternative suggested implementations (although jackson deserialization has issues):
java.util.AbstractMap.SimpleEntry
subclasses of org.apache.commons.lang3.tuple.Pair
|
| PayloadContextMessage |
Log4j2 Message for Logger that support parameterized messages, using {} as placeholder, eg.:
info("Hello {}", "world"); // => "Hello {world}"
info("Hello {} {}", "beautiful", "world"); // => "Hello {beautiful} {world}"
error("Something failed: {}", ex, "do'h"); // => "Hello {beautiful} {world}"
If the parameters should be available as json-encoded metadata for eg.
|
| PayloadContextMessageFactory |
Construction of PayloadContextMessages
|
| PayloadMessage |
Log4j2 Message for Logger that support parameterized messages, using {} as placeholder, eg.:
info("Hello {}", "world"); // => "Hello {world}"
info("Hello {} {}", "beautiful", "world"); // => "Hello {beautiful} {world}"
error("Something failed: {}", ex, "do'h"); // => "Hello {beautiful} {world}"
It is also encouraged to give the parameter names with identifier set to true.
|
| PayloadMessageFactory |
Construction of PayloadMessages
|
| Ports |
Port-related utility methods.
|
| RandomAlphaNumericSupplier |
Provides simple random alphanumeric strings.
|
| Response |
Represents the reponse to a http service.
|
| Retryable |
Invokes a Callable/ExceptionalRunnable until it runs without Exception the specified times of retries.
|
| RetryException |
Exception is thrown, when retries didn't finished successfully.
|
| Say |
Facade for the logging-framework (currently Log4j2).
|
| Say.ContextBuilder |
Using fluent interface to construct ThreadContext informations (formerly known as MDC /NDC)
|
| SimpleWebserverExtension |
Starts/stops a simple webserver.
|
| SimpleWebserverExtension.SimpleWebserverBuilder |
TODO
|
| SimpleWebserverTestParent |
Deprecated. |
| Sleeper |
Encapsulates the InterruptedException from Thread.sleep(ms).
|
| Slogr |
Returns the Slf4j logger for the calling class (for Log4j2 use Logr).
|
| SoftReferenceCache<T> |
Stores it's value-entries as SoftReferences
|
| Sugar |
Simple syntax sugar/shortener
|
| Tests |
Common helper methods that are helpful for Test-Classes via static imports.
|
| Times |
Comparison of Dates and time with a fluent interface.
See also https://github.com/galan/commons/blob/master/documentation/Times.md
|
| Times.BetweenTimeBuilder |
TimeDsl Builder
|
| Times.IsTimeBuilder |
TimeDsl Builder
|
| Times.TimeBuilder |
TimeDsl Builder
|
| UrlConstruction |
URL constructing helper methods.
|
| UrlUtil |
Url-related helper functionality.
|
| UuidSupplier |
Supplies random UUIDs.
|
| Validations |
Validates an object using the javax validation api.
|
| Zones |
ZoneIds without using String.
|