Skip to content
Snippets Groups Projects
Commit c59fd5f8 authored by Shudong Zhou's avatar Shudong Zhou
Browse files

SummaryResource should implement ServerResource

parent 002593c6
No related branches found
No related tags found
No related merge requests found
...@@ -20,6 +20,7 @@ package net.floodlightcontroller.core.web; ...@@ -20,6 +20,7 @@ package net.floodlightcontroller.core.web;
import java.util.Map; import java.util.Map;
import org.restlet.resource.Get; import org.restlet.resource.Get;
import org.restlet.resource.ServerResource;
import net.floodlightcontroller.core.IFloodlightProviderService; import net.floodlightcontroller.core.IFloodlightProviderService;
...@@ -27,7 +28,7 @@ import net.floodlightcontroller.core.IFloodlightProviderService; ...@@ -27,7 +28,7 @@ import net.floodlightcontroller.core.IFloodlightProviderService;
* Get summary counters registered by all modules * Get summary counters registered by all modules
* @author shudongz * @author shudongz
*/ */
public class ControllerSummaryResource extends CounterResourceBase { public class ControllerSummaryResource extends ServerResource {
@Get("json") @Get("json")
public Map<String, Object> retrieve() { public Map<String, Object> retrieve() {
IFloodlightProviderService floodlightProvider = IFloodlightProviderService floodlightProvider =
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment