public interface HttpProxyServer
| Modifier and Type | Method and Description |
|---|---|
void |
abort()
Stops the server and all related clones immediately, without waiting for traffic to stop.
|
HttpProxyServerBootstrap |
clone()
Clone the existing server, with a port 1 higher and everything else the
same.
|
int |
getIdleConnectionTimeout() |
InetSocketAddress |
getListenAddress()
Return the address on which this proxy is listening.
|
void |
setIdleConnectionTimeout(int idleConnectionTimeout) |
void |
setThrottle(long readThrottleBytesPerSecond,
long writeThrottleBytesPerSecond)
Set the read/write throttle bandwidths (in bytes/second) for this proxy.
|
void |
stop()
Stops the server and all related clones.
|
int getIdleConnectionTimeout()
void setIdleConnectionTimeout(int idleConnectionTimeout)
HttpProxyServerBootstrap clone()
Clone the existing server, with a port 1 higher and everything else the same.
The new server will share event loops with the original server. The event loops will use whatever name was given to the first server in the clone group.
void stop()
void abort()
InetSocketAddress getListenAddress()
void setThrottle(long readThrottleBytesPerSecond,
long writeThrottleBytesPerSecond)
Set the read/write throttle bandwidths (in bytes/second) for this proxy.
readThrottleBytesPerSecond - writeThrottleBytesPerSecond - Copyright © 2009–2015 LittleShoot. All rights reserved.