- 
- Type Parameters:
- T- type or base type supported by the operator
 - All Superinterfaces:
- MessageBodyOperator<MessageBodyWriterContext>
 - All Known Implementing Classes:
- MultiPartBodyWriter
 
 public interface MessageBodyWriter<T> extends MessageBodyOperator<MessageBodyWriterContext> Conversion operator that generate HTTP payload from objects.
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface io.helidon.media.common.MessageBodyOperatorMessageBodyOperator.PredicateResult
 
- 
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Function<MessageBodyWriterContext,Flow.Publisher<DataChunk>>marshall(T value)Create a marshalling function that can be used to marshall the given value with a context.Flow.Publisher<DataChunk>write(Single<? extends T> single, GenericType<? extends T> type, MessageBodyWriterContext context)Generate HTTP payload from the objects of the given type.- 
Methods inherited from interface io.helidon.media.common.MessageBodyOperatoraccept
 
- 
 
- 
- 
- 
Method Detail- 
writeFlow.Publisher<DataChunk> write(Single<? extends T> single, GenericType<? extends T> type, MessageBodyWriterContext context) Generate HTTP payload from the objects of the given type.- Parameters:
- single- object single publisher to convert to payload
- type- requested type
- context- the context providing the headers abstraction
- Returns:
- Publisher of objects
 
 - 
marshalldefault Function<MessageBodyWriterContext,Flow.Publisher<DataChunk>> marshall(T value) Create a marshalling function that can be used to marshall the given value with a context.- Parameters:
- value- value to marshall
- Returns:
- Marshalling function
 
 
- 
 
-