Package io.helidon.common
Common utilities for Helidon projects.
-
Interface Summary Interface Description Builder<T> Interface for builders, to be able to accept a builder in addition to an instance.LazyValue<T> A typed supplier that wraps another supplier and only retrieves the value on the first request toSupplier.get()
, caching the value for all subsequent invocations.Prioritized Interface to define that this class is a class with priority. -
Class Summary Class Description CollectionsHelper A set of static methods similar to Java9's List.of(), Set.of() and Map.of().Errors Errors utility used to file processing messages (e.g.Errors.Collector A collector ofErrors.ErrorMessage
s.Errors.ErrorMessage Error message with a severity and a source.GenericType<T> Represents a full type including generics declaration, to avoid information loss due to type erasure.HelidonConsoleHandler AStreamHandler
that writes tostandard out
and uses aHelidonConsoleHandler.ThreadFormatter
for formatting.HelidonConsoleHandler.ThreadFormatter ASimpleFormatter
that replaces all occurrences of"!thread!"
with the current thread.InputStreamHelper A set of static utility methods forInputStream
.OptionalHelper<T> A wrapper on top ofOptional
to replicate some of the new Java9 methods.StackWalker A dummy replicate of Java9's StackWalker.Version Simple class to provide version information. -
Enum Summary Enum Description Severity Severity of an event.StackWalker.Option Option for future partial compatibility with Java9. -
Exception Summary Exception Description Errors.ErrorMessagesException Exception used byErrors.checkValid()
thrown in case there are fatal messages.