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 Classes Modifier and Type Interface Description static class
ServerMessageBodyWriter.AllWriteableMessageBodyWriter
A special super-class of MessageBodyWriters that accepts all types of input.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isWriteable(Class<?> type, Type genericType, ResteasyReactiveResourceInfo target, jakarta.ws.rs.core.MediaType mediaType)
void
writeResponse(T o, Type genericType, ServerRequestContext context)
-
-
-
Method Detail
-
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.WebApplicationException
IOException
-
-