Class VertxJsonArrayMessageBodyWriter

  • All Implemented Interfaces:
    jakarta.ws.rs.ext.MessageBodyWriter<io.vertx.core.json.JsonArray>, org.jboss.resteasy.reactive.server.spi.ServerMessageBodyWriter<io.vertx.core.json.JsonArray>

    public class VertxJsonArrayMessageBodyWriter
    extends VertxJsonArrayBasicMessageBodyWriter
    implements org.jboss.resteasy.reactive.server.spi.ServerMessageBodyWriter<io.vertx.core.json.JsonArray>
    • Constructor Detail

      • VertxJsonArrayMessageBodyWriter

        public VertxJsonArrayMessageBodyWriter()
    • Method Detail

      • 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.JsonArray>
      • writeResponse

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