proproxy
Class ProConnectionFilter
java.lang.Object
|
+--proproxy.ProConnectionFilter
- public class ProConnectionFilter
- extends java.lang.Object
ProConnectionFilter
The connection filter. Checks for IP address or host name in a inclusion and
exclusion list.
You are free to use this code and to make modifications provided
this notice is retained.
If you found this useful, please add a note of acknowledgement to my
guestbook.
If you would like to report a bug or suggest some improvements,
you are most welcome. I will be happy to help you use this piece of code.
- Version:
- 1.00, 28th Jan, 2001
- Author:
- Tanmay K. Mohapatra
Constructor Summary |
ProConnectionFilter(java.lang.String sIncludeList,
java.lang.String sExcludeList)
|
Method Summary |
boolean |
isAllowed(java.lang.String sIP)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProConnectionFilter
public ProConnectionFilter(java.lang.String sIncludeList,
java.lang.String sExcludeList)
isAllowed
public boolean isAllowed(java.lang.String sIP)