Class NetworkPerformanceJSONResolver
java.lang.Object
com.djrapitops.plan.delivery.webserver.resolver.json.NetworkPerformanceJSONResolver
- All Implemented Interfaces:
Resolver
@Singleton
@Path("/v1/network/performanceOverview")
public class NetworkPerformanceJSONResolver
extends Object
implements Resolver
Creates JSON payload for /server-page Performance tab.
-
Constructor Summary
ConstructorDescriptionNetworkPerformanceJSONResolver
(PlanConfig config, DBSystem dbSystem, Formatters formatters, com.google.gson.Gson gson) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Implement access control if authorization is enabled.createJSONAsMap
(Collection<ServerUUID> serverUUIDs) Implement request resolution.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.djrapitops.plan.delivery.web.resolver.Resolver
newResponseBuilder, requiresAuth, usedWebPermissions
-
Constructor Details
-
NetworkPerformanceJSONResolver
@Inject public NetworkPerformanceJSONResolver(PlanConfig config, DBSystem dbSystem, Formatters formatters, com.google.gson.Gson gson)
-
-
Method Details