net.floodlightcontroller.core.web
Class CoreWebRoutable

java.lang.Object
  extended by net.floodlightcontroller.core.web.CoreWebRoutable
All Implemented Interfaces:
RestletRoutable

public class CoreWebRoutable
extends java.lang.Object
implements RestletRoutable

Creates a router to handle all the core web URIs

Author:
readams

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

CoreWebRoutable

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