A Request. that produces content from an InputStream.
The input stream is read once and therefore fully consumed.
It is possible to specify, at the constructor, a buffer size used to read content from the stream, by default 4096 bytes.
The InputStream passed to the constructor is by default closed
when is it fully consumed.
| Modifier and Type | Field and Description |
|---|---|
| private final String |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String |
| contentType | back to summary |
|---|---|
| private final String contentType | |
| InputStreamRequestContent | back to summary |
|---|---|
| public InputStreamRequestContent(InputStream stream) | |
| InputStreamRequestContent | back to summary |
|---|---|
| public InputStreamRequestContent(InputStream stream, int bufferSize) | |
| InputStreamRequestContent | back to summary |
|---|---|
| public InputStreamRequestContent(String contentType, InputStream stream, int bufferSize) | |
| InputStreamRequestContent | back to summary |
|---|---|
| public InputStreamRequestContent(String contentType, InputStream stream) | |
| InputStreamRequestContent | back to summary |
|---|---|
| public InputStreamRequestContent(String contentType, InputStream stream, ByteBufferPool bufferPool) | |
| getContentType | back to summary |
|---|---|
| public String getContentType() Overrides default org.
| |