@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class AddForwardAccessLogMessage extends AddRequestAccessLogMessage
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 |
---|
AddForwardAccessLogMessage(LogMessage m)
Creates a new add forward access log message from the provided log message.
|
AddForwardAccessLogMessage(java.lang.String s)
Creates a new add forward access log message from the provided message
string.
|
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.
|
getAttributeNames, getDN, getOperationType
getIntermediateClientRequest, getOperationPurpose, getRequestControlOIDs, getRequesterDN, getRequesterIPAddress, usingAdminSessionWorkerThread
getMessageID, getOperationID, getOrigin, getTriggeredByConnectionID, getTriggeredByOperationID
getConnectionID, getInstanceName, getProductName, getStartupID, parse
getNamedValue, getNamedValueAsBoolean, getNamedValueAsDouble, getNamedValueAsInteger, getNamedValueAsLong, getNamedValues, getTimestamp, getUnnamedValues, hasUnnamedValue, toString
public AddForwardAccessLogMessage(@NotNull java.lang.String s) throws LogException
s
- The string to be parsed as an add forward access log message.LogException
- If the provided string cannot be parsed as a valid
log message.public AddForwardAccessLogMessage(@NotNull LogMessage m)
m
- The log message to be parsed as an add forward access log
message.@Nullable public java.lang.String getTargetHost()
null
if it is not included in the log
message.@Nullable public java.lang.Integer getTargetPort()
null
if it is not included in the log
message.@Nullable public java.lang.String getTargetProtocol()
null
if it is not included in the log message.@NotNull public AccessLogMessageType getMessageType()
getMessageType
in class OperationRequestAccessLogMessage