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