use of org.zaproxy.zap.extension.search.SearchableHttpPanelComponent in project zaproxy by zaproxy.
the class HttpPanel method highlightBody.
public void highlightBody(SearchMatch sm) {
if (currentComponent instanceof SearchableHttpPanelComponent) {
((SearchableHttpPanelComponent) currentComponent).highlightBody(sm);
} else {
HttpPanelComponentInterface component = findSearchablePanel();
if (component != null) {
switchComponent(component.getName());
((SearchableHttpPanelComponent) currentComponent).highlightBody(sm);
}
}
}
use of org.zaproxy.zap.extension.search.SearchableHttpPanelComponent in project zaproxy by zaproxy.
the class HttpPanel method highlightHeader.
public void highlightHeader(SearchMatch sm) {
if (currentComponent instanceof SearchableHttpPanelComponent) {
((SearchableHttpPanelComponent) currentComponent).highlightHeader(sm);
} else {
HttpPanelComponentInterface component = findSearchablePanel();
if (component != null) {
switchComponent(component.getName());
((SearchableHttpPanelComponent) currentComponent).highlightHeader(sm);
}
}
}
Aggregations