站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss Seam 1.1.1 API 英文版文档

WebResourceCollection (JBoss Seam API Documentation) - JBoss Seam 1.1.1 API 英文版文档


org.jboss.seam.security.config
Class WebResourceCollection

java.lang.Object
  extended by org.jboss.seam.security.config.WebResourceCollection

public class WebResourceCollection
extends Object

Represents the <web-resource-collection> element in the config file.

Author:
Shane Bryzak

Constructor Summary
WebResourceCollection()
           
 
Method Summary
 Set<String> getHttpMethods()
           
 Set<String> getUrlPatterns()
           
 void setHttpMethods(Set<String> httpMethods)
           
 void setUrlPatterns(Set<String> urlPatterns)
           
 boolean supportsMethod(String method)
          Checks if this resource collection supports the specified method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebResourceCollection

public WebResourceCollection()
Method Detail

getUrlPatterns

public Set<String> getUrlPatterns()

setUrlPatterns

public void setUrlPatterns(Set<String> urlPatterns)

getHttpMethods

public Set<String> getHttpMethods()

setHttpMethods

public void setHttpMethods(Set<String> httpMethods)

supportsMethod

public boolean supportsMethod(String method)
Checks if this resource collection supports the specified method. If no methods are specified for this collection, then the default is to support all methods.

Parameters:
method - String
Returns:
boolean