public class ScannerParamFilter extends Object implements Cloneable
NameValuePair
Constructor and Description |
---|
ScannerParamFilter()
Default constructor to initialize default values
|
ScannerParamFilter(String paramName,
int paramType,
String urlPattern) |
Modifier and Type | Method and Description |
---|---|
ScannerParamFilter |
clone()
Clone this filter
|
boolean |
equals(Object obj) |
static Collection<String> |
getListTypes() |
String |
getParamName() |
static String |
getStringType(int paramType) |
int |
getType() |
static Map<Integer,String> |
getTypes()
Gets the parameter types (IDs and corresponding name).
|
String |
getTypeString() |
String |
getWildcardedUrl() |
int |
hashCode() |
boolean |
isToExclude(HttpMessage msg,
NameValuePair param)
Check if the parameter should be excluded by the scanner
|
static boolean |
isValidParamNameRegex(String paramNameRegex) |
void |
setParamName(String paramNameRegex) |
void |
setType(int paramType) |
void |
setType(String value) |
void |
setWildcardedUrl(String wildcardedUrl) |
public ScannerParamFilter()
public int getType()
public void setType(int paramType)
public String getParamName()
public final void setParamName(String paramNameRegex)
public static boolean isValidParamNameRegex(String paramNameRegex)
public String getWildcardedUrl()
public final void setWildcardedUrl(String wildcardedUrl)
public boolean isToExclude(HttpMessage msg, NameValuePair param)
msg
- the message that is currently under scanningparam
- the Value/Name param object that is currently under scanningpublic ScannerParamFilter clone()
public String getTypeString()
public void setType(String value)
public static final Collection<String> getListTypes()
public static final String getStringType(int paramType)