19 |
import de.codeinfection.quickwango.ApiBukkit.ApiServer.*; |
import de.codeinfection.quickwango.ApiBukkit.ApiServer.*; |
20 |
|
|
21 |
|
|
22 |
@Controller( name = "webstatus", authenticate = false, serializer = "plain" ) |
@Controller( name = "webstatus", authenticate = false, serializer = "raw" ) |
23 |
public class StatusListener extends ApiController { |
public class StatusListener extends ApiController { |
24 |
|
|
25 |
SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); |
SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); |
49 |
} |
} |
50 |
|
|
51 |
@Override |
@Override |
52 |
public void defaultAction(String action, ApiRequest request, ApiResponse response) { |
public void defaultAction(ApiRequest request, ApiResponse response) { |
53 |
/* if(!event.path[0].equalsIgnoreCase("webstatus")) { |
/* if(!event.path[0].equalsIgnoreCase("webstatus")) { |
54 |
return; |
return; |
55 |
}*/ |
}*/ |