net.floodlightcontroller.restserver
Interface RestletRoutable

All Known Implementing Classes:
CoreWebRoutable, DebugCounterRoutable, DebugEventRoutable, DeviceRoutable, FirewallWebRoutable, LearningSwitchWebRoutable, LinkDiscoveryWebRoutable, LoadBalancerWebRoutable, PerfWebRoutable, StaticFlowEntryWebRoutable, StaticWebRoutable, StorageWebRoutable, TopologyWebRoutable, VirtualNetworkWebRoutable

public interface RestletRoutable

Register a set of REST resources with the central controller

Author:
readams

Method Summary
 java.lang.String basePath()
          Get the base path URL where the router should be registered
 org.restlet.Restlet getRestlet(org.restlet.Context context)
          Get the restlet that will map to the resources
 

Method Detail

getRestlet

org.restlet.Restlet getRestlet(org.restlet.Context context)
Get the restlet that will map to the resources

Parameters:
context - the context for constructing the restlet
Returns:
the restlet

basePath

java.lang.String basePath()
Get the base path URL where the router should be registered

Returns:
the base path URL where the router should be registered