Class ValidationPlugin

  • All Implemented Interfaces:
    java.lang.Comparable<PlayPlugin>

    public class ValidationPlugin
    extends PlayPlugin
    • Field Detail

      • keys

        public static final java.lang.ThreadLocal<java.util.Map<java.lang.Object,​java.lang.String>> keys
    • Constructor Detail

      • ValidationPlugin

        public ValidationPlugin()
    • Method Detail

      • beforeInvocation

        public void beforeInvocation()
        Description copied from class: PlayPlugin
        Called before a Play! invocation. Time to prepare request specific things.
        Overrides:
        beforeInvocation in class PlayPlugin
      • beforeActionInvocation

        public void beforeActionInvocation​(java.lang.reflect.Method actionMethod)
        Description copied from class: PlayPlugin
        Called before an 'action' invocation, ie an HTTP request processing.
        Overrides:
        beforeActionInvocation in class PlayPlugin
        Parameters:
        actionMethod - name of the method
      • onActionInvocationResult

        public void onActionInvocationResult​(Result result)
        Description copied from class: PlayPlugin
        Called when the action method has thrown a result.
        Overrides:
        onActionInvocationResult in class PlayPlugin
        Parameters:
        result - The result object for the request.
      • onInvocationException

        public void onInvocationException​(java.lang.Throwable e)
        Description copied from class: PlayPlugin
        Called if an exception occurred during the invocation.
        Overrides:
        onInvocationException in class PlayPlugin
        Parameters:
        e - The caught exception.
      • invocationFinally

        public void invocationFinally()
        Description copied from class: PlayPlugin
        Called at the end of the invocation. (even if an exception occurred). Time to close request specific things.
        Overrides:
        invocationFinally in class PlayPlugin