Implementation of Network status page
This commit is contained in:
parent
b3e0757b29
commit
2cdd61458f
7 changed files with 355 additions and 27 deletions
|
|
@ -74,9 +74,10 @@ public class StatusPage implements WAPage {
|
|||
Map<String, String> request){
|
||||
|
||||
if(request.containsKey("i")) {
|
||||
WAStatus obj = getPlugin(context);
|
||||
DataNode root = new DataNode(DataNode.DataType.Map);
|
||||
obj.jsonUpdate(request, root);
|
||||
WAStatus obj = getPlugin(context);
|
||||
if(obj != null)
|
||||
obj.jsonUpdate(request, root);
|
||||
return root;
|
||||
}
|
||||
return null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue