Uses of Class
io.helidon.media.common.MediaContext
Package
Description
Common classes for processing content with a specific
MediaType
.A reactive client for rest calls.
Reactive web server API.
-
Uses of MediaContext in io.helidon.media.common
Modifier and TypeMethodDescriptionMediaContext.Builder.build()
static MediaContext
MediaContext.create()
Create a new instance with default readers and writers registered to the contexts.static MediaContext
Create a new instance based on the configuration.static MediaContext
MediaContext.empty()
Creates new empty instance without registered defaults.Modifier and TypeMethodDescriptionstatic MessageBodyReaderContext
MessageBodyReaderContext.create
(MediaContext mediaContext, MessageBodyContext.EventListener eventListener, ReadOnlyHeaders headers, Optional<MediaType> contentType) Create a new empty reader context backed by the specified headers.static MessageBodyReaderContext
MessageBodyReaderContext.create
(MediaContext mediaContext, MessageBodyContext.EventListener eventListener, ReadOnlyParameters headers, Optional<MediaType> contentType) Deprecated, for removal: This API element is subject to removal in a future version.static MessageBodyWriterContext
MessageBodyWriterContext.create
(MediaContext mediaContext, MessageBodyContext.EventListener eventListener, Headers headers, List<MediaType> acceptedTypes) Create a new writer context.static MessageBodyWriterContext
MessageBodyWriterContext.create
(MediaContext mediaContext, MessageBodyContext.EventListener eventListener, Parameters headers, List<MediaType> acceptedTypes) Deprecated, for removal: This API element is subject to removal in a future version.UseMessageBodyWriterContext.create(MediaContext, io.helidon.media.common.MessageBodyContext.EventListener, io.helidon.common.http.Headers, java.util.List)
instead, passingHeaders
instead ofParameters
.ParentingMediaContextBuilder.mediaContext
(MediaContext mediaContext) Sets theMediaContext
parent and overrides the existing one.Modifier and TypeMethodDescriptiondefault T
ParentingMediaContextBuilder.mediaContext
(Supplier<MediaContext> mediaContextSupplier) Sets theMediaContext
parent and overrides the existing one. -
Uses of MediaContext in io.helidon.webclient
-
Uses of MediaContext in io.helidon.webserver
MessageBodyReaderContext.create(MediaContext, io.helidon.media.common.MessageBodyContext.EventListener, io.helidon.common.http.ReadOnlyHeaders, java.util.Optional)
instead, passingReadOnlyHeaders
instead ofReadOnlyParameters
.