1 /* Written and copyright 2001-2003 Benjamin Kohl.
2 * Distributed under the GNU General Public License; see the README file.
3 * This code comes with NO WARRANTY.
6 //import java.awt.Dimension;
7 //import java.awt.Toolkit;
8 //import javax.swing.UIManager;
10 //import Jhttpp2MainFrame;
12 * Title: jHTTPp2: Java HTTP Filter Proxy
13 * Description: starts thwe Swing GUI or the console-mode only proxy
14 * Copyright: Copyright (c) 2001-2003
16 * @author Benjamin Kohl
19 public class Jhttpp2Launcher {
21 public static void main(String[] args) {
22 Jhttpp2Server server = new Jhttpp2Server(true);
24 System.printString("Error: " + server.error_msg);
28 System.printString("Running on port " + server.port+"\n");