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