play.data.validation
类 ValidationPlugin
java.lang.Object
play.PlayPlugin
play.data.validation.ValidationPlugin
- 所有已实现的接口:
- java.lang.Comparable<PlayPlugin>
public class ValidationPlugin
- extends PlayPlugin
字段摘要 |
static java.lang.ThreadLocal<java.util.Map<java.lang.Object,java.lang.String>> |
keys
|
从类 play.PlayPlugin 继承的方法 |
addMimeTypes, addTemplateExtensions, afterActionInvocation, afterApplicationStart, afterFixtureLoad, afterInvocation, beforeDetectingChanges, bind, bind, bind, bindBean, compareTo, compileAll, compileSources, detectChange, detectClassesChange, enhance, getJsonStatus, getMessage, getStatus, loadTemplate, modelFactory, onApplicationReady, onApplicationStart, onApplicationStop, onClassesChange, onConfigurationRead, onEvent, onInvocationSuccess, onLoad, onRequestRouting, onRoutesLoaded, onTemplateCompilation, overrideTemplateSource, postEvent, rawInvocation, routeRequest, runTest, serveStatic, unBind, willBeValidated |
从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
keys
public static java.lang.ThreadLocal<java.util.Map<java.lang.Object,java.lang.String>> keys
ValidationPlugin
public ValidationPlugin()
beforeInvocation
public void beforeInvocation()
- 从类
PlayPlugin
复制的描述
- Called before a Play! invocation.
Time to prepare request specific things.
- 覆盖:
- 类
PlayPlugin
中的 beforeInvocation
beforeActionInvocation
public void beforeActionInvocation(java.lang.reflect.Method actionMethod)
- 从类
PlayPlugin
复制的描述
- Called before an 'action' invocation,
ie an HTTP request processing.
- 覆盖:
- 类
PlayPlugin
中的 beforeActionInvocation
onActionInvocationResult
public void onActionInvocationResult(Result result)
- 从类
PlayPlugin
复制的描述
- Called when the action method has thrown a result.
- 覆盖:
- 类
PlayPlugin
中的 onActionInvocationResult
- 参数:
result
- The result object for the request.
onInvocationException
public void onInvocationException(java.lang.Throwable e)
- 从类
PlayPlugin
复制的描述
- Called if an exception occured during the invocation.
- 覆盖:
- 类
PlayPlugin
中的 onInvocationException
- 参数:
e
- The catched exception.
invocationFinally
public void invocationFinally()
- 从类
PlayPlugin
复制的描述
- Called at the end of the invocation.
(even if an exception occured).
Time to close request specific things.
- 覆盖:
- 类
PlayPlugin
中的 invocationFinally
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly