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 继承的字段
index
 
构造方法摘要
ValidationPlugin()
           
 
方法摘要
 void beforeActionInvocation(java.lang.reflect.Method actionMethod)
          Called before an 'action' invocation, ie an HTTP request processing.
 void beforeInvocation()
          Called before a Play!
 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 occured during the invocation.
 
从类 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