@NotExtensible @NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public class JSONCompareForwardAccessLogMessage extends JSONCompareRequestAccessLogMessage implements CompareForwardAccessLogMessage
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 |
---|
JSONCompareForwardAccessLogMessage(JSONObject jsonObject)
Creates a new JSON compare forward access log message from the provided
JSON object.
|
Modifier and Type | Method and Description |
---|---|
AccessLogMessageType |
getMessageType()
Retrieves the message type for this access log message.
|
java.lang.String |
getTargetHost()
Retrieves the address of the backend server to which the request has been
forwarded.
|
java.lang.Integer |
getTargetPort()
Retrieves the port of the backend server to which the request has been
forwarded.
|
java.lang.String |
getTargetProtocol()
Retrieves the protocol used to forward the request to the backend server.
|
getAttributeName, getDN, getOperationType
getAdministrativeOperationMessage, getIntermediateClientRequestControl, getMessageID, getOperationID, getOperationPurposeRequestControl, getOrigin, getRequestControlOIDs, getRequesterDN, getRequesterIPAddress, getTriggeredByConnectionID, getTriggeredByOperationID, getUsingAdminSessionWorkerThread
getConnectionID, getInstanceName, getProductName, getStartupID, getThreadID
getBoolean, getDouble, getFields, getGeneralizedTime, getInteger, getJSONObject, getLogType, getLong, getRFC3339Timestamp, getString, getTimestamp, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAttributeName, getDN
getAdministrativeOperationMessage, getMessageID, getOperationID, getOperationType, getOrigin, getRequestControlOIDs, getRequesterDN, getRequesterIPAddress, getTriggeredByConnectionID, getTriggeredByOperationID, getUsingAdminSessionWorkerThread
getConnectionID, getInstanceName, getProductName, getStartupID, getThreadID
getBoolean, getDouble, getFields, getGeneralizedTime, getInteger, getLong, getRFC3339Timestamp, getString, getTimestamp, toString
public JSONCompareForwardAccessLogMessage(@NotNull JSONObject jsonObject) throws LogException
jsonObject
- The JSON object that contains an encoded representation
of this log message. It must not be null
.LogException
- If the provided JSON object cannot be parsed as a
valid log message.@NotNull public AccessLogMessageType getMessageType()
getMessageType
in interface AccessLogMessage
getMessageType
in class JSONRequestAccessLogMessage
@Nullable public final java.lang.String getTargetHost()
getTargetHost
in interface OperationForwardAccessLogMessage
null
if it is not included in the log
message.@Nullable public final java.lang.Integer getTargetPort()
getTargetPort
in interface OperationForwardAccessLogMessage
null
if it is not included in the log
message.@Nullable public final java.lang.String getTargetProtocol()
getTargetProtocol
in interface OperationForwardAccessLogMessage
null
if it is not included in the log message.