public class EPPRawSendReceiveLogger extends java.lang.Object implements EPPSendReceiveLogger
EPPSendReceiveLogger that logs the messages in raw form to
the Log4J com.verisign.epp.util.EPPXMLStream category. This logging category
is used for backward compatibility to logging configurations when the
EPPXMLStream logged the packets directly.| Constructor and Description |
|---|
EPPRawSendReceiveLogger() |
| Modifier and Type | Method and Description |
|---|---|
void |
logReceive(byte[] aPacket,
EPPMessage aMessage)
Log the raw receiving of a message.
|
void |
logSend(byte[] aPacket,
EPPMessage aMessage)
Log the raw sending of a message.
|
EPPCodecComponent |
maskMessage(EPPCodecComponent aMessage)
Utility method used to optionally mask specific message attributes based
on the concrete
EPPSendReceiveLogger. |
java.lang.String |
maskString(java.lang.String aString)
Mask a general string of sensitive information.
|
public void logSend(byte[] aPacket,
EPPMessage aMessage)
logSend in interface EPPSendReceiveLoggeraPacket - Packet to send. This may be null if the packet has
not been encoded yet.aMessage - The message that is being sent, which could be any concrete
EPPMessage, including a
EPPCommand, an
EPPGreeting, an
EPPHello, or an
EPPResponse. This may be
null if the EPPMessage is not
available.public void logReceive(byte[] aPacket,
EPPMessage aMessage)
logReceive in interface EPPSendReceiveLoggeraPacket - Packet received. This may be null if the packet is
not available.aMessage - The message received, which could be any concrete
EPPMessage, including a
EPPCommand, an
EPPGreeting, an
EPPHello, or an
EPPResponse. This may be
null if the EPPMessage is not
available.public EPPCodecComponent maskMessage(EPPCodecComponent aMessage)
EPPSendReceiveLogger.
EPPRawSendReceiveLogger does not perform any masking, so the
aMessage parameter is directly returned.maskMessage in interface EPPSendReceiveLoggeraMessage - Message to mask. EPPRawSendReceiveLogger does not
perform any masking, so the aMessage parameter is
directly returned.aMessage parameter.public java.lang.String maskString(java.lang.String aString)
maskString in interface EPPSendReceiveLoggeraString - String to scan for maskingString.Copyright © VeriSign Inc. All Rights Reserved.