Uses of Class
io.helidon.common.GenericType
Packages that use 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
Methods in io.helidon.codegen that return GenericTypeModifier and TypeMethodDescriptionOption.type()
Type of the option, metadata that can be used to list available options and their types.Methods in io.helidon.codegen with parameters of type GenericTypeModifier 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
Fields in io.helidon.common declared as GenericTypeModifier and TypeFieldDescriptionstatic final GenericType
<Object> GenericType.OBJECT
Generic type for Object.static final GenericType
<String> GenericType.STRING
Generic type for String.Methods in io.helidon.common that return GenericTypeModifier 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
Methods in io.helidon.common.config with parameters of type GenericType -
Uses of GenericType in io.helidon.common.mapper
Methods in io.helidon.common.mapper that return GenericTypeModifier and TypeMethodDescriptiondefault GenericType
<SOURCE> Mapper.sourceType()
Source type of the mapper.default GenericType
<TARGET> Mapper.targetType()
Target type of the mapper.Methods in io.helidon.common.mapper with parameters of type GenericTypeModifier and TypeMethodDescription<S,
T> MapperManager.Builder MapperManager.Builder.addMapper
(Mapper<S, T> mapper, GenericType<S> sourceType, GenericType<T> targetType, double weight, String... qualifiers) Deprecated, for removal: This API element is subject to removal in a future version.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) Deprecated, for removal: This API element is subject to removal in a future version.Add a mapper to the list of mapper.<S,
T> BUILDER MappersConfig.BuilderBase.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> BUILDER MappersConfig.BuilderBase.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
(Mappers mapperManager, String name, GenericType<T> type, String... qualifiers) Create an empty value.static <T> OptionalValue
<T> OptionalValue.create
(Mappers mapperManager, String name, T value, GenericType<T> type, String... qualifiers) Create a value backed by data.static <T> Value
<T> Value.create
(Mappers 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) Deprecated, for removal: This API element is subject to removal in a future version.Map from source to target.<SOURCE,
TARGET>
TARGETMappers.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) Deprecated, for removal: This API element is subject to removal in a future version.Obtain a mapper for the provided types and qualifiers.Mappers.mapper
(GenericType<SOURCE> sourceType, GenericType<TARGET> targetType, String... qualifiers) Obtain a mapper for the provided types and qualifiers.Constructors in io.helidon.common.mapper with parameters of type GenericTypeModifierConstructorDescriptionMapperException
(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
Methods in io.helidon.common.mapper.spi with parameters of type GenericTypeModifier 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
Fields in io.helidon.common.parameters declared as GenericTypeModifier and TypeFieldDescriptionstatic final GenericType
<Parameters> Parameters.GENERIC_TYPE
Generic type for parameters. -
Uses of GenericType in io.helidon.config
Fields in io.helidon.config declared as GenericTypeModifier and TypeFieldDescriptionstatic final GenericType
<Config> Config.GENERIC_TYPE
Generic type of configuration.Methods in io.helidon.config with parameters of type GenericTypeModifier 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
Methods in io.helidon.config.spi that return types with arguments of type GenericTypeModifier and TypeMethodDescriptiondefault Map
<GenericType<?>, BiFunction<Config, ConfigMapper, ?>> ConfigMapperProvider.genericTypeMappers()
Returns a map of mapper functions associated with appropriate target type (GenericType<?>
.Methods in io.helidon.config.spi with parameters of type GenericTypeModifier 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
Fields in io.helidon.dbclient declared as GenericTypeModifier 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.Methods in io.helidon.dbclient with parameters of type GenericTypeModifier 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
Methods in io.helidon.dbclient.spi with parameters of type GenericTypeModifier 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
Methods in io.helidon.http with parameters of type GenericType -
Uses of GenericType in io.helidon.http.media
Methods in io.helidon.http.media with parameters of type GenericTypeModifier 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
Methods in io.helidon.http.media.jackson with parameters of type GenericTypeModifier 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
Methods in io.helidon.http.media.jsonb with parameters of type GenericTypeModifier 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
Fields in io.helidon.http.media.jsonp declared as GenericTypeModifier 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.Methods in io.helidon.http.media.jsonp with parameters of type GenericTypeModifier 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
Fields in io.helidon.http.media.multipart declared as GenericTypeModifier and TypeFieldDescriptionstatic final GenericType
<MultiPart> MultiPart.GENERIC_TYPE
Generic type ofMultiPart
.static final GenericType
<WriteableMultiPart> WriteableMultiPart.GENERIC_TYPE
Generic type for writable multi part.Methods in io.helidon.http.media.multipart with parameters of type GenericTypeModifier 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
Methods in io.helidon.service.registry that return GenericTypeModifier and TypeMethodDescriptionGenericType
<?> Dependency.BuilderBase.contractType()
Generic type equivalent toDependencyBlueprint.contract()
.GenericType
<?> Dependency.BuilderBase.DependencyImpl.contractType()
Methods in io.helidon.service.registry that return types with arguments of type GenericTypeModifier and TypeMethodDescriptionOptional
<GenericType<?>> Lookup.BuilderBase.contractType()
A singleGenericType
can be defined if the lookup should also honorService.QualifiedFactory
services that can handle any type.Optional
<GenericType<?>> Lookup.BuilderBase.LookupImpl.contractType()
Methods in io.helidon.service.registry with parameters of type GenericTypeModifier and TypeMethodDescriptionDependency.BuilderBase.contractType
(GenericType<?> contractType) Generic type equivalent toDependencyBlueprint.contract()
.Lookup.BuilderBase.contractType
(GenericType<?> contractType) A singleGenericType
can be defined if the lookup should also honorService.QualifiedFactory
services that can handle any type.GeneratedService.QualifiedFactoryInterceptionWrapper.first
(Qualifier qualifier, Lookup lookup, GenericType<T> type) Service.QualifiedFactory.first
(Qualifier qualifier, Lookup lookup, GenericType<T> type) Get the first instance (if any) matching the qualifier and type.GeneratedService.QualifiedFactoryInterceptionWrapper.list
(Qualifier qualifier, Lookup lookup, GenericType<T> type) default List
<Service.QualifiedInstance<T>> Service.QualifiedFactory.list
(Qualifier qualifier, Lookup lookup, GenericType<T> type) Get all instances matching the qualifier and type. -
Uses of GenericType in io.helidon.webclient.api
Methods in io.helidon.webclient.api with parameters of type GenericTypeModifier 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
Methods in io.helidon.webclient.spi with parameters of type GenericTypeModifier 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
Fields in io.helidon.webclient.sse declared as GenericTypeModifier and TypeFieldDescriptionstatic final GenericType
<SseSource> SseSource.TYPE
A type representing an SSE source.Methods in io.helidon.webclient.sse with parameters of type GenericTypeModifier and TypeMethodDescriptionboolean
SseSourceHandlerProvider.supports
(GenericType<? extends Source<?>> type, HttpClientResponse response) -
Uses of GenericType in io.helidon.webserver.http
Methods in io.helidon.webserver.http with parameters of type GenericTypeModifier 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
Methods in io.helidon.webserver.http.spi with parameters of type GenericTypeModifier 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
Methods in io.helidon.webserver.http2 with parameters of type GenericTypeModifier and TypeMethodDescriptionprotected <T> T
Http2ServerRequestEntity.entityAs
(GenericType<T> type) -
Uses of GenericType in io.helidon.webserver.sse
Fields in io.helidon.webserver.sse declared as GenericTypeModifier and TypeFieldDescriptionstatic final GenericType
<SseSink> SseSink.TYPE
Type of SSE event sinks.Methods in io.helidon.webserver.sse with parameters of type GenericTypeModifier and TypeMethodDescriptionboolean
SseSinkProvider.supports
(GenericType<? extends Sink<?>> type, ServerRequest request)