public class WebResourceCollection extends Object
Constructor and Description |
---|
WebResourceCollection()
Constructor
|
Modifier and Type | Method and Description |
---|---|
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.
|
public void addURLPattern(String pattern)
pattern
- url pattern to addpublic List getURLPatterns()
public void addHttpMethod(String method)
method
- http method to addpublic Collection getHttpMethods()
Copyright © 2020 B3Partners B.V.. All rights reserved.