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

com.github.markusbernhardt.proxy.util.UriFilter Maven / Gradle / Ivy

package com.github.markusbernhardt.proxy.util;

import java.net.URI;

/*****************************************************************************
 * Interface for an URI filter.
 *
 * @author Markus Bernhardt, Copyright 2016
 * @author Bernd Rosstauscher, Copyright 2009
 ****************************************************************************/

public interface UriFilter {

	/*************************************************************************
	 * Tests an URI against a given matching criteria.
	 * 
	 * @param uri
	 *            the URI to test.
	 * @return true if it matches the criteria else false.
	 ************************************************************************/

	public abstract boolean accept(URI uri);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy