net.floodlightcontroller.linkdiscovery.web
Class LinkDiscoveryWebRoutable

java.lang.Object
  extended by net.floodlightcontroller.linkdiscovery.web.LinkDiscoveryWebRoutable
All Implemented Interfaces:
RestletRoutable

public class LinkDiscoveryWebRoutable
extends java.lang.Object
implements RestletRoutable


Constructor Summary
LinkDiscoveryWebRoutable()
           
 
Method Summary
 java.lang.String basePath()
          Set the base path for the Topology
 org.restlet.routing.Router getRestlet(org.restlet.Context context)
          Create the Restlet router and bind to the proper resources.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkDiscoveryWebRoutable

public LinkDiscoveryWebRoutable()
Method Detail

getRestlet

public org.restlet.routing.Router getRestlet(org.restlet.Context context)
Create the Restlet router and bind to the proper resources.

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

basePath

public java.lang.String basePath()
Set the base path for the Topology

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