public class HttpProxy extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
COOKIE_HEADER_NAME |
| Constructor and Description |
|---|
HttpProxy() |
| Modifier and Type | Method and Description |
|---|---|
void |
addHeader(String name,
String value) |
List<org.jboss.netty.handler.codec.http.HttpRequest> |
clearLog(String urlRegex) |
static int |
findFreePort() |
int |
getPort() |
List<org.jboss.netty.handler.codec.http.HttpRequest> |
getRequests(String urlRegex,
Map<String,List<String>> queryParameters) |
void |
log(String urlRegex) |
void |
overrideHeader(String name,
String... values) |
int |
startProxy() |
void |
stopLogging(String urlRegex) |
void |
stopProxy() |
String |
toString() |
public static final String COOKIE_HEADER_NAME
public void log(String urlRegex)
public void stopLogging(String urlRegex)
public List<org.jboss.netty.handler.codec.http.HttpRequest> getRequests(String urlRegex, Map<String,List<String>> queryParameters)
public int startProxy()
public int getPort()
public void stopProxy()
public static int findFreePort()
Copyright © 2013. All Rights Reserved.