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 long
getSize(jakarta.ws.rs.core.StreamingOutput streamingOutput, Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)
boolean
isWriteable(Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)
boolean
isWriteable(Class<?> type, Type genericType, ResteasyReactiveResourceInfo target, jakarta.ws.rs.core.MediaType mediaType)
void
writeResponse(jakarta.ws.rs.core.StreamingOutput o, Type genericType, ServerRequestContext context)
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)
-
-
-
Method Detail
-
isWriteable
public boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)
- Specified by:
isWriteable
in 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:
isWriteable
in 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:
getSize
in 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:
writeTo
in interfacejakarta.ws.rs.ext.MessageBodyWriter<jakarta.ws.rs.core.StreamingOutput>
- Throws:
IOException
jakarta.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:
writeResponse
in interfaceServerMessageBodyWriter<jakarta.ws.rs.core.StreamingOutput>
- Throws:
jakarta.ws.rs.WebApplicationException
IOException
-
-