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

io.github.kamilszewc.simplerouter.RoutingContext Maven / Gradle / Ivy

The newest version!
package io.github.kamilszewc.simplerouter;

import java.util.HashMap;
import java.util.Map;

public class RoutingContext {
    private Request request;
    private Map pathVariables = new HashMap<>();

    public RoutingContext(Request request, Map pathVariables) {
        this.request = request;
        this.pathVariables = pathVariables;
    }

    public Request getRequest() {
        return request;
    }

    public Map getPathVariables() {
        return pathVariables;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy