@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class JSONOperationPurposeRequestControl extends java.lang.Object implements java.io.Serializable
NOTE: This class, and other classes within the
com.unboundid.ldap.sdk.unboundidds
package structure, are only
supported for use against Ping Identity, UnboundID, and
Nokia/Alcatel-Lucent 8661 server products. These classes provide support
for proprietary functionality or for external specifications that are not
considered stable or mature enough to be guaranteed to work in an
interoperable way with other types of LDAP servers.
Constructor and Description |
---|
JSONOperationPurposeRequestControl(JSONObject controlObject)
Creates a new JSON operation purpose request control that is decoded from
the provided JSON object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getApplicationName()
Retrieves the name of the application that generated this control.
|
java.lang.String |
getApplicationVersion()
Retrieves the version of the application that generated this control.
|
java.lang.String |
getCodeLocation()
Retrieves a description of the location in the application code where the
control was generated.
|
JSONObject |
getControlObject()
Retrieves a JSON object containing an encoded representation of this
operation purpose request control.
|
java.lang.String |
getRequestPurpose()
Retrieves the request purpose from the control.
|
java.lang.String |
toString()
Retrieves a string representation of this operation purpose request
control.
|
public JSONOperationPurposeRequestControl(@NotNull JSONObject controlObject)
controlObject
- The JSON object containing an encoded representation
of this operation purpose request control.@NotNull public JSONObject getControlObject()
@Nullable public java.lang.String getApplicationName()
null
if it was not included in the log message.@Nullable public java.lang.String getApplicationVersion()
null
if it was not included in the log message.@Nullable public java.lang.String getCodeLocation()
null
if it was not included in
the log message.@Nullable public java.lang.String getRequestPurpose()
null
if it was
not included in the log message.