public interface HttpProxyServer
Modifier and Type | Method and Description |
---|---|
void |
addProxyAuthenticationHandler(ProxyAuthorizationHandler pah)
Adds a new handler for proxy authentication.
|
void |
start()
Starts the server.
|
void |
start(boolean localOnly,
boolean anyAddress)
Starts the server.
|
void |
stop()
Stops the server.
|
void start()
void stop()
void start(boolean localOnly, boolean anyAddress)
localOnly
- If true, the server will only allow connections from
the local computer. This can significantly improve security in some
cases.anyAddress
- Whether or not to bind to "any" address - 0.0.0.0.
This is the default.void addProxyAuthenticationHandler(ProxyAuthorizationHandler pah)
pah
- The new authentication handler.Copyright © 2009-2012 LittleShoot. All Rights Reserved.