Class StreamingOutputMessageBodyWriter
- java.lang.Object
-
- org.jboss.resteasy.reactive.server.providers.serialisers.StreamingOutputMessageBodyWriter
-
- All Implemented Interfaces:
jakarta.ws.rs.ext.MessageBodyWriter<jakarta.ws.rs.core.StreamingOutput>,ServerMessageBodyWriter<jakarta.ws.rs.core.StreamingOutput>
public class StreamingOutputMessageBodyWriter extends Object implements ServerMessageBodyWriter<jakarta.ws.rs.core.StreamingOutput>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jboss.resteasy.reactive.server.spi.ServerMessageBodyWriter
ServerMessageBodyWriter.AllWriteableMessageBodyWriter
-
-
Constructor Summary
Constructors Constructor Description StreamingOutputMessageBodyWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetSize(jakarta.ws.rs.core.StreamingOutput streamingOutput, Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)booleanisWriteable(Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)booleanisWriteable(Class<?> type, Type genericType, ResteasyReactiveResourceInfo target, jakarta.ws.rs.core.MediaType mediaType)voidwriteResponse(jakarta.ws.rs.core.StreamingOutput o, Type genericType, ServerRequestContext context)voidwriteTo(jakarta.ws.rs.core.StreamingOutput streamingOutput, Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream)
-
-
-
Method Detail
-
isWriteable
public boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)
- Specified by:
isWriteablein interfacejakarta.ws.rs.ext.MessageBodyWriter<jakarta.ws.rs.core.StreamingOutput>
-
isWriteable
public boolean isWriteable(Class<?> type, Type genericType, ResteasyReactiveResourceInfo target, jakarta.ws.rs.core.MediaType mediaType)
- Specified by:
isWriteablein interfaceServerMessageBodyWriter<jakarta.ws.rs.core.StreamingOutput>
-
getSize
public long getSize(jakarta.ws.rs.core.StreamingOutput streamingOutput, Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)- Specified by:
getSizein interfacejakarta.ws.rs.ext.MessageBodyWriter<jakarta.ws.rs.core.StreamingOutput>
-
writeTo
public void writeTo(jakarta.ws.rs.core.StreamingOutput streamingOutput, Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream) throws IOException, jakarta.ws.rs.WebApplicationException- Specified by:
writeToin interfacejakarta.ws.rs.ext.MessageBodyWriter<jakarta.ws.rs.core.StreamingOutput>- Throws:
IOExceptionjakarta.ws.rs.WebApplicationException
-
writeResponse
public void writeResponse(jakarta.ws.rs.core.StreamingOutput o, Type genericType, ServerRequestContext context) throws jakarta.ws.rs.WebApplicationException, IOException- Specified by:
writeResponsein interfaceServerMessageBodyWriter<jakarta.ws.rs.core.StreamingOutput>- Throws:
jakarta.ws.rs.WebApplicationExceptionIOException
-
-