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

    Fields
    Modifier and Type
    Field
    Description
    (package private) jakarta.xml.bind.Marshaller
     
    (package private) jakarta.ws.rs.ext.Providers
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    marshal(Object o, OutputStream outputStream)
     
    void
    writeResponse(Object o, Type genericType, org.jboss.resteasy.reactive.server.spi.ServerRequestContext context)
     
    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)
     

    Methods inherited from class org.jboss.resteasy.reactive.server.spi.ServerMessageBodyWriter.AllWriteableMessageBodyWriter

    isWriteable, isWriteable

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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.WebApplicationException
      IOException
    • marshal

      protected void marshal(Object o, OutputStream outputStream)