Package org.microproxy
Class MicroProxy
java.lang.Object
org.microproxy.MicroProxy
Entry point:
MicroProxy.bootstrap().withPort(8080).start().-
Method Summary
Modifier and TypeMethodDescriptionstatic HttpProxyServerBootstrapStarts a proxy configuration with default settings.static HttpProxyServerBootstrapbootstrapFromFile(Path path) A bootstrap configured from a properties file (see the configuration properties for keys).
-
Method Details
-
bootstrap
Starts a proxy configuration with default settings.- Returns:
- a new proxy bootstrap
-
bootstrapFromFile
A bootstrap configured from a properties file (see the configuration properties for keys).- Parameters:
path- the properties file to read- Returns:
- a bootstrap initialized from the properties file
- Throws:
IOException- if the properties file cannot be read
-