Class VertxJsonObjectBasicMessageBodyWriter
java.lang.Object
io.quarkus.resteasy.reactive.jackson.runtime.serialisers.vertx.VertxJsonObjectBasicMessageBodyWriter
- All Implemented Interfaces:
jakarta.ws.rs.ext.MessageBodyWriter<io.vertx.core.json.JsonObject>
public class VertxJsonObjectBasicMessageBodyWriter
extends Object
implements jakarta.ws.rs.ext.MessageBodyWriter<io.vertx.core.json.JsonObject>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanisWriteable(Class<?> type) booleanisWriteable(Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType) voidwriteTo(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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jakarta.ws.rs.ext.MessageBodyWriter
getSize
-
Constructor Details
-
VertxJsonObjectBasicMessageBodyWriter
public VertxJsonObjectBasicMessageBodyWriter()
-
-
Method Details
-
isWriteable
public boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType) - Specified by:
isWriteablein interfacejakarta.ws.rs.ext.MessageBodyWriter<io.vertx.core.json.JsonObject>
-
isWriteable
-
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:
writeToin interfacejakarta.ws.rs.ext.MessageBodyWriter<io.vertx.core.json.JsonObject>- Throws:
IOExceptionjakarta.ws.rs.WebApplicationException
-