public static interface Body.Writer.Text
Modifier and Type | Method and Description |
---|---|
void |
write(Writer writer)
Write text into the given
Writer . |
void write(Writer writer) throws Exception
Writer
. The Writer
will be
close it automatically after this call. Clients shouldn't worry about closing the
Body.Writer
. The writer is configured with the application/request charset.writer
- The HTTP response body.Exception
- When the operation fails.Copyright © 2015. All rights reserved.