All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.mike10004.vhs.Heuristic Maven / Gradle / Ivy

There is a newer version: 0.32
Show newest version
package io.github.mike10004.vhs;

import io.github.mike10004.vhs.harbridge.ParsedRequest;

/**
 * Interface defining a method to rate how closely a given request matches
 * the request contained in a HAR entry.
 */
public interface Heuristic {

    /**
     * Returns a rating of how closesly an incoming request matches a HAR entry request.
     * @param entryRequest the HAR entry request
     * @param request the incoming request
     * @return the rating
     */
    int rate(ParsedRequest entryRequest, ParsedRequest request);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy