Uses of Class
io.helidon.common.GenericType
Package
Description
Code generation and processing support.
Common utilities for Helidon projects.
Provides the minimal set of types for immutable, tree-structured configuration access.
Support for mapping of types.
SPI to provide
mappers
for MapperManager
.Support for parameters with multiple values.
Provides interfaces and classes for loading and working with immutable, tree-structured
configuration data.
Configuration SPI that defines the behavior developers can implement to extend the config system.
Helidon Database Client API.
Service provider interface for Helidon Database Client.
HTTP APIs and implementations usable by both server and client side of the HTTP story.
Helidon Media Support.
Jackson media type support.
JSON-Binding Entity Media handling support.
JSON-Processing Entity Media handling support.
Multipart Entity Media handling support.
API required to define services, and to compile the code generated sources for Helidon Service Registry,
with a core service registry implementation (replacement for
ServiceLoader
).Helidon WebClient APIs shared by all types of clients.
Helidon WebClient SPI.
Helidon WebClient SSE Support.
Helidon WebServer HTTP specific APIs.
Helidon WebServer HTTP SPI.
Helidon WebServer HTTP/2 Support.
Helidon WebServer SSE Support.
-
Uses of GenericType in io.helidon.codegen
Modifier and TypeMethodDescriptionOption.type()
Type of the option, metadata that can be used to list available options and their types.Modifier and TypeMethodDescriptionstatic <T> Option
<T> Option.create
(String name, String description, T defaultValue, Function<String, T> mapper, GenericType<T> type) Create a new option with a custom mapper.Option.createList
(String name, String description, List<T> defaultValue, Function<String, T> mapper, GenericType<List<T>> type) Create a new option that has a list of values, with a custom mapper.Option.createSet
(String name, String description, Set<T> defaultValue, Function<String, T> mapper, GenericType<Set<T>> type) Create a new option that has a set of values, with a custom mapper. -
Uses of GenericType in io.helidon.common
Modifier and TypeFieldDescriptionstatic final GenericType
<Object> GenericType.OBJECT
Generic type for Object.static final GenericType
<String> GenericType.STRING
Generic type for String.Modifier and TypeMethodDescriptionstatic <N> GenericType
<N> Constructs a new generic type instance representing the given class.static <N> GenericType
<N> Constructs a new generic type, using the provided generic type information and deriving the class.static <N> GenericType
<N> GenericType.create
(N object) Constructs a new generic type instance representing the class of the given object. -
Uses of GenericType in io.helidon.common.config
-
Uses of GenericType in io.helidon.common.mapper
Modifier and TypeMethodDescription<S,
T> MapperManager.Builder MapperManager.Builder.addMapper
(Mapper<S, T> mapper, GenericType<S> sourceType, GenericType<T> targetType, double weight, String... qualifiers) Add a mapper to the list of mapper with custom priority.<S,
T> MapperManager.Builder MapperManager.Builder.addMapper
(Mapper<S, T> mapper, GenericType<S> sourceType, GenericType<T> targetType, String... qualifiers) Add a mapper to the list of mapper.<N> OptionalValue
<N> OptionalValue.as
(GenericType<N> type) <N> Value
<N> Value.as
(GenericType<N> type) Convert this value to a different type using a mapper.static <T> OptionalValue
<T> OptionalValue.create
(MapperManager mapperManager, String name, GenericType<T> type, String... qualifiers) Create an empty value.static <T> OptionalValue
<T> OptionalValue.create
(MapperManager mapperManager, String name, T value, GenericType<T> type, String... qualifiers) Create a value backed by data.static <T> Value
<T> Value.create
(MapperManager mapperManager, String name, T value, GenericType<T> type, String... qualifiers) Create a value backed by data.default <N> N
Value.get
(GenericType<N> type) Convert this value to a different type using a mapper.<SOURCE,
TARGET>
TARGETMapperManager.map
(SOURCE source, GenericType<SOURCE> sourceType, GenericType<TARGET> targetType, String... qualifiers) Map from source to target.MapperManager.mapper
(GenericType<SOURCE> sourceType, GenericType<TARGET> targetType, String... qualifiers) Obtain a mapper for the provided types and qualifiers.ModifierConstructorDescriptionMapperException
(GenericType<?> source, GenericType<?> target, String detail) Failed with no underlying exception.MapperException
(GenericType<?> source, GenericType<?> target, String detail, Throwable cause) Failed with an underlying exception. -
Uses of GenericType in io.helidon.common.mapper.spi
Modifier and TypeMethodDescriptiondefault MapperProvider.ProviderResponse
MapperProvider.mapper
(GenericType<?> sourceType, GenericType<?> targetType, String qualifier) Find a mapper that is capable of mapping from source to target types. -
Uses of GenericType in io.helidon.common.parameters
Modifier and TypeFieldDescriptionstatic final GenericType
<Parameters> Parameters.GENERIC_TYPE
Generic type for parameters. -
Uses of GenericType in io.helidon.config
Modifier and TypeFieldDescriptionstatic final GenericType
<Config> Config.GENERIC_TYPE
Generic type of configuration.Modifier and TypeMethodDescription<T> Config.Builder
Config.Builder.addMapper
(GenericType<T> type, Function<Config, T> mapper) Register a mapping function for specifiedGenericType
.<T> ConfigValue
<T> Config.as
(GenericType<T> genericType) Typed value as aConfigValue
for a generic type. -
Uses of GenericType in io.helidon.config.spi
Modifier and TypeMethodDescriptiondefault Map
<GenericType<?>, BiFunction<Config, ConfigMapper, ?>> ConfigMapperProvider.genericTypeMappers()
Returns a map of mapper functions associated with appropriate target type (GenericType<?>
.Modifier and TypeMethodDescription<T> T
ConfigMapper.map
(Config config, GenericType<T> type) Convert the specifiedConfig
node into the target type specified byGenericType
.<T> T
ConfigMapper.map
(String value, GenericType<T> type, String key) Converts the value to the target generic type.default <T> Optional
<BiFunction<Config, ConfigMapper, T>> ConfigMapperProvider.mapper
(GenericType<T> type) Mapper for a specific generic type. -
Uses of GenericType in io.helidon.dbclient
Modifier and TypeFieldDescriptionstatic final GenericType
<DbRow> DbMapperManager.TYPE_DB_ROW
Generic type for theDbRow
class.static final GenericType
<List<?>> DbMapperManager.TYPE_INDEXED_PARAMS
Generic type for theList
of indexed parameters.static final GenericType
<Map<String, ?>> DbMapperManager.TYPE_NAMED_PARAMS
Generic type for theMap
of String to value pairs for named parameters.Modifier and TypeMethodDescription<TYPE> T
DbClientBuilderBase.addMapper
(DbMapper<TYPE> dbMapper, GenericType<TYPE> mappedType) <N> Value
<N> DbColumnBase.as
(GenericType<N> type) <T> T
DbRow.as
(GenericType<T> type) Map this row to an object using aDbMapper
.<T> T
DbRowBase.as
(GenericType<T> type) <T> T
DbColumn.get
(GenericType<T> type) Value of this column as a generic type.<T> T
DbColumnBase.get
(GenericType<T> type) protected <SRC,
T> T DbColumnBase.map
(SRC value, GenericType<T> type) Map value to target type usingMapper
.<T> T
DbMapperManager.read
(DbRow row, GenericType<T> expectedType) Read database row into a typed value. -
Uses of GenericType in io.helidon.dbclient.spi
Modifier and TypeMethodDescription<TYPE> T
DbClientBuilder.addMapper
(DbMapper<TYPE> dbMapper, GenericType<TYPE> mappedType) Add a custom mapper with generic types support.DbMapperProvider.mapper
(GenericType<T> type) Returns mapper for specific type supporting generic types as well. -
Uses of GenericType in io.helidon.http
-
Uses of GenericType in io.helidon.http.media
Modifier and TypeMethodDescription<T> T
ReadableEntity.as
(GenericType<T> type) Get the entity as a specific type.final <T> T
ReadableEntityBase.as
(GenericType<T> type) <T> Optional
<T> ReadableEntity.asOptional
(GenericType<T> type) Get the entity as a specific type (optional).<T> Optional
<T> ReadableEntityBase.asOptional
(GenericType<T> type) protected abstract <T> T
ReadableEntityBase.entityAs
(GenericType<T> type) default InstanceWriter
EntityWriter.instanceWriter
(GenericType<T> type, T object, Headers requestHeaders, WritableHeaders<?> responseHeaders) Server response entity instance writer.default InstanceWriter
EntityWriter.instanceWriter
(GenericType<T> type, T object, WritableHeaders<?> requestHeaders) Client request entity instance writer.EntityReader.read
(GenericType<T> type, InputStream stream, Headers headers) Read server request entity and close the stream.EntityReader.read
(GenericType<T> type, InputStream stream, Headers requestHeaders, Headers responseHeaders) Read client response entity and close the stream.<T> MediaSupport.ReaderResponse
<T> FormParamsSupport.reader
(GenericType<T> type, Headers requestHeaders) <T> MediaSupport.ReaderResponse
<T> FormParamsSupport.reader
(GenericType<T> type, Headers requestHeaders, Headers responseHeaders) <T> EntityReader
<T> MediaContext.reader
(GenericType<T> type, Headers headers) Reader for entity.<T> EntityReader
<T> MediaContext.reader
(GenericType<T> type, Headers requestHeaders, Headers responseHeaders) Reader for client response entity.default <T> MediaSupport.ReaderResponse
<T> MediaSupport.reader
(GenericType<T> type, Headers headers) Reader for an entity.default <T> MediaSupport.ReaderResponse
<T> MediaSupport.reader
(GenericType<T> type, Headers requestHeaders, Headers responseHeaders) Client response reader.<T> MediaSupport.ReaderResponse
<T> PathSupport.reader
(GenericType<T> type, Headers requestHeaders) <T> MediaSupport.ReaderResponse
<T> PathSupport.reader
(GenericType<T> type, Headers requestHeaders, Headers responseHeaders) <T> MediaSupport.ReaderResponse
<T> StringSupport.reader
(GenericType<T> type, Headers requestHeaders) <T> MediaSupport.ReaderResponse
<T> StringSupport.reader
(GenericType<T> type, Headers requestHeaders, Headers responseHeaders) void
EntityWriter.write
(GenericType<T> type, T object, OutputStream outputStream, Headers requestHeaders, WritableHeaders<?> responseHeaders) Write server response entity and close the stream.void
EntityWriter.write
(GenericType<T> type, T object, OutputStream outputStream, WritableHeaders<?> headers) Write client request entity and close the stream.<T> MediaSupport.WriterResponse
<T> FormParamsSupport.writer
(GenericType<T> type, Headers requestHeaders, WritableHeaders<?> responseHeaders) <T> MediaSupport.WriterResponse
<T> FormParamsSupport.writer
(GenericType<T> type, WritableHeaders<?> requestHeaders) <T> EntityWriter
<T> MediaContext.writer
(GenericType<T> type, Headers requestHeaders, WritableHeaders<?> responseHeaders) Writer for server response entity.<T> EntityWriter
<T> MediaContext.writer
(GenericType<T> type, WritableHeaders<?> requestHeaders) Writer for client request entity.default <T> MediaSupport.WriterResponse
<T> MediaSupport.writer
(GenericType<T> type, Headers requestHeaders, WritableHeaders<?> responseHeaders) Server response writer.default <T> MediaSupport.WriterResponse
<T> MediaSupport.writer
(GenericType<T> type, WritableHeaders<?> requestHeaders) Client request writer.<T> MediaSupport.WriterResponse
<T> PathSupport.writer
(GenericType<T> type, Headers requestHeaders, WritableHeaders<?> responseHeaders) <T> MediaSupport.WriterResponse
<T> PathSupport.writer
(GenericType<T> type, WritableHeaders<?> requestHeaders) <T> MediaSupport.WriterResponse
<T> StringSupport.writer
(GenericType<T> type, Headers requestHeaders, WritableHeaders<?> responseHeaders) <T> MediaSupport.WriterResponse
<T> StringSupport.writer
(GenericType<T> type, WritableHeaders<?> requestHeaders) -
Uses of GenericType in io.helidon.http.media.jackson
Modifier and TypeMethodDescription<T> MediaSupport.ReaderResponse
<T> JacksonSupport.reader
(GenericType<T> type, Headers requestHeaders) <T> MediaSupport.ReaderResponse
<T> JacksonSupport.reader
(GenericType<T> type, Headers requestHeaders, Headers responseHeaders) <T> MediaSupport.WriterResponse
<T> JacksonSupport.writer
(GenericType<T> type, Headers requestHeaders, WritableHeaders<?> responseHeaders) <T> MediaSupport.WriterResponse
<T> JacksonSupport.writer
(GenericType<T> type, WritableHeaders<?> requestHeaders) -
Uses of GenericType in io.helidon.http.media.jsonb
Modifier and TypeMethodDescription<T> MediaSupport.ReaderResponse
<T> JsonbSupport.reader
(GenericType<T> type, Headers requestHeaders) <T> MediaSupport.ReaderResponse
<T> JsonbSupport.reader
(GenericType<T> type, Headers requestHeaders, Headers responseHeaders) <T> MediaSupport.WriterResponse
<T> JsonbSupport.writer
(GenericType<T> type, Headers requestHeaders, WritableHeaders<?> responseHeaders) <T> MediaSupport.WriterResponse
<T> JsonbSupport.writer
(GenericType<T> type, WritableHeaders<?> requestHeaders) -
Uses of GenericType in io.helidon.http.media.jsonp
Modifier and TypeFieldDescriptionstatic final GenericType
<JsonArray> JsonpSupport.JSON_ARRAY_TYPE
Json array generic type.static final GenericType
<JsonObject> JsonpSupport.JSON_OBJECT_TYPE
Json object generic type.Modifier and TypeMethodDescription<T> MediaSupport.ReaderResponse
<T> JsonpSupport.reader
(GenericType<T> type, Headers requestHeaders) <T> MediaSupport.ReaderResponse
<T> JsonpSupport.reader
(GenericType<T> type, Headers requestHeaders, Headers responseHeaders) <T> MediaSupport.WriterResponse
<T> JsonpSupport.writer
(GenericType<T> type, Headers requestHeaders, WritableHeaders<?> responseHeaders) <T> MediaSupport.WriterResponse
<T> JsonpSupport.writer
(GenericType<T> type, WritableHeaders<?> requestHeaders) -
Uses of GenericType in io.helidon.http.media.multipart
Modifier and TypeFieldDescriptionstatic final GenericType
<MultiPart> MultiPart.GENERIC_TYPE
Generic type ofMultiPart
.static final GenericType
<WriteableMultiPart> WriteableMultiPart.GENERIC_TYPE
Generic type for writable multi part.Modifier and TypeMethodDescription<T> MediaSupport.ReaderResponse
<T> MultiPartSupport.reader
(GenericType<T> type, Headers requestHeaders) <T> MediaSupport.ReaderResponse
<T> MultiPartSupport.reader
(GenericType<T> type, Headers requestHeaders, Headers responseHeaders) <T> MediaSupport.WriterResponse
<T> MultiPartSupport.writer
(GenericType<T> type, Headers requestHeaders, WritableHeaders<?> responseHeaders) <T> MediaSupport.WriterResponse
<T> MultiPartSupport.writer
(GenericType<T> type, WritableHeaders<?> requestHeaders) -
Uses of GenericType in io.helidon.service.registry
Modifier and TypeMethodDescriptionGenericType
<?> Dependency.BuilderBase.contractType()
Generic type equivalent toDependencyBlueprint.contract()
.GenericType
<?> Dependency.BuilderBase.DependencyImpl.contractType()
Modifier and TypeMethodDescriptionDependency.BuilderBase.contractType
(GenericType<?> contractType) Generic type equivalent toDependencyBlueprint.contract()
. -
Uses of GenericType in io.helidon.webclient.api
Modifier and TypeMethodDescriptionprotected <T> T
ClientResponseEntity.entityAs
(GenericType<T> type) default <T extends Source<?>>
voidHttpClientResponse.source
(GenericType<T> sourceType, T source) Registers a source listener for this response. -
Uses of GenericType in io.helidon.webclient.spi
Modifier and TypeMethodDescriptionboolean
SourceHandlerProvider.supports
(GenericType<? extends Source<?>> type, HttpClientResponse response) Checks if a provider supports the type. -
Uses of GenericType in io.helidon.webclient.sse
Modifier and TypeFieldDescriptionstatic final GenericType
<SseSource> SseSource.TYPE
A type representing an SSE source.Modifier and TypeMethodDescriptionboolean
SseSourceHandlerProvider.supports
(GenericType<? extends Source<?>> type, HttpClientResponse response) -
Uses of GenericType in io.helidon.webserver.http
Modifier and TypeMethodDescriptionprotected <T> T
ServerRequestEntity.entityAs
(GenericType<T> type) default <T extends Sink<?>>
TServerResponse.sink
(GenericType<T> sinkType) Returns a sink from this response based on the sink type, if available. -
Uses of GenericType in io.helidon.webserver.http.spi
Modifier and TypeMethodDescriptionboolean
SinkProvider.supports
(GenericType<? extends Sink<?>> type, ServerRequest request) Checks if a provider supports the type. -
Uses of GenericType in io.helidon.webserver.http2
Modifier and TypeMethodDescriptionprotected <T> T
Http2ServerRequestEntity.entityAs
(GenericType<T> type) -
Uses of GenericType in io.helidon.webserver.sse
Modifier and TypeFieldDescriptionstatic final GenericType
<SseSink> SseSink.TYPE
Type of SSE event sinks.Modifier and TypeMethodDescriptionboolean
SseSinkProvider.supports
(GenericType<? extends Sink<?>> type, ServerRequest request)