Uses of Class
io.helidon.media.common.MessageBodyWriterContext
-
Packages that use MessageBodyWriterContext Package Description io.helidon.media.common Common classes for processing content with a specificMediaType
.io.helidon.media.multipart Helidon Media MultiPart.io.helidon.webclient A reactive client for rest calls.io.helidon.webserver Reactive web server API. -
-
Uses of MessageBodyWriterContext in io.helidon.media.common
Methods in io.helidon.media.common that return MessageBodyWriterContext Modifier and Type Method Description static MessageBodyWriterContext
MessageBodyWriterContext. create()
Create a new empty writer context backed by empty read-only headers.static MessageBodyWriterContext
MessageBodyWriterContext. create(Parameters headers)
Create a new empty writer context backed by the specified headers.static MessageBodyWriterContext
MessageBodyWriterContext. create(MediaContext mediaContext, MessageBodyContext.EventListener eventListener, Parameters headers, List<MediaType> acceptedTypes)
Create a new writer context.static MessageBodyWriterContext
MessageBodyWriterContext. create(MessageBodyWriterContext parent)
Create a new parented writer context.static MessageBodyWriterContext
MessageBodyWriterContext. create(MessageBodyWriterContext parent, Parameters headers)
Create a new parented writer context backed by the specified headers.static MessageBodyWriterContext
MessageBodyWriterContext. create(MessageBodyWriterContext parent, MessageBodyContext.EventListener eventListener, Parameters headers, List<MediaType> acceptedTypes)
Create a new writer context.MessageBodyWriterContext
MessageBodyWriterContext. registerWriter(MessageBodyStreamWriter<?> writer)
MessageBodyWriterContext
MessageBodyWriterContext. registerWriter(MessageBodyWriter<?> writer)
<T> MessageBodyWriterContext
MessageBodyWriterContext. registerWriter(Class<T> type, MediaType contentType, Function<? extends T,Flow.Publisher<DataChunk>> function)
Deprecated.since 2.0.0, useregisterWriter(MessageBodyWriter)
instead<T> MessageBodyWriterContext
MessageBodyWriterContext. registerWriter(Class<T> type, Function<T,Flow.Publisher<DataChunk>> function)
Deprecated.since 2.0.0, useregisterWriter(MessageBodyWriter)
instead<T> MessageBodyWriterContext
MessageBodyWriterContext. registerWriter(Predicate<?> accept, MediaType contentType, Function<T,Flow.Publisher<DataChunk>> function)
Deprecated.since 2.0.0, useregisterWriter(MessageBodyWriter)
instead<T> MessageBodyWriterContext
MessageBodyWriterContext. registerWriter(Predicate<?> accept, Function<T,Flow.Publisher<DataChunk>> function)
Deprecated.since 2.0.0 useregisterWriter(MessageBodyWriter)
insteadMessageBodyWriterContext
MediaContext. writerContext()
Get the configured writer context.Methods in io.helidon.media.common that return types with arguments of type MessageBodyWriterContext Modifier and Type Method Description default Function<MessageBodyWriterContext,Flow.Publisher<DataChunk>>
MessageBodyStreamWriter. marshall(Flow.Publisher<T> publisher, GenericType<T> type)
Create a marshalling function that can be used to marshall the publisher with a context.default Function<MessageBodyWriterContext,Flow.Publisher<DataChunk>>
MessageBodyWriter. marshall(T value)
Create a marshalling function that can be used to marshall the given value with a context.Methods in io.helidon.media.common with parameters of type MessageBodyWriterContext Modifier and Type Method Description static MessageBodyWriterContext
MessageBodyWriterContext. create(MessageBodyWriterContext parent)
Create a new parented writer context.static MessageBodyWriterContext
MessageBodyWriterContext. create(MessageBodyWriterContext parent, Parameters headers)
Create a new parented writer context backed by the specified headers.static MessageBodyWriterContext
MessageBodyWriterContext. create(MessageBodyWriterContext parent, MessageBodyContext.EventListener eventListener, Parameters headers, List<MediaType> acceptedTypes)
Create a new writer context.default void
MediaSupport. register(MessageBodyReaderContext readerContext, MessageBodyWriterContext writerContext)
Method used to register readers and writers.Flow.Publisher<DataChunk>
MessageBodyStreamWriter. write(Flow.Publisher<? extends T> publisher, GenericType<? extends T> type, MessageBodyWriterContext context)
Generate HTTP payload from the given stream of objects.Flow.Publisher<DataChunk>
MessageBodyWriter. write(Single<? extends T> single, GenericType<? extends T> type, MessageBodyWriterContext context)
Generate HTTP payload from the objects of the given type. -
Uses of MessageBodyWriterContext in io.helidon.media.multipart
Methods in io.helidon.media.multipart with parameters of type MessageBodyWriterContext Modifier and Type Method Description MessageBodyOperator.PredicateResult
BodyPartBodyStreamWriter. accept(GenericType<?> type, MessageBodyWriterContext context)
MessageBodyOperator.PredicateResult
MultiPartBodyWriter. accept(GenericType<?> type, MessageBodyWriterContext context)
static MultiPartEncoder
MultiPartEncoder. create(String boundary, MessageBodyWriterContext context)
Create a multipart encoder.WriteableBodyPartContent
WriteableBodyPartContent. init(MessageBodyWriterContext context)
Initialize the body part content.Flow.Publisher<DataChunk>
BodyPartBodyStreamWriter. write(Flow.Publisher<? extends WriteableBodyPart> content, GenericType<? extends WriteableBodyPart> type, MessageBodyWriterContext context)
Flow.Publisher<DataChunk>
MultiPartBodyWriter. write(Single<? extends WriteableMultiPart> content, GenericType<? extends WriteableMultiPart> type, MessageBodyWriterContext context)
-
Uses of MessageBodyWriterContext in io.helidon.webclient
Methods in io.helidon.webclient that return MessageBodyWriterContext Modifier and Type Method Description MessageBodyWriterContext
WebClientRequestBuilder. writerContext()
Returns writer context of the request builder.Method parameters in io.helidon.webclient with type arguments of type MessageBodyWriterContext Modifier and Type Method Description Single<WebClientResponse>
WebClientRequestBuilder. submit(Function<MessageBodyWriterContext,Flow.Publisher<DataChunk>> function)
Performs prepared request and submitting request entity using a marshalling function. -
Uses of MessageBodyWriterContext in io.helidon.webserver
Methods in io.helidon.webserver that return MessageBodyWriterContext Modifier and Type Method Description MessageBodyWriterContext
ServerResponse. writerContext()
Get the writer context used to marshall data.MessageBodyWriterContext
WebServer. writerContext()
Get the parentMessageBodyWriterContext
context.Method parameters in io.helidon.webserver with type arguments of type MessageBodyWriterContext Modifier and Type Method Description Single<ServerResponse>
ServerResponse. send(Function<MessageBodyWriterContext,Flow.Publisher<DataChunk>> function)
Send a message using the given marshalling function.
-