Class JSONIntermediateClientResponseControl
- java.lang.Object
-
- com.unboundid.ldap.sdk.unboundidds.logs.v2.json.JSONIntermediateClientResponseControl
-
- All Implemented Interfaces:
java.io.Serializable
@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class JSONIntermediateClientResponseControl extends java.lang.Object implements java.io.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.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 JSONIntermediateClientResponseControl(JSONObject controlObject)Creates a new JSON intermediate client response control that is decoded from the provided JSON object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JSONObjectgetControlObject()Retrieves a JSON object containing an encoded representation of this intermediate client response control.java.lang.StringgetResponseID()Retrieves the response ID assigned by the upstream server.java.lang.StringgetServerName()Retrieves the name of the upstream server application.java.lang.StringgetSessionID()Retrieves the session ID assigned by the upstream server.JSONIntermediateClientResponseControlgetUpstreamResponse()Retrieves an upstream response embedded in the control.java.lang.StringgetUpstreamServerAddress()Retrieves the address of an upstream server.java.lang.BooleangetUpstreamServerSecure()Indicates whether communication with the upstream server is secure.java.lang.StringtoString()Retrieves a string representation of this intermediate client request control.
-
-
-
Constructor Detail
-
JSONIntermediateClientResponseControl
public JSONIntermediateClientResponseControl(@NotNull JSONObject controlObject)
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 Detail
-
getControlObject
@NotNull public JSONObject 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
@Nullable public java.lang.String getUpstreamServerAddress()
Retrieves the address of an upstream server.- Returns:
- The address of an upstream server, or
nullif no upstream server address is available.
-
getUpstreamServerSecure
@Nullable public java.lang.Boolean 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
@Nullable public java.lang.String 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
@Nullable public java.lang.String 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
@Nullable public java.lang.String 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
@Nullable public JSONIntermediateClientResponseControl getUpstreamResponse()
Retrieves an upstream response embedded in the control.- Returns:
- An upstream response embedded in the control, or
nullif no upstream response is available.
-
-