@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class IntermediateResponsePluginResult extends java.lang.Object implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static IntermediateResponsePluginResult |
SUCCESS
A predefined result instance that indicates all processing completed
successfully.
|
Constructor and Description |
---|
IntermediateResponsePluginResult(boolean connectionTerminated,
boolean continuePluginProcessing,
boolean sendIntermediateResponse,
boolean continueOperationProcessing)
Creates a new intermediate response plugin result with the provided
information.
|
Modifier and Type | Method and Description |
---|---|
boolean |
connectionTerminated()
Indicates whether the client connection was terminated by the plugin.
|
boolean |
continueOperationProcessing()
Indicates whether to continue processing for the associated operation.
|
boolean |
continuePluginProcessing()
Indicates whether to continue processing other intermediate response
plugins for the associated response.
|
boolean |
sendIntermediateResponse()
Indicates whether the associated intermediate response should be returned
to the client.
|
java.lang.String |
toString()
Retrieves a string representation of this intermediate response plugin
result.
|
public static final IntermediateResponsePluginResult SUCCESS
public IntermediateResponsePluginResult(boolean connectionTerminated, boolean continuePluginProcessing, boolean sendIntermediateResponse, boolean continueOperationProcessing)
connectionTerminated
- Indicates whether the client
connection was terminated by the
plugin.continuePluginProcessing
- Indicates whether to continue
processing other intermediate response
plugins for the associated response.sendIntermediateResponse
- Indicates whether to send the
intermediate response to the client.continueOperationProcessing
- Indicates whether to continue
processing the associated operation.public boolean connectionTerminated()
true
if the client connection was terminated by the
plugin, or false
if not.public boolean continuePluginProcessing()
true
if the server should continue processing other
intermediate response plugins for the associated response, or
false
if not.public boolean sendIntermediateResponse()
true
if the intermediate response should be returned to
the client, or false
if the server should not return the
intermediate response to the client.public boolean continueOperationProcessing()
true
if the server should continue processing for the
associated operation, or false
if not and the operation
response should be sent to the client.public java.lang.String toString()
toString
in class java.lang.Object