All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.neogroup.warp.controllers.routing.RouteEntry Maven / Gradle / Ivy

There is a newer version: 1.4.3
Show newest version

package org.neogroup.warp.controllers.routing;

import java.lang.reflect.Method;

public class RouteEntry {

    private final String method;
    private final String[] pathParts;
    private final Object controller;
    private final Method controllerMethod;
    private final int priority;

    public RouteEntry(String method, String[] pathParts, Object controller, Method controllerMethod, int priority) {
        this.method = method;
        this.pathParts = pathParts;
        this.controller = controller;
        this.controllerMethod = controllerMethod;
        this.priority = priority;
    }

    public String getMethod() {
        return method;
    }

    public String[] getPathParts() {
        return pathParts;
    }

    public Object getController() {
        return controller;
    }

    public Method getControllerMethod() {
        return controllerMethod;
    }

    public int getPriority() {
        return priority;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy