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 boolean
isWriteable(Class<?> type, Type genericType, ResteasyReactiveResourceInfo target, javax.ws.rs.core.MediaType mediaType)
void
writeResponse(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:
isWriteable
in interfaceServerMessageBodyWriter<javax.json.JsonStructure>
-
writeResponse
public void writeResponse(javax.json.JsonStructure o, Type genericType, ServerRequestContext context) throws javax.ws.rs.WebApplicationException
- Specified by:
writeResponse
in interfaceServerMessageBodyWriter<javax.json.JsonStructure>
- Throws:
javax.ws.rs.WebApplicationException
-
-