public class CSApiKeyMethodFilter
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
CSApiKeyMethodFilter.HttpVerb
Represents specific HttpVerbs supported by method filters
|
Constructor and Description |
---|
CSApiKeyMethodFilter()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<CSApiKeyMethodFilter.HttpVerb> |
getHttpVerbs()
Returns HTTP verbs allowed by this filter.
|
java.util.regex.Pattern |
getRegex()
Returns the regex pattern used to test method names as they come in
to determine whether they are allowed by this filter.
|
void |
setHttpVerbs(java.util.List<CSApiKeyMethodFilter.HttpVerb> httpVerbs)
Sets the HTTP verbs allowed by this filter.
|
void |
setRegex(java.util.regex.Pattern regex)
Sets the regex pattern used to test method names as they come in
to determine whether they are allowed by this filter.
|
java.lang.String |
toString() |
public java.util.regex.Pattern getRegex()
public void setRegex(java.util.regex.Pattern regex)
regex
- The regex pattern used to test method namespublic void setHttpVerbs(java.util.List<CSApiKeyMethodFilter.HttpVerb> httpVerbs)
httpVerbs
- HTTP verbs allowed by this filterpublic java.util.List<CSApiKeyMethodFilter.HttpVerb> getHttpVerbs()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2022 Goss Interactive Ltd. All Rights Reserved.