Module io.helidon.media.common
Package io.helidon.media.common
Common classes for processing content with a specific
MediaType
.-
Interface Summary Interface Description MediaContextBuilder<T> Adds methods to support adding readers, writers and media services to the builder.MediaSupport Service used to register readers and writers to the respective context.MessageBodyContent Reactive contract for a message body content.MessageBodyContext.ErrorEvent A subscription event emitted forMessageBodyContext.EventType.BEFORE_ONERROR
orMessageBodyContext.EventType.AFTER_ONERROR
that carries the received error.MessageBodyContext.Event Message body content subscription event contract.MessageBodyContext.EventListener Message body content subscription event listener.MessageBodyFilter Function to filter or replace message body content publisher.MessageBodyFilters Registry ofMessageBodyFilters
.MessageBodyOperator<T extends MessageBodyContext> Conversion operator that can be selected based on a requested type and a message body context.MessageBodyReader<T> Conversion operator that can convert HTTP payload into one object.MessageBodyReaders Registry ofMessageBodyReader
allowing to register reader instances in the system.MessageBodyStreamReader<T> Conversion operator that can convert HTTP payload into a stream of objects.MessageBodyStreamWriter<T> Conversion operator that generate HTTP payload from a stream of objects.MessageBodyWriter<T> Conversion operator that generate HTTP payload from objects.MessageBodyWriters Registry ofMessageBodyWriter
allowing to register writer instances in the system.ParentingMediaContextBuilder<T> Builder ofMediaContext
that can be parented. -
Class Summary Class Description CharBuffer A character buffer that acts as aWriter
and uses cachedchar[]
arrays.ContentReaders Utility class that provides standalone mechanisms for reading message body content.ContentTypeCharset Deprecated. since 2.0.0, useMessageBodyContext.charset()
insteadContentWriters Utility class that provides standalone mechanisms for writing message body content.DataChunkInputStream Provides a bridge between a reactiveFlow.Publisher
in Helidon and anInputStream
in Jersey.DefaultMediaSupport MediaSupport which registers default readers and writers to the contexts.DefaultMediaSupport.Builder Default media support builder.MediaContext Media support.MediaContext.Builder MediaSupport builder.MessageBodyContext Base message body context implementation.MessageBodyReadableContent ReadableMessageBodyContent
.MessageBodyReaderContext Reader message body context.MessageBodyWriterContext Implementation ofMessageBodyWriters
.ReadableByteChannelPublisher Deprecated, for removal: This API element is subject to removal in a future version. Will be removed. -
Enum Summary Enum Description MessageBodyContext.EventType Message body content subscription event types.MessageBodyOperator.PredicateResult Status whether requested class type is supported by the operator.