Class VertxJsonObjectMessageBodyReader

  • All Implemented Interfaces:
    javax.ws.rs.ext.MessageBodyReader<io.vertx.core.json.JsonObject>, org.jboss.resteasy.reactive.server.spi.ServerMessageBodyReader<io.vertx.core.json.JsonObject>

    public class VertxJsonObjectMessageBodyReader
    extends VertxJsonObjectBasicMessageBodyReader
    implements org.jboss.resteasy.reactive.server.spi.ServerMessageBodyReader<io.vertx.core.json.JsonObject>
    • Constructor Detail

      • VertxJsonObjectMessageBodyReader

        public VertxJsonObjectMessageBodyReader()
    • Method Detail

      • isReadable

        public boolean isReadable​(Class<?> type,
                                  Type genericType,
                                  org.jboss.resteasy.reactive.server.spi.ResteasyReactiveResourceInfo lazyMethod,
                                  javax.ws.rs.core.MediaType mediaType)
        Specified by:
        isReadable in interface org.jboss.resteasy.reactive.server.spi.ServerMessageBodyReader<io.vertx.core.json.JsonObject>
      • readFrom

        public io.vertx.core.json.JsonObject readFrom​(Class<io.vertx.core.json.JsonObject> type,
                                                      Type genericType,
                                                      javax.ws.rs.core.MediaType mediaType,
                                                      org.jboss.resteasy.reactive.server.spi.ServerRequestContext context)
                                               throws javax.ws.rs.WebApplicationException,
                                                      IOException
        Specified by:
        readFrom in interface org.jboss.resteasy.reactive.server.spi.ServerMessageBodyReader<io.vertx.core.json.JsonObject>
        Throws:
        javax.ws.rs.WebApplicationException
        IOException