|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.log4j.AppenderSkeleton net.codesmarts.log4j.AbstractBugReportAppender net.codesmarts.log4j.AbstractHttpBugReportAppender
Base class for creating BugReport appenders that file bugs to a web based bug tracking system
Field Summary |
Fields inherited from class org.apache.log4j.AppenderSkeleton |
closed, errorHandler, headFilter, layout, name, tailFilter, threshold |
Constructor Summary | |
AbstractHttpBugReportAppender()
|
Method Summary | |
java.lang.String |
getAuthenticationHost()
Get the host for HTTP authentication |
java.lang.String |
getAuthenticationPassword()
Get the HTTP authentication password |
java.lang.String |
getAuthenticationRealm()
Get the realm for HTTP authentication |
java.lang.String |
getAuthenticationUsername()
Get the HTTP authentication username |
org.apache.commons.httpclient.HttpClient |
getHttpClient()
Get an HttpClient |
void |
init()
initialize appender |
void |
setAuthenticationHost(java.lang.String authenticationHost)
Set the host for HTTP authentication |
void |
setAuthenticationPassword(java.lang.String authenticationPassword)
Set the HTTP authentication password |
void |
setAuthenticationRealm(java.lang.String authenticationRealm)
Set the realm for HTTP authentication |
void |
setAuthenticationUsername(java.lang.String authenticationUsername)
Set the HTTP authentication username |
void |
setConnectionStaleCheckingEnabled(boolean enabled)
Enable checking of stale connections |
void |
setMaxConnectionsPerHost(int connections)
set Maximum number of connections allowed per host |
void |
setMaxTotalConnections(int max)
set maximum number of allowed connections |
Methods inherited from class net.codesmarts.log4j.AbstractBugReportAppender |
activateOptions, append, append, close, doAppend, getHashingMethod, getHashMethod, getMaxSize, getThresholdPriority, getThresholdSize, isReportDuplicates, requiresLayout, setHashingMethod, setLayout, setMaxSize, setReportDuplicates, setThresholdPriority, setThresholdSize |
Methods inherited from class org.apache.log4j.AppenderSkeleton |
addFilter, clearFilters, finalize, getErrorHandler, getFilter, getFirstFilter, getLayout, getName, getThreshold, isAsSevereAsThreshold, setErrorHandler, setName, setThreshold |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AbstractHttpBugReportAppender()
Method Detail |
public void init()
init
in class AbstractBugReportAppender
public org.apache.commons.httpclient.HttpClient getHttpClient()
public void setConnectionStaleCheckingEnabled(boolean enabled)
enabled
- public void setMaxConnectionsPerHost(int connections)
connections
- public void setMaxTotalConnections(int max)
public java.lang.String getAuthenticationPassword()
public void setAuthenticationPassword(java.lang.String authenticationPassword)
authenticationPassword
- The authenticationPassword to set.public java.lang.String getAuthenticationUsername()
public void setAuthenticationUsername(java.lang.String authenticationUsername)
authenticationUsername
- The authenticationUsername to set.public java.lang.String getAuthenticationHost()
public void setAuthenticationHost(java.lang.String authenticationHost)
authenticationHost
- The authenticationHost to set.public java.lang.String getAuthenticationRealm()
public void setAuthenticationRealm(java.lang.String authenticationRealm)
authenticationRealm
- The authenticationRealm to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |