org.apache.james.smtpserver.core.filter.fastfail
Class JunkHandlerData

java.lang.Object
  extended by org.apache.james.smtpserver.core.filter.fastfail.JunkHandlerData

public class JunkHandlerData
extends java.lang.Object


Constructor Summary
JunkHandlerData()
           
 
Method Summary
 java.lang.String getJunkScoreLogString()
          Return the LogString if a JunkScore action is used
 java.lang.String getRejectLogString()
          Return the LogString if a Reject action is used
 java.lang.String getRejectResponseString()
          Get the reponseString to return
protected  java.lang.String getScoreName()
          Return the Name which will used to store the JunkScore and get used in the headers
 void setJunkScoreLogString(java.lang.String junkScoreLogString)
          Set the logString which will be used on junkScore action
 void setRejectLogString(java.lang.String rejectLogString)
          Set the logString which will be used on reject action
 void setRejectResponseString(java.lang.String rejectResponseString)
          The ResponseString which get returned in SMTP transaction if the email get rejected
 void setScoreName(java.lang.String scoreName)
          The the keyname which will be used to store the junkScore
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JunkHandlerData

public JunkHandlerData()
Method Detail

setRejectResponseString

public void setRejectResponseString(java.lang.String rejectResponseString)
The ResponseString which get returned in SMTP transaction if the email get rejected

Parameters:
rejectResponseString - the responseString

setJunkScoreLogString

public void setJunkScoreLogString(java.lang.String junkScoreLogString)
Set the logString which will be used on junkScore action

Parameters:
junkScoreLogString - the logString

setRejectLogString

public void setRejectLogString(java.lang.String rejectLogString)
Set the logString which will be used on reject action

Parameters:
rejectLogString - the logString

setScoreName

public void setScoreName(java.lang.String scoreName)
The the keyname which will be used to store the junkScore

Parameters:
scoreName - the name

getRejectResponseString

public java.lang.String getRejectResponseString()
Get the reponseString to return

Returns:
rejectResponseString

getJunkScoreLogString

public java.lang.String getJunkScoreLogString()
Return the LogString if a JunkScore action is used

Returns:
the LogString

getRejectLogString

public java.lang.String getRejectLogString()
Return the LogString if a Reject action is used

Returns:
the LogString

getScoreName

protected java.lang.String getScoreName()
Return the Name which will used to store the JunkScore and get used in the headers

Returns:
the name


Copyright ? 2002-2009 The Apache Software Foundation. All Rights Reserved.