Interface ServerMessageBodyWriter<T>
- All Superinterfaces:
jakarta.ws.rs.ext.MessageBodyWriter<T>
- All Known Implementing Classes:
MultipartMessageBodyWriter,ServerByteArrayMessageBodyHandler,ServerCharArrayMessageBodyHandler,ServerFileBodyHandler,ServerFilePartBodyHandler,ServerFormUrlEncodedProvider,ServerInputStreamMessageBodyHandler,ServerJsonArrayHandler,ServerJsonObjectHandler,ServerJsonStructureHandler,ServerJsonValueHandler,ServerMessageBodyWriter.AllWriteableMessageBodyWriter,ServerPathBodyHandler,ServerPathPartBodyHandler,ServerStringMessageBodyHandler,StreamingOutputMessageBodyWriter
public interface ServerMessageBodyWriter<T>
extends jakarta.ws.rs.ext.MessageBodyWriter<T>
Extension of MessageBodyWriter which can write directly to a Vert.x response
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classA special super-class of MessageBodyWriters that accepts all types of input. -
Method Summary
Modifier and TypeMethodDescriptionbooleanisWriteable(Class<?> type, Type genericType, ResteasyReactiveResourceInfo target, jakarta.ws.rs.core.MediaType mediaType) voidwriteResponse(T o, Type genericType, ServerRequestContext context) Methods inherited from interface jakarta.ws.rs.ext.MessageBodyWriter
getSize, isWriteable, writeTo
-
Method Details
-
isWriteable
boolean isWriteable(Class<?> type, Type genericType, ResteasyReactiveResourceInfo target, jakarta.ws.rs.core.MediaType mediaType) -
writeResponse
void writeResponse(T o, Type genericType, ServerRequestContext context) throws jakarta.ws.rs.WebApplicationException, IOException - Throws:
jakarta.ws.rs.WebApplicationExceptionIOException
-