Class ServerJsonObjectHandler
- java.lang.Object
-
- org.jboss.resteasy.reactive.common.providers.serialisers.jsonp.JsonObjectHandler
-
- org.jboss.resteasy.reactive.server.providers.serialisers.jsonp.ServerJsonObjectHandler
-
- All Implemented Interfaces:
javax.ws.rs.ext.MessageBodyReader<javax.json.JsonObject>
,javax.ws.rs.ext.MessageBodyWriter<javax.json.JsonObject>
,ServerMessageBodyWriter<javax.json.JsonObject>
public class ServerJsonObjectHandler extends JsonObjectHandler implements ServerMessageBodyWriter<javax.json.JsonObject>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jboss.resteasy.reactive.server.spi.ServerMessageBodyWriter
ServerMessageBodyWriter.AllWriteableMessageBodyWriter
-
-
Constructor Summary
Constructors Constructor Description ServerJsonObjectHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isWriteable(Class<?> type, Type genericType, ResteasyReactiveResourceInfo target, javax.ws.rs.core.MediaType mediaType)
void
writeResponse(javax.json.JsonObject o, Type genericType, ServerRequestContext context)
-
Methods inherited from class org.jboss.resteasy.reactive.common.providers.serialisers.jsonp.JsonObjectHandler
isReadable, isWriteable, readFrom, writeTo
-
-
-
-
Method Detail
-
isWriteable
public boolean isWriteable(Class<?> type, Type genericType, ResteasyReactiveResourceInfo target, javax.ws.rs.core.MediaType mediaType)
- Specified by:
isWriteable
in interfaceServerMessageBodyWriter<javax.json.JsonObject>
-
writeResponse
public void writeResponse(javax.json.JsonObject o, Type genericType, ServerRequestContext context) throws javax.ws.rs.WebApplicationException
- Specified by:
writeResponse
in interfaceServerMessageBodyWriter<javax.json.JsonObject>
- Throws:
javax.ws.rs.WebApplicationException
-
-