Package org.littleshoot.proxy
Class Launcher
- java.lang.Object
-
- org.littleshoot.proxy.Launcher
-
public class Launcher extends Object
Launches a new HTTP proxy.
-
-
Field Summary
Fields Modifier and Type Field Description private static org.slf4j.LoggerLOGprivate static StringOPTION_DNSSECprivate static StringOPTION_HELPprivate static StringOPTION_MITMprivate static StringOPTION_NICprivate static StringOPTION_PORT
-
Constructor Summary
Constructors Constructor Description Launcher()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(String... args)Starts the proxy from the command line.private static voidpollLog4JConfigurationFileIfAvailable()private static voidprintHelp(org.apache.commons.cli.Options options, String errorMessage)
-
-
-
Field Detail
-
LOG
private static final org.slf4j.Logger LOG
-
OPTION_DNSSEC
private static final String OPTION_DNSSEC
- See Also:
- Constant Field Values
-
OPTION_PORT
private static final String OPTION_PORT
- See Also:
- Constant Field Values
-
OPTION_HELP
private static final String OPTION_HELP
- See Also:
- Constant Field Values
-
OPTION_MITM
private static final String OPTION_MITM
- See Also:
- Constant Field Values
-
OPTION_NIC
private static final String OPTION_NIC
- See Also:
- Constant Field Values
-
-
Method Detail
-
main
public static void main(String... args)
Starts the proxy from the command line.- Parameters:
args- Any command line arguments.
-
printHelp
private static void printHelp(org.apache.commons.cli.Options options, String errorMessage)
-
pollLog4JConfigurationFileIfAvailable
private static void pollLog4JConfigurationFileIfAvailable()
-
-