Index
All Classes and Interfaces|All Packages|Serialized Form
A
- addMapper(Mapper<S, T>, GenericType<S>, GenericType<T>, double, String...) - Method in class io.helidon.common.mapper.MapperManager.Builder
-
Add a mapper to the list of mapper with custom priority.
- addMapper(Mapper<S, T>, GenericType<S>, GenericType<T>, String...) - Method in class io.helidon.common.mapper.MapperManager.Builder
-
Add a mapper to the list of mapper.
- addMapper(Mapper<S, T>, Class<S>, Class<T>, double, String...) - Method in class io.helidon.common.mapper.MapperManager.Builder
-
Add a mapper to the list of mapper with a custom priority.
- addMapper(Mapper<S, T>, Class<S>, Class<T>, String...) - Method in class io.helidon.common.mapper.MapperManager.Builder
-
Add a mapper to the list of mapper.
- addMapperProvider(MapperProvider) - Method in class io.helidon.common.mapper.MapperManager.Builder
-
Add a new
MapperProviderto the list of providers loaded from system service loader. - addMapperProvider(MapperProvider, int) - Method in class io.helidon.common.mapper.MapperManager.Builder
-
Add a new
MapperProviderto the list of providers loaded from system service loader with a custom priority. - apply(SOURCE) - Method in interface io.helidon.common.mapper.Mapper
- as(GenericType<N>) - Method in interface io.helidon.common.mapper.OptionalValue
- as(GenericType<N>) - Method in interface io.helidon.common.mapper.Value
-
Convert this value to a different type using a mapper.
- as(Class<N>) - Method in interface io.helidon.common.mapper.OptionalValue
- as(Class<N>) - Method in interface io.helidon.common.mapper.Value
-
Convert this value to a different type using a mapper.
- as(Function<? super T, ? extends N>) - Method in interface io.helidon.common.mapper.OptionalValue
- as(Function<? super T, ? extends N>) - Method in interface io.helidon.common.mapper.Value
-
Convert this
Valueto a different type using a mapper function. - asBoolean() - Method in interface io.helidon.common.mapper.OptionalValue
- asBoolean() - Method in interface io.helidon.common.mapper.Value
-
Boolean typed value.
- asDouble() - Method in interface io.helidon.common.mapper.OptionalValue
- asDouble() - Method in interface io.helidon.common.mapper.Value
-
Double typed value.
- asInt() - Method in interface io.helidon.common.mapper.OptionalValue
- asInt() - Method in interface io.helidon.common.mapper.Value
-
Integer typed value.
- asLong() - Method in interface io.helidon.common.mapper.OptionalValue
- asLong() - Method in interface io.helidon.common.mapper.Value
-
Long typed value.
- asOptional() - Method in interface io.helidon.common.mapper.Value
-
Typed value as
Optional. - asString() - Method in interface io.helidon.common.mapper.OptionalValue
- asString() - Method in interface io.helidon.common.mapper.Value
-
String typed value.
B
- build() - Method in class io.helidon.common.mapper.MapperManager.Builder
- builder() - Static method in interface io.helidon.common.mapper.MapperManager
-
Create a fluent API builder to create a customized mapper manager.
C
- COMPATIBLE - Enum constant in enum class io.helidon.common.mapper.spi.MapperProvider.Support
-
Correct type(s), unexpected qualifier.
- create() - Static method in interface io.helidon.common.mapper.MapperManager
-
Create a mapper manager using only Java Service loader loaded
MapperProviders. - create(MapperManager, String, GenericType<T>, String...) - Static method in interface io.helidon.common.mapper.OptionalValue
-
Create an empty value.
- create(MapperManager, String, Class<T>, String...) - Static method in interface io.helidon.common.mapper.OptionalValue
-
Create an empty value.
- create(MapperManager, String, T, GenericType<T>, String...) - Static method in interface io.helidon.common.mapper.OptionalValue
-
Create a value backed by data.
- create(MapperManager, String, T, GenericType<T>, String...) - Static method in interface io.helidon.common.mapper.Value
-
Create a value backed by data.
- create(MapperManager, String, T, String...) - Static method in interface io.helidon.common.mapper.OptionalValue
-
Create a value backed by data.
- create(MapperManager, String, T, String...) - Static method in interface io.helidon.common.mapper.Value
-
Create a value backed by data.
D
- discoverServices(boolean) - Method in class io.helidon.common.mapper.MapperManager.Builder
-
Whether to use
ServiceLoaderto discover mappers, defaults totrue.
E
- equals(Object) - Method in record class io.helidon.common.mapper.spi.MapperProvider.ProviderResponse
-
Indicates whether some other object is "equal to" this one.
F
- filter(Predicate<? super T>) - Method in interface io.helidon.common.mapper.Value
-
If a value is present, and the value matches the given predicate, return an
Optionaldescribing the value, otherwise return an emptyOptional. - flatMap(Function<? super T, Optional<? extends U>>) - Method in interface io.helidon.common.mapper.Value
-
Apply the provided
Optional-bearing mapping function to this value, return that result.
G
- get() - Method in interface io.helidon.common.mapper.OptionalValue
-
Typed value.
- get() - Method in interface io.helidon.common.mapper.Value
-
Typed value.
- get(GenericType<N>) - Method in interface io.helidon.common.mapper.Value
-
Convert this value to a different type using a mapper.
- get(Class<N>) - Method in interface io.helidon.common.mapper.Value
-
Convert this value to a different type using a mapper.
- getBoolean() - Method in interface io.helidon.common.mapper.Value
-
Boolean typed value.
- getDouble() - Method in interface io.helidon.common.mapper.Value
-
Double typed value.
- getInt() - Method in interface io.helidon.common.mapper.Value
-
Integer typed value.
- getLong() - Method in interface io.helidon.common.mapper.Value
-
Long typed value.
- getString() - Method in interface io.helidon.common.mapper.Value
-
String typed value.
- global() - Static method in interface io.helidon.common.mapper.MapperManager
-
Get an instance of the configured global manager.
- global(MapperManager) - Static method in interface io.helidon.common.mapper.MapperManager
-
Configure a new global mapper manager.
H
- hashCode() - Method in record class io.helidon.common.mapper.spi.MapperProvider.ProviderResponse
-
Returns a hash code value for this object.
I
- ifPresent(Consumer<? super T>) - Method in interface io.helidon.common.mapper.OptionalValue
-
If a value is present, invoke the specified consumer with the value, otherwise do nothing.
- ifPresentOrElse(Consumer<T>, Runnable) - Method in interface io.helidon.common.mapper.OptionalValue
-
If a value is present, performs the given action with the value, otherwise performs the given empty-based action.
- io.helidon.common.mapper - module io.helidon.common.mapper
-
Helidon Common Mapper.
- io.helidon.common.mapper - package io.helidon.common.mapper
-
Support for mapping of types.
- io.helidon.common.mapper.spi - package io.helidon.common.mapper.spi
-
SPI to provide
mappersforMapperManager. - isEmpty() - Method in interface io.helidon.common.mapper.OptionalValue
-
Return
falseif there is a value present, otherwisetrue. - isPresent() - Method in interface io.helidon.common.mapper.OptionalValue
-
Return
trueif there is a value present, otherwisefalse.
M
- map(Function<? super T, ? extends U>) - Method in interface io.helidon.common.mapper.OptionalValue
-
If a value is present, apply the provided mapping function to it, and if the result is non-null, return an
Optionaldescribing the result. - map(SOURCE) - Method in interface io.helidon.common.mapper.Mapper
-
Map an instance of source type to an instance of target type.
- map(SOURCE, GenericType<SOURCE>, GenericType<TARGET>, String...) - Method in interface io.helidon.common.mapper.MapperManager
-
Map from source to target.
- map(SOURCE, Class<SOURCE>, Class<TARGET>, String...) - Method in interface io.helidon.common.mapper.MapperManager
-
Map from source to target.
- mapper() - Method in record class io.helidon.common.mapper.spi.MapperProvider.ProviderResponse
-
Returns the value of the
mapperrecord component. - mapper(GenericType<?>, GenericType<?>, String) - Method in interface io.helidon.common.mapper.spi.MapperProvider
-
Find a mapper that is capable of mapping from source to target types.
- mapper(GenericType<SOURCE>, GenericType<TARGET>, String...) - Method in interface io.helidon.common.mapper.MapperManager
-
Obtain a mapper for the provided types and qualifiers.
- mapper(Class<?>, Class<?>, String) - Method in interface io.helidon.common.mapper.spi.MapperProvider
-
Find a mapper that is capable of mapping from source to target classes.
- Mapper<SOURCE,
TARGET> - Interface in io.helidon.common.mapper -
A generic and general approach to mapping two types.
- MapperException - Exception Class in io.helidon.common.mapper
-
An exception that is thrown when mapping failed to map source to target.
- MapperException(GenericType<?>, GenericType<?>, String) - Constructor for exception class io.helidon.common.mapper.MapperException
-
Failed with no underlying exception.
- MapperException(GenericType<?>, GenericType<?>, String, Throwable) - Constructor for exception class io.helidon.common.mapper.MapperException
-
Failed with an underlying exception.
- MapperManager - Interface in io.helidon.common.mapper
-
Mapper manager of all configured mappers.
- MapperManager.Builder - Class in io.helidon.common.mapper
-
Fluent API builder for
MapperManager. - MapperProvider - Interface in io.helidon.common.mapper.spi
-
Java Service loader service to get mappers.
- MapperProvider.ProviderResponse - Record Class in io.helidon.common.mapper.spi
-
Response of a provider.
- MapperProvider.Support - Enum Class in io.helidon.common.mapper.spi
-
How does this provider support the type.
N
- name() - Method in interface io.helidon.common.mapper.Value
-
Name of this value, to potentially troubleshoot the source of it.
O
- OptionalValue<T> - Interface in io.helidon.common.mapper
-
A typed value with support for mapping (conversion) to other types.
- or(Supplier<? extends Optional<T>>) - Method in interface io.helidon.common.mapper.OptionalValue
-
If the underlying
Optionaldoes not have a value, set it to theOptionalproduced by the supplying function. - orElse(T) - Method in interface io.helidon.common.mapper.OptionalValue
-
Return the value if present, otherwise return
other. - orElseGet(Supplier<? extends T>) - Method in interface io.helidon.common.mapper.OptionalValue
-
Return the value if present, otherwise invoke
otherand return the result of that invocation. - orElseThrow() - Method in interface io.helidon.common.mapper.OptionalValue
-
If a value is present, returns the value, otherwise throws
NoSuchElementException. - orElseThrow(Supplier<? extends X>) - Method in interface io.helidon.common.mapper.OptionalValue
-
Return the contained value, if present, otherwise throw an exception to be created by the provided supplier.
P
- ProviderResponse(MapperProvider.Support, Mapper<?, ?>) - Constructor for record class io.helidon.common.mapper.spi.MapperProvider.ProviderResponse
-
Creates an instance of a
ProviderResponserecord class.
S
- stream() - Method in interface io.helidon.common.mapper.Value
-
If a value is present, returns a sequential
Streamcontaining only that value, otherwise returns an emptyStream. - support() - Method in record class io.helidon.common.mapper.spi.MapperProvider.ProviderResponse
-
Returns the value of the
supportrecord component. - SUPPORTED - Enum constant in enum class io.helidon.common.mapper.spi.MapperProvider.Support
-
Correct type(s) and expected qualifier.
T
- toString() - Method in record class io.helidon.common.mapper.spi.MapperProvider.ProviderResponse
-
Returns a string representation of this record class.
U
- unsupported() - Static method in record class io.helidon.common.mapper.spi.MapperProvider.ProviderResponse
-
Unsupported provider response.
- UNSUPPORTED - Enum constant in enum class io.helidon.common.mapper.spi.MapperProvider.Support
-
Incorrect type(s).
- useBuiltIn(boolean) - Method in class io.helidon.common.mapper.MapperManager.Builder
-
Whether to use built-in mappers.
V
- Value<T> - Interface in io.helidon.common.mapper
-
A typed value with support for mapping (conversion) to other types.
- valueOf(String) - Static method in enum class io.helidon.common.mapper.spi.MapperProvider.Support
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.helidon.common.mapper.spi.MapperProvider.Support
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages|Serialized Form