net.floodlightcontroller.learningswitch
Class LearningSwitchWebRoutable

java.lang.Object
  extended by net.floodlightcontroller.learningswitch.LearningSwitchWebRoutable
All Implemented Interfaces:
RestletRoutable

public class LearningSwitchWebRoutable
extends java.lang.Object
implements RestletRoutable


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

LearningSwitchWebRoutable

public LearningSwitchWebRoutable()
Method Detail

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

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