|
Apache Tomcat 6.0.53 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tomcat.util.log.UserDataHelper
public class UserDataHelper
This helper class assists with the logging associated with invalid input data. A developer may want all instances of invalid input data logged to assist with debugging whereas in production it is likely to be desirable not to log anything for invalid data. The following settings may be used:
Nested Class Summary | |
---|---|
static class |
UserDataHelper.Mode
Log mode for the next log message. |
Constructor Summary | |
---|---|
UserDataHelper(Log log)
|
Method Summary | |
---|---|
UserDataHelper.Mode |
getNextMode()
Returns log mode for the next log message, or null if the
message should not be logged. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserDataHelper(Log log)
Method Detail |
---|
public UserDataHelper.Mode getNextMode()
null
if the
message should not be logged.
If INFO_THEN_DEBUG
configuration option is enabled, this
method might change internal state of this object.
null
|
Apache Tomcat 6.0.53 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |