play
类 CorePlugin

java.lang.Object
  继承者 play.PlayPlugin
      继承者 play.CorePlugin
所有已实现的接口:
java.lang.Comparable<PlayPlugin>

public class CorePlugin
extends PlayPlugin

Plugin used for core tasks


字段摘要
 
从类 play.PlayPlugin 继承的字段
index
 
构造方法摘要
CorePlugin()
           
 
方法摘要
static java.lang.String computeApplicationStatus(boolean json)
          Get the application status
 void enhance(ApplicationClasses.ApplicationClass applicationClass)
          Enhance this class
 JsonObject getJsonStatus()
          Return the plugin status in JSON format
 java.lang.String getStatus()
          Retrieve status about play core.
 boolean rawInvocation(Http.Request request, Http.Response response)
          Intercept /@status and check that the Authorization header is valid.
 
从类 play.PlayPlugin 继承的方法
addMimeTypes, addTemplateExtensions, afterActionInvocation, afterApplicationStart, afterFixtureLoad, afterInvocation, beforeActionInvocation, beforeDetectingChanges, beforeInvocation, bind, bind, bind, bindBean, compareTo, compileAll, compileSources, detectChange, detectClassesChange, getMessage, invocationFinally, loadTemplate, modelFactory, onActionInvocationResult, onApplicationReady, onApplicationStart, onApplicationStop, onClassesChange, onConfigurationRead, onEvent, onInvocationException, onInvocationSuccess, onLoad, onRequestRouting, onRoutesLoaded, onTemplateCompilation, overrideTemplateSource, postEvent, routeRequest, runTest, serveStatic, unBind, willBeValidated
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

CorePlugin

public CorePlugin()
方法详细信息

computeApplicationStatus

public static java.lang.String computeApplicationStatus(boolean json)
Get the application status


rawInvocation

public boolean rawInvocation(Http.Request request,
                             Http.Response response)
                      throws java.lang.Exception
Intercept /@status and check that the Authorization header is valid. Then ask each plugin for a status dump and send it over the HTTP response.

覆盖:
PlayPlugin 中的 rawInvocation
参数:
request - The Play request
response - The Play response
返回:
true if this plugin has managed this request
抛出:
java.lang.Exception

getStatus

public java.lang.String getStatus()
Retrieve status about play core.

覆盖:
PlayPlugin 中的 getStatus

getJsonStatus

public JsonObject getJsonStatus()
从类 PlayPlugin 复制的描述
Return the plugin status in JSON format

覆盖:
PlayPlugin 中的 getJsonStatus

enhance

public void enhance(ApplicationClasses.ApplicationClass applicationClass)
             throws java.lang.Exception
从类 PlayPlugin 复制的描述
Enhance this class

覆盖:
PlayPlugin 中的 enhance
抛出:
java.lang.Exception


Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly