|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object play.PlayPlugin play.CorePlugin
public class CorePlugin
Plugin used for core tasks
Field Summary |
---|
Fields inherited from class play.PlayPlugin |
---|
index |
Constructor Summary | |
---|---|
CorePlugin()
|
Method Summary | |
---|---|
static java.lang.String |
computeApplicationStatus(boolean json)
Get the appication status |
void |
enhance(ApplicationClasses.ApplicationClass applicationClass)
Enhance this class |
JsonObject |
getJsonStatus()
Retun 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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CorePlugin()
Method Detail |
---|
public static java.lang.String computeApplicationStatus(boolean json)
public boolean rawInvocation(Http.Request request, Http.Response response) throws java.lang.Exception
rawInvocation
in class PlayPlugin
request
- The Play requestresponse
- The Play response
java.lang.Exception
public java.lang.String getStatus()
getStatus
in class PlayPlugin
public JsonObject getJsonStatus()
PlayPlugin
getJsonStatus
in class PlayPlugin
public void enhance(ApplicationClasses.ApplicationClass applicationClass) throws java.lang.Exception
PlayPlugin
enhance
in class PlayPlugin
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |