Uses of Class
io.helidon.common.GenericType
Packages that use GenericType
Package
Description
Common utilities for Helidon projects.
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.
Entity Media handling support.
Jackson media type support.
JSON-Binding Entity Media handling support.
JSON-Processing Entity Media handling support.
Multipart Entity Media handling support.
HTTP/2 WebServer.
Nima SSE webclient package.
Nima SSE webserver.
WebClient APIs shared by all types of clients.
WebClient HTTP source SPI.
WebServer HTTP specific APIs.
WebServer HTTP sink SPI.
Reactive Database API for Helidon.
Helidon DB implementation for JDBC.
Helidon DB integration for reactive mongoDB.
Service provider interface for Helidon DB.
Common classes for processing content with a specific
HttpMediaType.Helidon Reactive Media MultiPart.
A reactive client for rest calls.
-
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.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.<SOURCE,TARGET>
TARGETMapperManager.map(SOURCE source, GenericType<SOURCE> sourceType, GenericType<TARGET> targetType, String... qualifiers) Map from source to target.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.nima.http.media
Methods in io.helidon.nima.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) 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.nima.http.media.jackson
Methods in io.helidon.nima.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.nima.http.media.jsonb
Methods in io.helidon.nima.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.nima.http.media.jsonp
Fields in io.helidon.nima.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.nima.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.nima.http.media.multipart
Fields in io.helidon.nima.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.nima.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.nima.http2.webserver
Methods in io.helidon.nima.http2.webserver with parameters of type GenericTypeModifier and TypeMethodDescriptionprotected <T> THttp2ServerRequestEntity.entityAs(GenericType<T> type) -
Uses of GenericType in io.helidon.nima.sse.webclient
Fields in io.helidon.nima.sse.webclient declared as GenericTypeModifier and TypeFieldDescriptionstatic final GenericType<SseSource>SseSource.TYPEA type representing an SSE source.Methods in io.helidon.nima.sse.webclient with parameters of type GenericTypeModifier and TypeMethodDescriptionbooleanSseSourceHandlerProvider.supports(GenericType<? extends Source<?>> type, ClientResponse response) -
Uses of GenericType in io.helidon.nima.sse.webserver
Fields in io.helidon.nima.sse.webserver declared as GenericTypeModifier and TypeFieldDescriptionstatic final GenericType<SseSink>SseSink.TYPEType of SSE event sinks.Methods in io.helidon.nima.sse.webserver with parameters of type GenericTypeModifier and TypeMethodDescriptionbooleanSseSinkProvider.supports(GenericType<? extends Sink<?>> type, ServerRequest request) -
Uses of GenericType in io.helidon.nima.webclient
Methods in io.helidon.nima.webclient with parameters of type GenericTypeModifier and TypeMethodDescriptionprotected <T> TClientResponseEntity.entityAs(GenericType<T> type) default <T extends Source<?>>
voidClientResponse.source(GenericType<T> sourceType, T source) Registers a source listener for this response. -
Uses of GenericType in io.helidon.nima.webclient.http.spi
Methods in io.helidon.nima.webclient.http.spi with parameters of type GenericTypeModifier and TypeMethodDescriptionbooleanSourceHandlerProvider.supports(GenericType<? extends Source<?>> type, ClientResponse response) Checks if a provider supports the type. -
Uses of GenericType in io.helidon.nima.webserver.http
Methods in io.helidon.nima.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.nima.webserver.http.spi
Methods in io.helidon.nima.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.reactive.dbclient
Fields in io.helidon.reactive.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.reactive.dbclient with parameters of type GenericTypeModifier and TypeMethodDescription<T> TDbColumn.as(GenericType<T> type) Value of this column as a generic type.<T> TDbRow.as(GenericType<T> type) Map this row to an object using aDbMapper.<T> TDbMapperManager.read(DbRow row, GenericType<T> expectedType) Read database row into a typed value. -
Uses of GenericType in io.helidon.reactive.dbclient.jdbc
Methods in io.helidon.reactive.dbclient.jdbc with parameters of type GenericTypeModifier and TypeMethodDescription<TYPE> JdbcDbClientProviderBuilderJdbcDbClientProviderBuilder.addMapper(DbMapper<TYPE> dbMapper, GenericType<TYPE> mappedType) -
Uses of GenericType in io.helidon.reactive.dbclient.mongodb
Methods in io.helidon.reactive.dbclient.mongodb with parameters of type GenericTypeModifier and TypeMethodDescription<TYPE> MongoDbClientProviderBuilderMongoDbClientProviderBuilder.addMapper(DbMapper<TYPE> dbMapper, GenericType<TYPE> mappedType) <T> TMongoDbColumn.as(GenericType<T> type) -
Uses of GenericType in io.helidon.reactive.dbclient.spi
Methods in io.helidon.reactive.dbclient.spi with parameters of type GenericTypeModifier and TypeMethodDescription<TYPE> TDbClientProviderBuilder.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.reactive.media.common
Methods in io.helidon.reactive.media.common that return types with arguments of type GenericTypeModifier and TypeMethodDescriptionOptional<GenericType<?>>MessageBodyContext.Event.entityType()Get the type requested for conversion.Methods in io.helidon.reactive.media.common with parameters of type GenericTypeModifier and TypeMethodDescriptionMessageBodyOperator.accept(GenericType<?> type, T context) Test if the operator can convert the given type.protected Flow.Publisher<DataChunk>MessageBodyContext.applyFilters(Flow.Publisher<DataChunk> publisher, GenericType<?> type) Apply the filters on the given input publisher to form a publisher chain.<T> Single<T>MessageBodyReadableContent.as(GenericType<T> type) Consumes and converts the content payload into a completion stage of the requested type.<T> Multi<T>MessageBodyReadableContent.asStream(GenericType<T> type) Consumes and converts the content payload into a stream of entities of the requested type.MessageBodyStreamWriter.marshall(Flow.Publisher<T> publisher, GenericType<T> type) Create a marshalling function that can be used to marshall the publisher with a context.<T> Flow.Publisher<DataChunk>MessageBodyWriterContext.marshall(Single<T> content, GenericType<T> type) Convert a given input publisher into HTTP payload by selecting a writer that accepts the specified type and current context.<T> Flow.Publisher<DataChunk>MessageBodyWriterContext.marshall(Single<T> content, MessageBodyWriter<T> writer, GenericType<T> type) Convert a given input publisher into HTTP payload by selecting a writer with the specified class.<T> Flow.Publisher<DataChunk>MessageBodyWriterContext.marshallStream(Flow.Publisher<T> content, GenericType<T> type) Convert a given input publisher into HTTP payload by selecting a stream writer that accepts the specified type and current context.<T> Flow.Publisher<DataChunk>MessageBodyWriterContext.marshallStream(Flow.Publisher<T> content, MessageBodyStreamWriter<T> writer, GenericType<T> type) Convert a given input publisher into HTTP payload by selecting a stream writer with the specified class.MessageBodyReader.read(Flow.Publisher<DataChunk> publisher, GenericType<U> type, MessageBodyReaderContext context) Convert a HTTP payload into a Single publisher of the given type.<U extends T>
Flow.Publisher<U>MessageBodyStreamReader.read(Flow.Publisher<DataChunk> publisher, GenericType<U> type, MessageBodyReaderContext context) Convert the given HTTP payload into objects of the given type.MessageBodyOperator.PredicateResult.supports(Class<?> expected, GenericType<?> actual) Whether handled class is supported.MessageBodyReader.unmarshall(MessageBodyReadableContent content, GenericType<T> type) Unmarshall the given content using this reader.<T> Single<T>MessageBodyReaderContext.unmarshall(Flow.Publisher<DataChunk> payload, GenericType<T> type) Convert a given HTTP payload into a publisher by selecting a reader that accepts the specified type and current context.<T> Single<T>MessageBodyReaderContext.unmarshall(Flow.Publisher<DataChunk> payload, MessageBodyReader<T> reader, GenericType<T> type) Convert a given HTTP payload into a publisher by selecting a reader with the specified class.default Flow.Publisher<T>MessageBodyStreamReader.unmarshall(MessageBodyReadableContent content, GenericType<T> type) Unmarshall the given content using this reader.<T> Flow.Publisher<T>MessageBodyReaderContext.unmarshallStream(Flow.Publisher<DataChunk> payload, GenericType<T> type) Convert a given HTTP payload into a publisher by selecting a stream reader that accepts the specified type and current context.<T> Flow.Publisher<T>MessageBodyReaderContext.unmarshallStream(Flow.Publisher<DataChunk> payload, MessageBodyStreamReader<T> reader, GenericType<T> type) Convert a given HTTP payload into a publisher by selecting a stream reader with the payload class.MessageBodyStreamWriter.write(Flow.Publisher<? extends T> publisher, GenericType<? extends T> type, MessageBodyWriterContext context) Generate HTTP payload from the given stream of objects.MessageBodyWriter.write(Single<? extends T> single, GenericType<? extends T> type, MessageBodyWriterContext context) Generate HTTP payload from the objects of the given type. -
Uses of GenericType in io.helidon.reactive.media.multipart
Methods in io.helidon.reactive.media.multipart with parameters of type GenericTypeModifier and TypeMethodDescriptionBodyPartBodyStreamReader.accept(GenericType<?> type, MessageBodyReaderContext context) BodyPartBodyStreamWriter.accept(GenericType<?> type, MessageBodyWriterContext context) MultiPartBodyWriter.accept(GenericType<?> type, MessageBodyWriterContext context) <U extends ReadableBodyPart>
Flow.Publisher<U>BodyPartBodyStreamReader.read(Flow.Publisher<DataChunk> publisher, GenericType<U> type, MessageBodyReaderContext context) BodyPartBodyStreamWriter.write(Flow.Publisher<? extends WriteableBodyPart> content, GenericType<? extends WriteableBodyPart> type, MessageBodyWriterContext context) MultiPartBodyWriter.write(Single<? extends WriteableMultiPart> content, GenericType<? extends WriteableMultiPart> type, MessageBodyWriterContext context) -
Uses of GenericType in io.helidon.reactive.webclient
Methods in io.helidon.reactive.webclient with parameters of type GenericTypeModifier and TypeMethodDescription<T> Single<T>WebClientRequestBuilder.request(GenericType<T> responseType) Performs prepared request and transforms response to requested type.