Class VertxJsonObjectBasicMessageBodyReader

  • All Implemented Interfaces:
    jakarta.ws.rs.ext.MessageBodyReader<io.vertx.core.json.JsonObject>

    public class VertxJsonObjectBasicMessageBodyReader
    extends org.jboss.resteasy.reactive.common.providers.serialisers.PrimitiveBodyHandler
    implements jakarta.ws.rs.ext.MessageBodyReader<io.vertx.core.json.JsonObject>
    • Constructor Detail

      • VertxJsonObjectBasicMessageBodyReader

        public VertxJsonObjectBasicMessageBodyReader()
    • Method Detail

      • isReadable

        public boolean isReadable​(Class<?> type,
                                  Type genericType,
                                  Annotation[] annotations,
                                  jakarta.ws.rs.core.MediaType mediaType)
        Specified by:
        isReadable in interface jakarta.ws.rs.ext.MessageBodyReader<io.vertx.core.json.JsonObject>
      • isReadable

        protected boolean isReadable​(Class<?> type)
      • readFrom

        public io.vertx.core.json.JsonObject readFrom​(Class<io.vertx.core.json.JsonObject> type,
                                                      Type genericType,
                                                      Annotation[] annotations,
                                                      jakarta.ws.rs.core.MediaType mediaType,
                                                      jakarta.ws.rs.core.MultivaluedMap<String,​String> httpHeaders,
                                                      InputStream entityStream)
                                               throws IOException,
                                                      jakarta.ws.rs.WebApplicationException
        Specified by:
        readFrom in interface jakarta.ws.rs.ext.MessageBodyReader<io.vertx.core.json.JsonObject>
        Throws:
        IOException
        jakarta.ws.rs.WebApplicationException