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

io.github.amayaframework.router.PathData Maven / Gradle / Ivy

There is a newer version: 1.0.1
Show newest version
package io.github.amayaframework.router;

import java.util.List;

/**
 * A class representing a set of path data: path and query parameters descriptors.
 */
public final class PathData {
    List pathParameters;
    List queryParameters;

    /**
     * Gets path parameter descriptors.
     *
     * @return the {@link List} containing path parameter descriptors
     */
    public List getPathParameters() {
        return pathParameters;
    }

    /**
     * Sets path parameter descriptors.
     *
     * @param pathParameters the {@link List} containing path parameter descriptors
     */
    public void setPathParameters(List pathParameters) {
        this.pathParameters = pathParameters;
    }

    /**
     * Gets query parameter descriptors.
     *
     * @return the {@link List} containing query parameter descriptors
     */
    public List getQueryParameters() {
        return queryParameters;
    }

    /**
     * Gets query parameter descriptors.
     *
     * @param queryParameters the {@link List} containing query parameter descriptors
     */
    public void setQueryParameters(List queryParameters) {
        this.queryParameters = queryParameters;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy