org.apache.maven.it
Class TunnelingProxyServer
java.lang.Object
org.apache.maven.it.TunnelingProxyServer
- All Implemented Interfaces:
- Runnable
public class TunnelingProxyServer
- extends Object
- implements Runnable
A simple HTTP proxy that only understands the CONNECT method to check HTTPS tunneling.
- Author:
- Benjamin Bentmann
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TunnelingProxyServer
public TunnelingProxyServer(int port,
String targetHost,
int targetPort,
String connectFilter)
getPort
public int getPort()
start
public void start()
throws IOException
- Throws:
IOException
stop
public void stop()
throws IOException
- Throws:
IOException
run
public void run()
- Specified by:
run
in interface Runnable
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.