Uses of Class
io.helidon.media.common.MessageBodyReaderContext
Package
Description
Common classes for processing content with a specific
MediaType
.Helidon Media MultiPart.
A reactive client for rest calls.
Reactive web server API.
-
Uses of MessageBodyReaderContext in io.helidon.media.common
Modifier and TypeMethodDescriptionstatic MessageBodyReaderContext
MessageBodyReaderContext.create()
Create a new empty reader context backed by empty read-only headers.static 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 MessageBodyReaderContext
MessageBodyReaderContext.create
(MessageBodyReaderContext parent) Creates a new parented reader context.static MessageBodyReaderContext
MessageBodyReaderContext.create
(MessageBodyReaderContext parent, MessageBodyContext.EventListener eventListener, ReadOnlyHeaders headers, Optional<MediaType> contentType) Create a new empty reader context backed by the specified headers.static MessageBodyReaderContext
MessageBodyReaderContext.create
(MessageBodyReaderContext parent, MessageBodyContext.EventListener eventListener, ReadOnlyParameters headers, Optional<MediaType> contentType) Deprecated, for removal: This API element is subject to removal in a future version.Usecreate(MessageBodyReaderContext, io.helidon.media.common.MessageBodyContext.EventListener, io.helidon.common.http.ReadOnlyHeaders, java.util.Optional)
instead, passingReadOnlyHeaders
instead ofReadOnlyParameters
.MediaContext.readerContext()
Get the configured reader context.MessageBodyReadableContent.readerContext()
Get the reader context used to unmarshall data.MessageBodyReaderContext.registerReader
(MessageBodyReader<?> reader) MessageBodyReaderContext.registerReader
(MessageBodyStreamReader<?> reader) Modifier and TypeMethodDescriptionstatic MessageBodyReadableContent
MessageBodyReadableContent.create
(Flow.Publisher<DataChunk> publisher, MessageBodyReaderContext context) Create a new readable content backed by the given publisher and context.static MessageBodyReaderContext
MessageBodyReaderContext.create
(MessageBodyReaderContext parent) Creates a new parented reader context.static MessageBodyReaderContext
MessageBodyReaderContext.create
(MessageBodyReaderContext parent, MessageBodyContext.EventListener eventListener, ReadOnlyHeaders headers, Optional<MediaType> contentType) Create a new empty reader context backed by the specified headers.static MessageBodyReaderContext
MessageBodyReaderContext.create
(MessageBodyReaderContext parent, MessageBodyContext.EventListener eventListener, ReadOnlyParameters headers, Optional<MediaType> contentType) Deprecated, for removal: This API element is subject to removal in a future version.Usecreate(MessageBodyReaderContext, io.helidon.media.common.MessageBodyContext.EventListener, io.helidon.common.http.ReadOnlyHeaders, java.util.Optional)
instead, passingReadOnlyHeaders
instead ofReadOnlyParameters
.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.default void
MediaSupport.register
(MessageBodyReaderContext readerContext, MessageBodyWriterContext writerContext) Method used to register readers and writers. -
Uses of MessageBodyReaderContext in io.helidon.media.multipart
Modifier and TypeMethodDescriptionBodyPartBodyStreamReader.accept
(GenericType<?> type, MessageBodyReaderContext context) static MultiPartDecoder
MultiPartDecoder.create
(String boundary, MessageBodyReaderContext context) Create a new multipart decoder.<U extends ReadableBodyPart>
Flow.Publisher<U>BodyPartBodyStreamReader.read
(Flow.Publisher<DataChunk> publisher, GenericType<U> type, MessageBodyReaderContext context) -
Uses of MessageBodyReaderContext in io.helidon.webclient
Modifier and TypeMethodDescriptionWebClientRequestBuilder.readerContext()
Returns reader context of the request builder. -
Uses of MessageBodyReaderContext in io.helidon.webserver
Modifier and TypeMethodDescriptionWebServer.readerContext()
Get the parentMessageBodyReaderContext
context.
create(MediaContext, io.helidon.media.common.MessageBodyContext.EventListener, io.helidon.common.http.ReadOnlyHeaders, java.util.Optional)
instead, passingReadOnlyHeaders
instead ofReadOnlyParameters
.