public interface BodyWriter<T>
Writes beans as content for a specific content type.
- 
Method SummaryModifier and TypeMethodDescriptionWrite the bean as content using the default content type.Write the bean as content with the requested content type.
- 
Method Details- 
writeWrite the bean as content using the default content type.Used when all beans sent via POST, PUT, PATCH will be sent as a single content type like application/json; charset=utf8.
- 
writeWrite the bean as content with the requested content type.The writer is expected to use the given contentType to determine how to write the bean as content. 
 
-