- All Known Subinterfaces:
ServerResponse
- All Known Implementing Classes:
MessageBodyWriterContext
public interface MessageBodyWriters
Registry of
MessageBodyWriter
allowing to register writer instances
in the system.-
Method Summary
Modifier and TypeMethodDescriptionregisterWriter
(MessageBodyStreamWriter<?> writer) Register a stream writer.registerWriter
(MessageBodyWriter<?> writer) Register a writer.
-
Method Details
-
registerWriter
Register a writer.- Parameters:
writer
- writer to register- Returns:
- Writers
-
registerWriter
Register a stream writer.- Parameters:
writer
- writer to register- Returns:
- Writers
-