private static class InboundMessageContext.EntityContent extends EntityInputStream
Type enum and
is used to control the execution of interceptors.| Modifier and Type | Field and Description |
|---|---|
private boolean |
buffered |
| Constructor and Description |
|---|
EntityContent() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
(package private) void |
close(boolean force) |
(package private) boolean |
hasContent() |
(package private) boolean |
isBuffered() |
(package private) void |
setContent(java.io.InputStream content,
boolean buffered) |
available, create, ensureNotClosed, getWrappedStream, isClosed, isEmpty, mark, markSupported, read, read, read, reset, setWrappedStream, skipvoid setContent(java.io.InputStream content,
boolean buffered)
boolean hasContent()
boolean isBuffered()
public void close()
EntityInputStream
The method is customized to not throw an IOException if the close operation fails. Instead,
a warning message is logged.
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class EntityInputStreamvoid close(boolean force)