@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class PreParsePluginResult extends java.lang.Object implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static PreParsePluginResult |
SUCCESS
A predefined result instance that indicates all processing completed
successfully.
|
Constructor and Description |
---|
PreParsePluginResult(boolean connectionTerminated,
boolean continuePluginProcessing,
boolean sendResponseImmediately,
boolean skipCoreProcessing)
Creates a new pre-parse 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 |
continuePluginProcessing()
Indicates whether to continue processing other pre-parse plugins for the
operation.
|
boolean |
sendResponseImmediately()
Indicates whether the server should send a response to the client
immediately without performing any core processing.
|
boolean |
skipCoreProcessing()
Indicates whether the server should skip the core processing for the
operation.
|
java.lang.String |
toString()
Retrieves a string representation of this pre-parse plugin result.
|
public static final PreParsePluginResult SUCCESS
public PreParsePluginResult(boolean connectionTerminated, boolean continuePluginProcessing, boolean sendResponseImmediately, boolean skipCoreProcessing)
connectionTerminated
- Indicates whether the client connection
was terminated by the plugin.continuePluginProcessing
- Indicates whether to continue processing
other pre-parse plugins for the
operation.sendResponseImmediately
- Indicates whether to send the response
to the client immediately without
performing any of the core processing.skipCoreProcessing
- Indicates whether the server should skip
the core processing for the operation.
If this is true
but
sendResponseImmediately
is
false
, then any post-operation
plugins will still be invoked.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
pre-parse plugins for the operation, or false
if not.public boolean sendResponseImmediately()
true
if the server should send a response to the client
immediately withoutpublic boolean skipCoreProcessing()
true
if the server should skip the core processing for the
operation, or false
if not.public java.lang.String toString()
toString
in class java.lang.Object