Class IntermediateResponsePluginResult
- java.lang.Object
-
- com.unboundid.directory.sdk.ds.types.IntermediateResponsePluginResult
-
- All Implemented Interfaces:
java.io.Serializable
@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class IntermediateResponsePluginResult extends java.lang.Object implements java.io.Serializable
This class defines a structure which may be used to provide information about the result of the processing performed by an intermediate response plugin.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static IntermediateResponsePluginResultSUCCESSA predefined result instance that indicates all processing completed successfully.
-
Constructor Summary
Constructors Constructor Description IntermediateResponsePluginResult(boolean connectionTerminated, boolean continuePluginProcessing, boolean sendIntermediateResponse, boolean continueOperationProcessing)Creates a new intermediate response plugin result with the provided information.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanconnectionTerminated()Indicates whether the client connection was terminated by the plugin.booleancontinueOperationProcessing()Indicates whether to continue processing for the associated operation.booleancontinuePluginProcessing()Indicates whether to continue processing other intermediate response plugins for the associated response.booleansendIntermediateResponse()Indicates whether the associated intermediate response should be returned to the client.java.lang.StringtoString()Retrieves a string representation of this intermediate response plugin result.
-
-
-
Field Detail
-
SUCCESS
public static final IntermediateResponsePluginResult SUCCESS
A predefined result instance that indicates all processing completed successfully.
-
-
Constructor Detail
-
IntermediateResponsePluginResult
public IntermediateResponsePluginResult(boolean connectionTerminated, boolean continuePluginProcessing, boolean sendIntermediateResponse, boolean continueOperationProcessing)
Creates a new intermediate response plugin result with the provided information.- Parameters:
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.
-
-
Method Detail
-
connectionTerminated
public boolean connectionTerminated()
Indicates whether the client connection was terminated by the plugin.- Returns:
trueif the client connection was terminated by the plugin, orfalseif not.
-
continuePluginProcessing
public boolean continuePluginProcessing()
Indicates whether to continue processing other intermediate response plugins for the associated response.- Returns:
trueif the server should continue processing other intermediate response plugins for the associated response, orfalseif not.
-
sendIntermediateResponse
public boolean sendIntermediateResponse()
Indicates whether the associated intermediate response should be returned to the client.- Returns:
trueif the intermediate response should be returned to the client, orfalseif the server should not return the intermediate response to the client.
-
continueOperationProcessing
public boolean continueOperationProcessing()
Indicates whether to continue processing for the associated operation.- Returns:
trueif the server should continue processing for the associated operation, orfalseif not and the operation response should be sent to the client.
-
toString
public java.lang.String toString()
Retrieves a string representation of this intermediate response plugin result.- Overrides:
toStringin classjava.lang.Object- Returns:
- A string representation of this intermediate response plugin result.
-
-