summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/btr/proxy/util/UriFilter.java
blob: 8145e0ed0191caeb3e17b9b5db230d609b930912 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.btr.proxy.util;

import java.net.URI;

/*****************************************************************************
 * Interface for an URI filter. 
 *
 * @author Bernd Rosstauscher (proxyvole@rosstauscher.de) 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);

}