public class MitmproxyJava
extends java.lang.Object
| Constructor and Description |
|---|
MitmproxyJava(java.lang.String mitmproxyPath,
java.util.function.Function<InterceptedMessage,InterceptedMessage> messageInterceptor) |
MitmproxyJava(java.lang.String mitmproxyPath,
java.util.function.Function<InterceptedMessage,InterceptedMessage> messageInterceptor,
int proxyPort,
java.util.List<java.lang.String> extraMitmdumpParams) |
| Modifier and Type | Method and Description |
|---|---|
MitmproxyJava |
start() |
void |
stop() |
public MitmproxyJava(java.lang.String mitmproxyPath,
java.util.function.Function<InterceptedMessage,InterceptedMessage> messageInterceptor,
int proxyPort,
java.util.List<java.lang.String> extraMitmdumpParams)
public MitmproxyJava(java.lang.String mitmproxyPath,
java.util.function.Function<InterceptedMessage,InterceptedMessage> messageInterceptor)
public MitmproxyJava start() throws java.io.IOException, java.util.concurrent.TimeoutException
java.io.IOExceptionjava.util.concurrent.TimeoutExceptionpublic void stop()
throws java.lang.InterruptedException
java.lang.InterruptedException