public class MitmproxyJava
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
WEBSOCKET_PORT |
| Constructor and Description |
|---|
MitmproxyJava(java.lang.String mitmproxyPath,
java.util.function.Function<InterceptedMessage,InterceptedMessage> messageInterceptor) |
| Modifier and Type | Method and Description |
|---|---|
void |
start() |
void |
stop() |
public static final int WEBSOCKET_PORT
public MitmproxyJava(java.lang.String mitmproxyPath,
java.util.function.Function<InterceptedMessage,InterceptedMessage> messageInterceptor)
public void start()
throws java.io.IOException,
java.util.concurrent.TimeoutException,
java.net.URISyntaxException
java.io.IOExceptionjava.util.concurrent.TimeoutExceptionjava.net.URISyntaxExceptionpublic void stop()
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOExceptionjava.lang.InterruptedException