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

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

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

import java.io.IOException;
import java.util.List;

/**
 * Interface for a factory that creates an entry matcher from a list of HAR entries and an entry parser.
 */
public interface EntryMatcherFactory {

    /**
     * Creates the entry matcher
     * @param  HAR entry type
     * @param harEntries list of har entries
     * @param requestParser request parser
     * @return an entry matcher instance
     * @throws IOException on I/O error
     */
     EntryMatcher createEntryMatcher(List harEntries, EntryParser requestParser) throws IOException;

}