|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectplay.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 String |
computeApplicationStatus(boolean json)
Get the appication status |
com.google.gson.JsonObject |
getJsonStatus()
Retun 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. |
| 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 String computeApplicationStatus(boolean json)
public boolean rawInvocation(Http.Request request,
Http.Response response)
throws Exception
rawInvocation in class PlayPluginrequest - The Play requestresponse - The Play response
Exceptionpublic String getStatus()
getStatus in class PlayPluginpublic com.google.gson.JsonObject getJsonStatus()
PlayPlugin
getJsonStatus in class PlayPlugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||