public static interface OutboundMessageContext.StreamProvider
| Modifier and Type | Method and Description | 
|---|---|
| OutputStream | getOutputStream(int contentLength)Get the output stream. | 
OutputStream getOutputStream(int contentLength) throws IOException
writer interceptors are called and written entity is buffered
 into the buffer or the buffer exceeds.contentLength - the size of the buffered entity or -1 if the entity exceeded the maximum buffer
                      size or if the buffering is disabled.message body writers
 but the output will be ignored).IOException - in case of an IO error.Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.