net.floodlightcontroller.storage.web
Class StorageWebRoutable

java.lang.Object
  extended by net.floodlightcontroller.storage.web.StorageWebRoutable
All Implemented Interfaces:
RestletRoutable

public class StorageWebRoutable
extends java.lang.Object
implements RestletRoutable

Creates a router to handle the storage web URIs

Author:
readams

Constructor Summary
StorageWebRoutable()
           
 
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

StorageWebRoutable

public StorageWebRoutable()
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