Module io.helidon.media.common
Package io.helidon.media.common
Common classes for processing content with a specific
MediaType.-
Interface Summary Interface Description MessageBodyContent Reactive contract for a message body content.MessageBodyContext.ErrorEvent A subscription event emitted forMessageBodyContext.EventType.BEFORE_ONERRORorMessageBodyContext.EventType.AFTER_ONERRORthat carries the received error.MessageBodyContext.Event Message body content subscription event contract.MessageBodyContext.EventListener Message body content subscription event listener.MessageBodyFilter Reactive contract for processing message body content.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 ofMessageBodyReaderallowing 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 ofMessageBodyWriterallowing to register writer instances in the system. -
Class Summary Class Description ByteChannelBodyWriter Message body writer forReadableByteChannel.CharBuffer A character buffer that acts as aWriterand uses cachedchar[]arrays.CharSequenceBodyWriter Writer forCharSequence.ContentReaders Utility class that provides standalone mechanisms for reading message body content.ContentTypeCharset Deprecated. useMessageBodyContext.charset()insteadContentWriters Utility class that provides standalone mechanisms for writing message body content.FileBodyWriter Message body writer forFile.InputStreamBodyReader Message body reader forInputStream.MediaSupport Media support.MediaSupport.Builder MediaSupport builder.MessageBodyContext Base message body context implementation.MessageBodyReadableContent ReadableMessageBodyContent.MessageBodyReaderContext Reader message body context.MessageBodyWriteableContent Implementation ofWriteableContent.MessageBodyWriterContext Implementation ofMessageBodyWriters.PathBodyWriter Message body writer forPath.PublisherInputStream Ansubscriberthat can subscribe to a source ofByteBufferdata chunks and then make them available for consumption via standard blockingInputStreamAPI.ReadableByteChannelPublisher Publish a channel content to a singlesubscriber.StringBodyReader Message body reader forString.ThrowableBodyWriter Message body writer forThrowable. -
Enum Summary Enum Description MessageBodyContext.EventType Message body content subscription event types.