public class ValidationPlugin extends PlayPlugin
PlayPlugin.Filter<T>| Modifier and Type | Field and Description |
|---|---|
static java.lang.ThreadLocal<java.util.Map<java.lang.Object,java.lang.String>> |
keys |
index| Constructor and Description |
|---|
ValidationPlugin() |
| Modifier and Type | Method and Description |
|---|---|
void |
beforeActionInvocation(java.lang.reflect.Method actionMethod)
Called before an 'action' invocation, ie an HTTP request processing.
|
void |
beforeInvocation()
Called before a Play! invocation.
|
void |
invocationFinally()
Called at the end of the invocation.
|
void |
onActionInvocationResult(Result result)
Called when the action method has thrown a result.
|
void |
onInvocationException(java.lang.Throwable e)
Called if an exception occurred during the invocation.
|
addMimeTypes, addTemplateExtensions, afterActionInvocation, afterApplicationStart, afterFixtureLoad, afterInvocation, beforeDetectingChanges, bind, bind, bind, bindBean, compareTo, compileAll, compileSources, detectChange, detectClassesChange, enhance, getFilter, getFunctionalTests, getJsonStatus, getMessage, getStatus, getUnitTests, hasFilter, loadTemplate, modelFactory, onActionInvocationFinally, onApplicationReady, onApplicationStart, onApplicationStop, onClassesChange, onConfigurationRead, onEvent, onInvocationSuccess, onLoad, onRequestRouting, onRoutesLoaded, onTemplateCompilation, overrideTemplateSource, postEvent, rawInvocation, routeRequest, runTest, serveStatic, unBind, willBeValidatedpublic static final java.lang.ThreadLocal<java.util.Map<java.lang.Object,java.lang.String>> keys
public void beforeInvocation()
PlayPluginbeforeInvocation in class PlayPluginpublic void beforeActionInvocation(java.lang.reflect.Method actionMethod)
PlayPluginbeforeActionInvocation in class PlayPluginactionMethod - name of the methodpublic void onActionInvocationResult(Result result)
PlayPluginonActionInvocationResult in class PlayPluginresult - The result object for the request.public void onInvocationException(java.lang.Throwable e)
PlayPluginonInvocationException in class PlayPlugine - The caught exception.public void invocationFinally()
PlayPlugininvocationFinally in class PlayPluginGuillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly