- All Implemented Interfaces:
Serializable,Cloneable,Iterable<TurboFilter>,Collection<TurboFilter>,List<TurboFilter>,RandomAccess
Implementation of TurboFilterAttachable.
- Author:
- Ceki Gülcü
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetTurboFilterChainDecision(Logger logger, org.slf4j.event.LoggingEvent slf4jEvent) Loop through the filters in the chain.getTurboFilterChainDecision(org.slf4j.Marker marker, Logger logger, Level level, String format, Object[] params, Throwable t) Loop through the filters in the chain.Methods inherited from class java.util.concurrent.CopyOnWriteArrayList
add, add, addAll, addAll, addAllAbsent, addIfAbsent, clear, clone, contains, containsAll, equals, forEach, get, hashCode, indexOf, indexOf, isEmpty, iterator, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, stream, toArray
-
Constructor Details
-
TurboFilterList
public TurboFilterList()
-
-
Method Details
-
getTurboFilterChainDecision
public FilterReply getTurboFilterChainDecision(org.slf4j.Marker marker, Logger logger, Level level, String format, Object[] params, Throwable t) Loop through the filters in the chain. As soon as a filter decides on ACCEPT or DENY, then that value is returned. If all turbo filters return NEUTRAL, then NEUTRAL is returned. -
getTurboFilterChainDecision
public FilterReply getTurboFilterChainDecision(Logger logger, org.slf4j.event.LoggingEvent slf4jEvent) Loop through the filters in the chain. As soon as a filter decides on ACCEPT or DENY, then that value is returned. If all turbo filters return NEUTRAL, then NEUTRAL is returned.- Parameters:
logger- the logger requesting a decisionslf4jEvent- the SLF4J logging event- Returns:
- the decision of the turbo filter chain
- Since:
- 1.5.21
-