Class VertxJsonObjectMessageBodyWriter

java.lang.Object
io.quarkus.resteasy.reactive.jackson.runtime.serialisers.vertx.VertxJsonObjectBasicMessageBodyWriter
io.quarkus.resteasy.reactive.jackson.runtime.serialisers.vertx.VertxJsonObjectMessageBodyWriter
All Implemented Interfaces:
jakarta.ws.rs.ext.MessageBodyWriter<io.vertx.core.json.JsonObject>, org.jboss.resteasy.reactive.server.spi.ServerMessageBodyWriter<io.vertx.core.json.JsonObject>

public class VertxJsonObjectMessageBodyWriter extends VertxJsonObjectBasicMessageBodyWriter implements org.jboss.resteasy.reactive.server.spi.ServerMessageBodyWriter<io.vertx.core.json.JsonObject>
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.jboss.resteasy.reactive.server.spi.ServerMessageBodyWriter

    org.jboss.resteasy.reactive.server.spi.ServerMessageBodyWriter.AllWriteableMessageBodyWriter
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isWriteable(Class<?> type, Type genericType, org.jboss.resteasy.reactive.server.spi.ResteasyReactiveResourceInfo target, jakarta.ws.rs.core.MediaType mediaType)
     
    void
    writeResponse(io.vertx.core.json.JsonObject o, Type genericType, org.jboss.resteasy.reactive.server.spi.ServerRequestContext context)
     
    void
    writeTo(io.vertx.core.json.JsonObject 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 io.quarkus.resteasy.reactive.jackson.runtime.serialisers.vertx.VertxJsonObjectBasicMessageBodyWriter

    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, isWriteable
  • Constructor Details

    • VertxJsonObjectMessageBodyWriter

      public VertxJsonObjectMessageBodyWriter()
  • Method Details

    • isWriteable

      public boolean isWriteable(Class<?> type, Type genericType, org.jboss.resteasy.reactive.server.spi.ResteasyReactiveResourceInfo target, jakarta.ws.rs.core.MediaType mediaType)
      Specified by:
      isWriteable in interface org.jboss.resteasy.reactive.server.spi.ServerMessageBodyWriter<io.vertx.core.json.JsonObject>
    • writeResponse

      public void writeResponse(io.vertx.core.json.JsonObject o, Type genericType, org.jboss.resteasy.reactive.server.spi.ServerRequestContext context) throws jakarta.ws.rs.WebApplicationException
      Specified by:
      writeResponse in interface org.jboss.resteasy.reactive.server.spi.ServerMessageBodyWriter<io.vertx.core.json.JsonObject>
      Throws:
      jakarta.ws.rs.WebApplicationException
    • writeTo

      public void writeTo(io.vertx.core.json.JsonObject 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
      Specified by:
      writeTo in interface jakarta.ws.rs.ext.MessageBodyWriter<io.vertx.core.json.JsonObject>
      Overrides:
      writeTo in class VertxJsonObjectBasicMessageBodyWriter
      Throws:
      IOException
      jakarta.ws.rs.WebApplicationException