Package org.owasp.html
Interface Handler<T>
-
public interface Handler<T>
Receives notification of problems.- Author:
- Mike Samuel
-
-
Field Summary
Fields Modifier and Type Field Description static Handler<java.lang.Object>
DO_NOTHING
A handler that does nothing given any input.static Handler<java.lang.Throwable>
PROPAGATE
A handler that re-raises an error, wrapping it in a runtime exception if necessary.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handle(T x)
-
-
-
Method Detail
-
handle
void handle(T x)
-
-