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