Class BasicServerJacksonMessageBodyWriter
java.lang.Object
org.jboss.resteasy.reactive.server.spi.ServerMessageBodyWriter.AllWriteableMessageBodyWriter
io.quarkus.resteasy.reactive.jackson.runtime.serialisers.BasicServerJacksonMessageBodyWriter
- All Implemented Interfaces:
jakarta.ws.rs.ext.MessageBodyWriter<Object>,org.jboss.resteasy.reactive.common.types.AllWriteableMarker,org.jboss.resteasy.reactive.server.spi.ServerMessageBodyWriter<Object>
public class BasicServerJacksonMessageBodyWriter
extends org.jboss.resteasy.reactive.server.spi.ServerMessageBodyWriter.AllWriteableMessageBodyWriter
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static classNested classes/interfaces inherited from interface org.jboss.resteasy.reactive.server.spi.ServerMessageBodyWriter
org.jboss.resteasy.reactive.server.spi.ServerMessageBodyWriter.AllWriteableMessageBodyWriter -
Constructor Summary
ConstructorsConstructorDescriptionBasicServerJacksonMessageBodyWriter(com.fasterxml.jackson.databind.ObjectMapper mapper) -
Method Summary
Modifier and TypeMethodDescriptionvoidwriteResponse(Object o, Type genericType, org.jboss.resteasy.reactive.server.spi.ServerRequestContext context) voidwriteTo(Object o, Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream) Methods inherited from class org.jboss.resteasy.reactive.server.spi.ServerMessageBodyWriter.AllWriteableMessageBodyWriter
isWriteable, isWriteableMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jakarta.ws.rs.ext.MessageBodyWriter
getSize
-
Constructor Details
-
BasicServerJacksonMessageBodyWriter
@Inject public BasicServerJacksonMessageBodyWriter(com.fasterxml.jackson.databind.ObjectMapper mapper)
-
-
Method Details
-
writeResponse
public void writeResponse(Object o, Type genericType, org.jboss.resteasy.reactive.server.spi.ServerRequestContext context) throws jakarta.ws.rs.WebApplicationException, IOException - Throws:
jakarta.ws.rs.WebApplicationExceptionIOException
-
writeTo
public void writeTo(Object o, 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- Throws:
IOExceptionjakarta.ws.rs.WebApplicationException
-