Class ServerJsonArrayHandler
java.lang.Object
org.jboss.resteasy.reactive.common.providers.serialisers.jsonp.JsonArrayHandler
org.jboss.resteasy.reactive.server.providers.serialisers.jsonp.ServerJsonArrayHandler
- All Implemented Interfaces:
jakarta.ws.rs.ext.MessageBodyReader<jakarta.json.JsonArray>
,jakarta.ws.rs.ext.MessageBodyWriter<jakarta.json.JsonArray>
,ServerMessageBodyWriter<jakarta.json.JsonArray>
public class ServerJsonArrayHandler
extends JsonArrayHandler
implements ServerMessageBodyWriter<jakarta.json.JsonArray>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jboss.resteasy.reactive.server.spi.ServerMessageBodyWriter
ServerMessageBodyWriter.AllWriteableMessageBodyWriter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isWriteable
(Class<?> type, Type genericType, ResteasyReactiveResourceInfo target, jakarta.ws.rs.core.MediaType mediaType) void
writeResponse
(jakarta.json.JsonArray o, Type genericType, ServerRequestContext context) Methods inherited from class org.jboss.resteasy.reactive.common.providers.serialisers.jsonp.JsonArrayHandler
isReadable, isWriteable, readFrom, writeTo
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, writeTo
-
Constructor Details
-
ServerJsonArrayHandler
public ServerJsonArrayHandler()
-
-
Method Details
-
isWriteable
public boolean isWriteable(Class<?> type, Type genericType, ResteasyReactiveResourceInfo target, jakarta.ws.rs.core.MediaType mediaType) - Specified by:
isWriteable
in interfaceServerMessageBodyWriter<jakarta.json.JsonArray>
-
writeResponse
public void writeResponse(jakarta.json.JsonArray o, Type genericType, ServerRequestContext context) throws jakarta.ws.rs.WebApplicationException - Specified by:
writeResponse
in interfaceServerMessageBodyWriter<jakarta.json.JsonArray>
- Throws:
jakarta.ws.rs.WebApplicationException
-