Package com.elibom.jogger.middleware.router

Examples of com.elibom.jogger.middleware.router.Route


        input = input.trim();

        // only parse line if it is not empty and not a comment
        if (!input.equals("") && !input.startsWith("#")) {
          Route route = parse(input, line);
          routes.add(route);
        }
      }

    } finally {
View Full Code Here


   */
  private Route buildRoute(String httpMethod, String path, String controllerName, String methodName) throws RoutesException {
    Object controller = controllerLoader.load(controllerName);
    Method method = getMethod(controller, methodName);

    return new Route(HttpMethod.valueOf(httpMethod.toUpperCase()), path, controller, method);
  }
View Full Code Here

TOP

Related Classes of com.elibom.jogger.middleware.router.Route

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.