Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.securityfilter.config
Class WebResourceCollection  view WebResourceCollection download WebResourceCollection.java

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

public class WebResourceCollection
extends java.lang.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.5 $ $Date: 2003/01/06 00:17:25 $

Field Summary
private  java.util.Collection httpMethods
           
private  java.util.List urlPatterns
           
 
Constructor Summary
WebResourceCollection()
          Constructor
 
Method Summary
 void addHttpMethod(java.lang.String method)
          Add an http method to this WebResourceCollection.
 void addURLPattern(java.lang.String pattern)
          Add a url pattern to this WebResourceCollection.
 java.util.Collection getHttpMethods()
          Get a collection of http methods for this WebResourceCollection.
 java.util.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
 

Field Detail

urlPatterns

private java.util.List urlPatterns

httpMethods

private java.util.Collection httpMethods
Constructor Detail

WebResourceCollection

public WebResourceCollection()
Constructor

Method Detail

addURLPattern

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


getURLPatterns

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


addHttpMethod

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


getHttpMethods

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