moxproxy.interfaces.MoxProxyService Maven / Gradle / Ivy
package moxproxy.interfaces;
import moxproxy.model.MoxProxyProcessedTrafficEntry;
import moxproxy.model.MoxProxyRule;
import moxproxy.model.MoxProxySessionIdMatchingStrategy;
import java.util.List;
public interface MoxProxyService {
List getSessionRequestTraffic(String sessionId);
List getAllRequestTraffic();
List getSessionResponseTraffic(String sessionId);
List getAllResponseTraffic();
void cancelRule(String ruleId);
void clearSessionRules(String sessionId);
void clearSessionEntries(String sessionId);
void clearAllSessionEntries();
String createRule(MoxProxyRule moxProxyRule);
void modifySessionMatchingStrategy(MoxProxySessionIdMatchingStrategy matchingStrategy);
MoxProxySessionIdMatchingStrategy getSessionMatchingStrategy();
}