Interface RankingUtils
public interface RankingUtils
Utilities for ranking HTTP request/response pairs based on different criteria.
Note that the returned lists are not sorted by rank. This can be done using Collections.sort().
-
Method Summary
Modifier and TypeMethodDescriptionrank
(Collection<HttpRequestResponse> requestResponses) Ranks a list of HTTP request/response pairs using the default Anomaly-based ranking algorithmrank
(Collection<HttpRequestResponse> requestResponses, RankingAlgorithm algorithm) Ranks a list of HTTP request/response pairs using the specified ranking algorithm.
-
Method Details
-
rank
Ranks a list of HTTP request/response pairs using the default Anomaly-based ranking algorithm- Parameters:
requestResponses
- The list of HTTP request/response pairs to rank.- Returns:
- A list of ranked HTTP request/response pairs.
-
rank
List<RankedHttpRequestResponse> rank(Collection<HttpRequestResponse> requestResponses, RankingAlgorithm algorithm) Ranks a list of HTTP request/response pairs using the specified ranking algorithm.- Parameters:
requestResponses
- The list of HTTP request/response pairs to rank.algorithm
- The ranking algorithm to use for analysis.- Returns:
- A list of ranked HTTP request/response pairs.
-