public class CorePlugin extends PlayPlugin
PlayPlugin.Filter<T>
index
Constructor and Description |
---|
CorePlugin() |
Modifier and Type | Method and Description |
---|---|
static String |
computeApplicationStatus(boolean json)
Get the application status
|
protected Enhancer[] |
defaultEnhancers() |
void |
enhance(ApplicationClasses.ApplicationClass applicationClass)
Enhance this class
|
com.google.gson.JsonObject |
getJsonStatus()
Return the plugin status in JSON format
|
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.
|
addMimeTypes, addTemplateExtensions, afterActionInvocation, afterApplicationStart, afterFixtureLoad, afterInvocation, beforeActionInvocation, beforeDetectingChanges, beforeInvocation, bind, bind, bind, bindBean, compareTo, compileAll, compileSources, detectChange, detectClassesChange, getFilter, getFunctionalTests, getMessage, getUnitTests, hasFilter, invocationFinally, loadTemplate, modelFactory, onActionInvocationFinally, onActionInvocationResult, onApplicationReady, onApplicationStart, onApplicationStop, onClassesChange, onConfigurationRead, onEvent, onInvocationException, onInvocationSuccess, onLoad, onRequestRouting, onRoutesLoaded, onTemplateCompilation, overrideTemplateSource, postEvent, routeRequest, runTest, serveStatic, unBind, willBeValidated
public static String computeApplicationStatus(boolean json)
public boolean rawInvocation(Http.Request request, Http.Response response) throws Exception
rawInvocation
in class PlayPlugin
request
- The Play requestresponse
- The Play responseException
public String getStatus()
getStatus
in class PlayPlugin
public com.google.gson.JsonObject getJsonStatus()
PlayPlugin
getJsonStatus
in class PlayPlugin
protected Enhancer[] defaultEnhancers()
public void enhance(ApplicationClasses.ApplicationClass applicationClass) throws Exception
PlayPlugin
enhance
in class PlayPlugin
Exception
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly