net.floodlightcontroller.devicemanager.web
Class DeviceRoutable

java.lang.Object
  extended by net.floodlightcontroller.devicemanager.web.DeviceRoutable
All Implemented Interfaces:
RestletRoutable

public class DeviceRoutable
extends java.lang.Object
implements RestletRoutable

Routable for device rest api


Constructor Summary
DeviceRoutable()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeviceRoutable

public DeviceRoutable()
Method Detail

basePath

public java.lang.String basePath()
Description copied from interface: RestletRoutable
Get the base path URL where the router should be registered

Specified by:
basePath in interface RestletRoutable
Returns:
the base path URL where the router should be registered

getRestlet

public org.restlet.Restlet getRestlet(org.restlet.Context context)
Description copied from interface: RestletRoutable
Get the restlet that will map to the resources

Specified by:
getRestlet in interface RestletRoutable
Parameters:
context - the context for constructing the restlet
Returns:
the restlet