/*
 * @(#)QueuePusherWebRoutable.java        1.00 2013
 *
 * Copyright (c) 2013 OneSource, Consultoria Informatica.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of OneSource
 * Consultoria Informatica. ("Confidential Information").  You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into
 * with OneSource.
 */

package net.floodlightcontroller.queuepusher;

import net.floodlightcontroller.restserver.RestletRoutable;
import org.restlet.Context;
import org.restlet.Restlet;
import org.restlet.routing.Router;

/**
 *
 * @author Joao Goncalves
 */
public class QueuePusherWebRoutable implements RestletRoutable {

    @Override
    public Restlet getRestlet(Context context) {
        Router router = new Router(context);
        router.attach("/qpc/json", QueuePusherCreateResource.class);
        router.attach("/qpm/json", QueuePusherModifyResource.class);
        router.attach("/qpd/json", QueuePusherDeleteResource.class);
        router.attach("/qpl/{switch}/json", QueuePusherListResource.class);
        return router;
    }

    @Override
    public String basePath() {
        return "/wm/queuepusher";
    }    
    
}

@@ -160,52 +160,17 @@
  is 
-the confidential and proprietary information
+copyright
  of 
@@ -178,19 +178,16 @@
 neSource
-%0A *
  Consult
@@ -207,105 +207,15 @@
 ica.
- (%22Confidential Information%22).  You shall not%0A * disclose such Confidential Information and shall
+%0A * You
  use
@@ -225,19 +225,16 @@
  only in
-%0A *
  accorda
@@ -258,16 +258,19 @@
 s of the
+%0A *
  license

Update QueuePusherWebRoutable.java