Uses of Class
io.helidon.common.GenericType
Packages that use GenericType
Package
Description
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.
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.common
Fields in io.helidon.common declared as GenericTypeModifier and TypeFieldDescriptionstatic final GenericType<String> GenericType.STRINGGeneric 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 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) 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> NValue.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.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.ProviderResponseMapperProvider.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_TYPEGeneric 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_TYPEGeneric type of configuration.Methods in io.helidon.config with parameters of type GenericTypeModifier and TypeMethodDescription<T> Config.BuilderConfig.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 aConfigValuefor 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> TConfigMapper.map(Config config, GenericType<T> type) Convert the specifiedConfignode into the target type specified byGenericType.<T> TConfigMapper.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_ROWGeneric type for theDbRowclass.static final GenericType<List<?>> DbMapperManager.TYPE_INDEXED_PARAMSGeneric type for theListof indexed parameters.static final GenericType<Map<String, ?>> DbMapperManager.TYPE_NAMED_PARAMSGeneric type for theMapof String to value pairs for named parameters.Methods in io.helidon.dbclient with parameters of type GenericTypeModifier and TypeMethodDescription<TYPE> TDbClientBuilderBase.addMapper(DbMapper<TYPE> dbMapper, GenericType<TYPE> mappedType) <N> Value<N> DbColumnBase.as(GenericType<N> type) <T> TDbRow.as(GenericType<T> type) Map this row to an object using aDbMapper.<T> TDbRowBase.as(GenericType<T> type) <T> TDbColumn.get(GenericType<T> type) Value of this column as a generic type.<T> TDbColumnBase.get(GenericType<T> type) protected <SRC,T> T DbColumnBase.map(SRC value, GenericType<T> type) Map value to target type usingMapper.<T> TDbMapperManager.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> TDbClientBuilder.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> TReadableEntity.as(GenericType<T> type) Get the entity as a specific type.final <T> TReadableEntityBase.as(GenericType<T> type) protected abstract <T> TReadableEntityBase.entityAs(GenericType<T> type) default InstanceWriterEntityWriter.instanceWriter(GenericType<T> type, T object, Headers requestHeaders, WritableHeaders<?> responseHeaders) Server response entity instance writer.default InstanceWriterEntityWriter.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) voidEntityWriter.write(GenericType<T> type, T object, OutputStream outputStream, Headers requestHeaders, WritableHeaders<?> responseHeaders) Write server response entity and close the stream.voidEntityWriter.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_TYPEJson array generic type.static final GenericType<JsonObject> JsonpSupport.JSON_OBJECT_TYPEJson 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_TYPEGeneric type ofMultiPart.static final GenericType<WriteableMultiPart> WriteableMultiPart.GENERIC_TYPEGeneric 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.webclient.api
Methods in io.helidon.webclient.api with parameters of type GenericTypeModifier and TypeMethodDescriptionprotected <T> TClientResponseEntity.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 TypeMethodDescriptionbooleanSourceHandlerProvider.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.TYPEA type representing an SSE source.Methods in io.helidon.webclient.sse with parameters of type GenericTypeModifier and TypeMethodDescriptionbooleanSseSourceHandlerProvider.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> TServerRequestEntity.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 TypeMethodDescriptionbooleanSinkProvider.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> THttp2ServerRequestEntity.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.TYPEType of SSE event sinks.Methods in io.helidon.webserver.sse with parameters of type GenericTypeModifier and TypeMethodDescriptionbooleanSseSinkProvider.supports(GenericType<? extends Sink<?>> type, ServerRequest request)