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

org.analogweb.RequestPathMetadata Maven / Gradle / Ivy

The newest version!
package org.analogweb;

import java.util.List;

/**
 * A entry point path.
 *
 * @author y2k2mt
 */
public interface RequestPathMetadata {

    /**
     * Obtain defined path.
     *
     * @return path
     */
    String getActualPath();

    /**
     * Obtain defined (HTTP) request methods.
     *
     * @return request methods
     */
    List getRequestMethods();

    /**
     * Check own {@link RequestPath} match assigned one.
     *
     * @param requestPath
     *            {@link RequestPath}
     *
     * @return {@code true} - if matched {@link RequestPath}
     */
    boolean match(RequestPath requestPath);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy