Package burp.api.montoya.sitemap
Interface SiteMapFilter
-
public interface SiteMapFilterThis interface is used to filter items when querying Burp's site map.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanmatches(SiteMapNode node)This method is called by Burp to check whether a given site map node matches the filter.static SiteMapFilterprefixFilter(java.lang.String prefix)This method returns a site map filter object that matches site map nodes with URLs starting with the specified prefix.
-
-
-
Method Detail
-
prefixFilter
static SiteMapFilter prefixFilter(java.lang.String prefix)
This method returns a site map filter object that matches site map nodes with URLs starting with the specified prefix. Note that the prefix is case-sensitive.- Parameters:
prefix- Case-sensitive URL prefix used to match site tree nodes. Ifnullis passed, the resulting filter will match all site map nodes.- Returns:
- A site map filter object that matches nodes via a URL prefix
-
matches
boolean matches(SiteMapNode node)
This method is called by Burp to check whether a given site map node matches the filter.- Parameters:
node- Site map node to match.- Returns:
- Returns true if the site map node matches the filter.
-
-