Class JSONIntermediateClientRequestControl
- java.lang.Object
-
- com.unboundid.ldap.sdk.unboundidds.logs.v2.json.JSONIntermediateClientRequestControl
-
- All Implemented Interfaces:
java.io.Serializable
@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class JSONIntermediateClientRequestControl extends java.lang.Object implements java.io.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.unboundiddspackage 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JSONIntermediateClientRequestControl(JSONObject controlObject)Creates a new JSON intermediate client request control that is decoded from the provided JSON object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetClientIdentity()Retrieves the requested client authorization identity.java.lang.StringgetClientName()Retrieves the name of the client application.JSONObjectgetControlObject()Retrieves a JSON object containing an encoded representation of this intermediate client request control.java.lang.StringgetDownstreamClientAddress()Retrieves the address of a downstream client.java.lang.BooleangetDownstreamClientSecure()Indicates whether communication with the downstream client is secure.JSONIntermediateClientRequestControlgetDownstreamRequest()Retrieves a downstream request embedded in the control.java.lang.StringgetRequestID()Retrieves the request ID assigned by the downstream client.java.lang.StringgetSessionID()Retrieves the session ID assigned by the downstream client.java.lang.StringtoString()Retrieves a string representation of this intermediate client request control.
-
-
-
Constructor Detail
-
JSONIntermediateClientRequestControl
public JSONIntermediateClientRequestControl(@NotNull JSONObject controlObject)
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 Detail
-
getControlObject
@NotNull public JSONObject 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
@Nullable public java.lang.String getDownstreamClientAddress()
Retrieves the address of a downstream client.- Returns:
- The address of a downstream client, or
nullif no downstream client address is available.
-
getDownstreamClientSecure
@Nullable public java.lang.Boolean 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
@Nullable public java.lang.String getClientIdentity()
Retrieves the requested client authorization identity.- Returns:
- The requested client authorization identity, or
nullif no client identity is available.
-
getClientName
@Nullable public java.lang.String getClientName()
Retrieves the name of the client application.- Returns:
- The name of the client application, or
nullif no client name is available.
-
getSessionID
@Nullable public java.lang.String 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
@Nullable public java.lang.String 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
@Nullable public JSONIntermediateClientRequestControl getDownstreamRequest()
Retrieves a downstream request embedded in the control.- Returns:
- A downstream request embedded in the control, or
nullif no downstream request is available.
-
-