Class ServerJaxbMessageBodyWriter
java.lang.Object
org.jboss.resteasy.reactive.server.spi.ServerMessageBodyWriter.AllWriteableMessageBodyWriter
io.quarkus.resteasy.reactive.jaxb.runtime.serialisers.ServerJaxbMessageBodyWriter
- 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 ServerJaxbMessageBodyWriter
extends org.jboss.resteasy.reactive.server.spi.ServerMessageBodyWriter.AllWriteableMessageBodyWriter
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jboss.resteasy.reactive.server.spi.ServerMessageBodyWriter
org.jboss.resteasy.reactive.server.spi.ServerMessageBodyWriter.AllWriteableMessageBodyWriter -
Field Summary
FieldsModifier and TypeFieldDescription(package private) jakarta.xml.bind.Marshaller(package private) jakarta.ws.rs.ext.Providers -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidmarshal(Object o, OutputStream outputStream) voidwriteResponse(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
-
Field Details
-
marshaller
@Inject jakarta.xml.bind.Marshaller marshaller -
providers
@Context jakarta.ws.rs.ext.Providers providers
-
-
Constructor Details
-
ServerJaxbMessageBodyWriter
public ServerJaxbMessageBodyWriter()
-
-
Method Details
-
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 jakarta.ws.rs.WebApplicationException- Throws:
jakarta.ws.rs.WebApplicationException
-
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
-
marshal
-