public interface HttpSearcher
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns a descriptive name of the searcher, to be shown in UI components.
|
List<SearchResult> |
search(Pattern pattern,
boolean inverse)
Searches the given pattern in the messages, possibly returning the inverse of the matches.
|
List<SearchResult> |
search(Pattern pattern,
boolean inverse,
int maximumMatches)
Searches the given pattern in the messages, possibly returning the inverse of the matches, up
to the given maximum of matches.
|
String getName()
null
List<SearchResult> search(Pattern pattern, boolean inverse)
The exact HTTP message contents that will be matched depend on the implementations, for example, some might search only in requests others in responses.
pattern
- the pattern to search in the messagesinverse
- if should return the inverse of the matchesList
containing the results of the searchList<SearchResult> search(Pattern pattern, boolean inverse, int maximumMatches)
The exact HTTP message contents that will be matched depend on the implementations, for example, some might search only in requests others in responses.
pattern
- the pattern to search in the messagesinverse
- if should return the inverse of the matchesmaximumMatches
- the maximum of matches that should be returnedList
containing the results of the search