@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class JSONIntermediateClientRequestControl 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 |
---|
JSONIntermediateClientRequestControl(JSONObject controlObject)
Creates a new JSON intermediate client request control that is decoded from
the provided JSON object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClientIdentity()
Retrieves the requested client authorization identity.
|
java.lang.String |
getClientName()
Retrieves the name of the client application.
|
JSONObject |
getControlObject()
Retrieves a JSON object containing an encoded representation of this
intermediate client request control.
|
java.lang.String |
getDownstreamClientAddress()
Retrieves the address of a downstream client.
|
java.lang.Boolean |
getDownstreamClientSecure()
Indicates whether communication with the downstream client is secure.
|
JSONIntermediateClientRequestControl |
getDownstreamRequest()
Retrieves a downstream request embedded in the control.
|
java.lang.String |
getRequestID()
Retrieves the request ID assigned by the downstream client.
|
java.lang.String |
getSessionID()
Retrieves the session ID assigned by the downstream client.
|
java.lang.String |
toString()
Retrieves a string representation of this intermediate client request
control.
|
public JSONIntermediateClientRequestControl(@NotNull JSONObject controlObject)
controlObject
- The JSON object containing an encoded representation
of this intermediate client request control.@NotNull public JSONObject getControlObject()
@Nullable public java.lang.String getDownstreamClientAddress()
null
if no
downstream client address is available.@Nullable public java.lang.Boolean getDownstreamClientSecure()
Boolean.TRUE
if communication with the downstream client
is secure, Boolean.FALSE
if communication with the
downstream client is not secure, or null
if this
information is not available.@Nullable public java.lang.String getClientIdentity()
null
if
no client identity is available.@Nullable public java.lang.String getClientName()
null
if no client
name is available.@Nullable public java.lang.String getSessionID()
null
if no session ID is available.@Nullable public java.lang.String getRequestID()
null
if no request ID is available.@Nullable public JSONIntermediateClientRequestControl getDownstreamRequest()
null
if
no downstream request is available.