org.securityfilter.config
Class WebResourceCollection

java.lang.Object
  extended byorg.securityfilter.config.WebResourceCollection

public class WebResourceCollection
extends Object

WebResourceCollection represents a web-resource-collection from the security config file. It has a list of url patterns, and a list of http methods.

Version:
$Revision: 1.1 $ $Date: 2004/07/03 20:53:45 $
Author:
Max Cooper (max@maxcooper.com)

Constructor Summary
WebResourceCollection()
          Constructor
 
Method Summary
 void addHttpMethod(String method)
          Add an http method to this WebResourceCollection.
 void addURLPattern(String pattern)
          Add a url pattern to this WebResourceCollection.
 Collection getHttpMethods()
          Get a collection of http methods for this WebResourceCollection.
 List getURLPatterns()
          Get a list of url patterns in the order they were added to this WebResourceCollection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebResourceCollection

public WebResourceCollection()
Constructor

Method Detail

addURLPattern

public void addURLPattern(String pattern)
Add a url pattern to this WebResourceCollection.

Parameters:
pattern - url pattern to add

getURLPatterns

public List getURLPatterns()
Get a list of url patterns in the order they were added to this WebResourceCollection.


addHttpMethod

public void addHttpMethod(String method)
Add an http method to this WebResourceCollection.

Parameters:
method - http method to add

getHttpMethods

public Collection getHttpMethods()
Get a collection of http methods for this WebResourceCollection.