public class WebResourceCollection
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
WebResourceCollection.HttpMethod |
Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
_methods |
Constructor and Description |
---|
WebResourceCollection() |
Modifier and Type | Method and Description |
---|---|
void |
addHttpMethod(java.lang.String method)
Adds a method
|
void |
addHttpMethodOmission(java.lang.String method) |
void |
addMethod(java.lang.String method)
Adds a method
|
void |
addURLPattern(java.lang.String pattern)
Adds a url-pattern
|
java.util.ArrayList<java.lang.String> |
getMethods()
Returns the methods.
|
java.util.ArrayList |
getURLPatternList()
Gets the pattern list
|
boolean |
isMatch(java.lang.String url)
Returns true if there's a pattern match.
|
void |
setDescription(java.lang.String name)
Sets the description
|
void |
setWebResourceName(java.lang.String name)
Sets the web-resource-name.
|
public void setWebResourceName(java.lang.String name)
public void setDescription(java.lang.String name)
public void addURLPattern(java.lang.String pattern) throws java.util.regex.PatternSyntaxException
java.util.regex.PatternSyntaxException
public java.util.ArrayList getURLPatternList()
public void addMethod(java.lang.String method)
public void addHttpMethod(java.lang.String method)
public void addHttpMethodOmission(java.lang.String method)
public java.util.ArrayList<java.lang.String> getMethods()
public boolean isMatch(java.lang.String url)