| java.lang.Object | |
| ↳ | com.microstrategy.webapi.StreamingContext |
Known Direct Subclasses
|
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | CONTENT_LENGTH_NAME | ||||||||||
| int | STREAMING_BUF_SIZE | ||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| protected boolean | _canRedirect | ||||||||||
| protected ContainerServices | _containerServices | ||||||||||
| protected int | _contentLength | ||||||||||
| protected Exception | _ex | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| StreamingContext(ContainerServices cs) | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| boolean | canRedirect() | ||||||||||
| void |
consume(String decode, int contentLength, InputStream src)
Request to a consumer to consume specified number of bytes from the input stream
| ||||||||||
| void |
consume(int contentLength, InputStream src)
Request to a consumer to consume specified number of bytes from the input stream
| ||||||||||
| int | getContextLength() | ||||||||||
| Exception |
getException()
Returns the exception that caused consumption interruption.
| ||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| void | setContentLength(int contentLength) | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.microstrategy.webapi.IContentConsumer
| |||||||||||
Request to a consumer to consume specified number of bytes from the input stream
| decode | decoder charset name |
|---|---|
| contentLength | number of bytes to consume. |
| src | source input stream |
| Exception |
|---|
Request to a consumer to consume specified number of bytes from the input stream
| contentLength | number of bytes to consume. |
|---|---|
| src | source input stream |
| Exception |
|---|
Returns the exception that caused consumption interruption.