Package io.micronaut.jaxrs.common
Class JaxRsStreamingOutputMessageBodyWriter<T extends StreamingOutput>
java.lang.Object
io.micronaut.jaxrs.common.JaxRsStreamingOutputMessageBodyWriter<T>
- Type Parameters:
- T- The steaming output
- All Implemented Interfaces:
- MessageBodyWriter<T>
@Prototype
@Internal
public final class JaxRsStreamingOutputMessageBodyWriter<T extends StreamingOutput>
extends Object
implements MessageBodyWriter<T>
The implementation of 
MessageBodyWriter for StreamingOutput.- Since:
- 4.6
- Author:
- Denis Stepanov
- 
Constructor Details- 
JaxRsStreamingOutputMessageBodyWriterpublic JaxRsStreamingOutputMessageBodyWriter()
 
- 
- 
Method Details- 
isWriteablepublic boolean isWriteable(@NonNull @NonNull Argument<T> type, @Nullable @Nullable MediaType mediaType) - Specified by:
- isWriteablein interface- MessageBodyWriter<T extends StreamingOutput>
 
- 
writeTopublic void writeTo(@NonNull @NonNull Argument<T> type, @NonNull @NonNull MediaType mediaType, T streamingOutput, @NonNull @NonNull MutableHeaders outgoingHeaders, @NonNull @NonNull OutputStream outputStream) throws CodecException - Specified by:
- writeToin interface- MessageBodyWriter<T extends StreamingOutput>
- Throws:
- CodecException
 
 
-