java.lang.Object | |
↳ | com.microstrategy.web.controller.TaskProcessorRequestState |
The RequestState
object to used by the Task Processor.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
TaskProcessorRequestState()
Creates a new TaskProcessorRequestState object.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean |
failure()
Returns whether the incoming request was a failure or not.
| ||||||||||
ContainerServices | getContainerServices() | ||||||||||
TaskOutput |
getGeneratedContent()
Returns the generated content for the task request.
| ||||||||||
String |
getProcessRequestErrorMessage()
Returns the error message associated with this process request.
| ||||||||||
int |
getProcessRequestStatusCode()
Returns the status code associated the task request.
| ||||||||||
Integer |
getProcessRequestTaskErrorCode()
Returns the task error code, if set.
| ||||||||||
RequestKeys |
getRequestKeys()
Returns the RequestKeys associated with this Task request.
| ||||||||||
TaskProcessor.TaskInvoker |
getTaskInvoker()
Returns task invoker role behind the request.
| ||||||||||
boolean | isCompressionEnabled() | ||||||||||
boolean | requestIsComplete() | ||||||||||
boolean |
serializeBinaryContent()
Whether the Task Processor Controller should attempt to serialize binary content
generated by a Task directly to the Output Stream.
| ||||||||||
void | setCompressionEnabled(boolean compressionEnabled) | ||||||||||
void | setContainerServices(ContainerServices cs) | ||||||||||
void |
setGeneratedContent(TaskOutput taskOutput)
Sets the generated content for the task request.
| ||||||||||
void |
setProcessRequestErrorMessage(String errMsg)
Sets the error message associated with this process request.
| ||||||||||
void |
setProcessRequestStatusCode(int statusCode)
Sets the status code associated the task request.
| ||||||||||
void |
setProcessRequestTaskErrorCode(Integer taskErrorCode)
Sets the task-specific error code.
| ||||||||||
void |
setRequestIsComplete(boolean isComplete)
Indicates whether the request is complete--that is, fully sent to the output
stream by the Task.
| ||||||||||
void |
setRequestKeys(RequestKeys requestKeys)
Sets the RequestKeys associated with this Task request.
| ||||||||||
void |
setSerializeBinaryContent(boolean serialize)
Sets whether the Task Processor Controller should serialize binary content generated
by a Task directly to the Output Stream.
| ||||||||||
void |
setTaskInvoker(TaskProcessor.TaskInvoker taskInvoker)
Sets task invoker role to facilitate authorization in task displaying and execution.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Creates a new TaskProcessorRequestState object.
Returns whether the incoming request was a failure or not.
Returns the generated content for the task request.
TaskOutput
.
Returns the error message associated with this process request.
Returns the status code associated the task request.
Returns the task error code, if set.
Returns the RequestKeys associated with this Task request.
RequestKeys
object associated with this request.
Whether the Task Processor Controller should attempt to serialize binary content generated by a Task directly to the Output Stream. By default, it is true.
TaskProcessorController
is going to serialize binary content
directly; otherwise, false.Sets the generated content for the task request.
taskOutput | The generated content for the task request. |
---|
Sets the error message associated with this process request.
errMsg | The error message associated with this process request. |
---|
Sets the status code associated the task request.
statusCode | The status code associated the task request. |
---|
Sets the task-specific error code.
taskErrorCode | The task-specific error code. |
---|
Indicates whether the request is complete--that is, fully sent to the output stream by the Task.
isComplete | True if the Task has fully completed the request, sending all content to the output stream; otherwise, False indicates that the Task Processor Controller must act to complete the request. |
---|
Sets the RequestKeys associated with this Task request.
requestKeys | The RequestKeys object to use with this Task request. |
---|
Sets whether the Task Processor Controller should serialize binary content generated by a Task directly to the Output Stream. By default, it is true.
serialize | True to cause the TaskProcessorController to serialize binary
content to the OutputStream; False causes it to remain in the MarkupOutput. |
---|
Sets task invoker role to facilitate authorization in task displaying and execution.
taskInvoker | the task invoker TaskProcessor.TaskInvoker
|
---|