Class ServerMutinyAsyncFileMessageBodyWriter
- java.lang.Object
-
- org.jboss.resteasy.reactive.server.vertx.serializers.ServerMutinyAsyncFileMessageBodyWriter
-
- All Implemented Interfaces:
javax.ws.rs.ext.MessageBodyWriter<io.vertx.mutiny.core.file.AsyncFile>
,ServerMessageBodyWriter<io.vertx.mutiny.core.file.AsyncFile>
@Provider public class ServerMutinyAsyncFileMessageBodyWriter extends Object implements ServerMessageBodyWriter<io.vertx.mutiny.core.file.AsyncFile>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jboss.resteasy.reactive.server.spi.ServerMessageBodyWriter
ServerMessageBodyWriter.AllWriteableMessageBodyWriter
-
-
Constructor Summary
Constructors Constructor Description ServerMutinyAsyncFileMessageBodyWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isWriteable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
boolean
isWriteable(Class<?> type, Type genericType, ResteasyReactiveResourceInfo target, javax.ws.rs.core.MediaType mediaType)
void
writeResponse(io.vertx.mutiny.core.file.AsyncFile file, Type genericType, ServerRequestContext context)
void
writeTo(io.vertx.mutiny.core.file.AsyncFile asyncFile, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream)
-
-
-
Method Detail
-
isWriteable
public boolean isWriteable(Class<?> type, Type genericType, ResteasyReactiveResourceInfo target, javax.ws.rs.core.MediaType mediaType)
- Specified by:
isWriteable
in interfaceServerMessageBodyWriter<io.vertx.mutiny.core.file.AsyncFile>
-
isWriteable
public boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
- Specified by:
isWriteable
in interfacejavax.ws.rs.ext.MessageBodyWriter<io.vertx.mutiny.core.file.AsyncFile>
-
writeResponse
public void writeResponse(io.vertx.mutiny.core.file.AsyncFile file, Type genericType, ServerRequestContext context) throws javax.ws.rs.WebApplicationException
- Specified by:
writeResponse
in interfaceServerMessageBodyWriter<io.vertx.mutiny.core.file.AsyncFile>
- Throws:
javax.ws.rs.WebApplicationException
-
writeTo
public void writeTo(io.vertx.mutiny.core.file.AsyncFile asyncFile, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream) throws IOException, javax.ws.rs.WebApplicationException
- Specified by:
writeTo
in interfacejavax.ws.rs.ext.MessageBodyWriter<io.vertx.mutiny.core.file.AsyncFile>
- Throws:
IOException
javax.ws.rs.WebApplicationException
-
-