Module ch.qos.logback.access.common
Class RequestURIEventEvaluator
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.boolex.EventEvaluatorBase<IAccessEvent>
ch.qos.logback.access.common.boolex.RequestURIEventEvaluator
- All Implemented Interfaces:
ch.qos.logback.core.boolex.EventEvaluator<IAccessEvent>
,ch.qos.logback.core.spi.ContextAware
,ch.qos.logback.core.spi.LifeCycle
public class RequestURIEventEvaluator
extends ch.qos.logback.core.boolex.EventEvaluatorBase<IAccessEvent>
A very simple
EventEvaluator
which checks whether the status of access event
is equal
to a status code given as a parameter.- Since:
- 2.0.6
-
Field Summary
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context
-
Constructor Summary
-
Method Summary
Methods inherited from class ch.qos.logback.core.boolex.EventEvaluatorBase
getName, isStarted, setName, stop
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.qos.logback.core.spi.ContextAware
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
-
Constructor Details
-
RequestURIEventEvaluator
public RequestURIEventEvaluator()
-
-
Method Details
-
start
- Specified by:
start
in interfacech.qos.logback.core.spi.LifeCycle
- Overrides:
start
in classch.qos.logback.core.boolex.EventEvaluatorBase<IAccessEvent>
-
evaluate
public boolean evaluate(IAccessEvent iAccessEvent) throws NullPointerException, ch.qos.logback.core.boolex.EvaluationException - Throws:
NullPointerException
ch.qos.logback.core.boolex.EvaluationException
-
getRegex
-
setRegex
-