Class JSONIntermediateClientRequestControl
java.lang.Object
com.unboundid.ldap.sdk.unboundidds.logs.v2.json.JSONIntermediateClientRequestControl
- All Implemented Interfaces:
Serializable
@NotMutable
@ThreadSafety(level=COMPLETELY_THREADSAFE)
public final class JSONIntermediateClientRequestControl
extends Object
implements Serializable
This class provides a data structure that contains information about an
JSON-formatted intermediate client request control.
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.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionJSONIntermediateClientRequestControl(JSONObject controlObject) Creates a new JSON intermediate client request control that is decoded from the provided JSON object. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the requested client authorization identity.Retrieves the name of the client application.Retrieves a JSON object containing an encoded representation of this intermediate client request control.Retrieves the address of a downstream client.Indicates whether communication with the downstream client is secure.Retrieves a downstream request embedded in the control.Retrieves the request ID assigned by the downstream client.Retrieves the session ID assigned by the downstream client.toString()Retrieves a string representation of this intermediate client request control.
-
Constructor Details
-
JSONIntermediateClientRequestControl
Creates a new JSON intermediate client request control that is decoded from the provided JSON object.- Parameters:
controlObject- The JSON object containing an encoded representation of this intermediate client request control.
-
-
Method Details
-
getControlObject
Retrieves a JSON object containing an encoded representation of this intermediate client request control.- Returns:
- A JSON object containing an encoded representation of this intermediate client request control.
-
getDownstreamClientAddress
Retrieves the address of a downstream client.- Returns:
- The address of a downstream client, or
nullif no downstream client address is available.
-
getDownstreamClientSecure
Indicates whether communication with the downstream client is secure.- Returns:
Boolean.TRUEif communication with the downstream client is secure,Boolean.FALSEif communication with the downstream client is not secure, ornullif this information is not available.
-
getClientIdentity
Retrieves the requested client authorization identity.- Returns:
- The requested client authorization identity, or
nullif no client identity is available.
-
getClientName
Retrieves the name of the client application.- Returns:
- The name of the client application, or
nullif no client name is available.
-
getSessionID
Retrieves the session ID assigned by the downstream client.- Returns:
- The session ID assigned by the downstream client, or
nullif no session ID is available.
-
getRequestID
Retrieves the request ID assigned by the downstream client.- Returns:
- The request ID assigned by the downstream client, or
nullif no request ID is available.
-
getDownstreamRequest
Retrieves a downstream request embedded in the control.- Returns:
- A downstream request embedded in the control, or
nullif no downstream request is available.
-
toString
Retrieves a string representation of this intermediate client request control.
-