public class TestHttpServer
extends java.lang.Object
Constructor and Description |
---|
TestHttpServer() |
Modifier and Type | Method and Description |
---|---|
TestHttpServer |
basePort(int basePort) |
java.lang.String |
getUrl() |
TestHttpServer |
handler(java.lang.String path,
org.apache.http.protocol.HttpRequestHandler handler) |
TestHttpServer |
interceptor(org.apache.http.HttpRequestInterceptor interceptor) |
TestHttpServer |
interceptor(org.apache.http.HttpResponseInterceptor interceptor) |
TestHttpServer |
requestInterceptors(java.util.List<org.apache.http.HttpRequestInterceptor> interceptors) |
TestHttpServer |
responseInterceptors(java.util.List<org.apache.http.HttpResponseInterceptor> interceptors) |
TestHttpServer |
start() |
void |
stop() |
public TestHttpServer interceptor(org.apache.http.HttpResponseInterceptor interceptor)
public TestHttpServer responseInterceptors(java.util.List<org.apache.http.HttpResponseInterceptor> interceptors)
public TestHttpServer interceptor(org.apache.http.HttpRequestInterceptor interceptor)
public TestHttpServer requestInterceptors(java.util.List<org.apache.http.HttpRequestInterceptor> interceptors)
public TestHttpServer basePort(int basePort)
public TestHttpServer handler(java.lang.String path, org.apache.http.protocol.HttpRequestHandler handler)
public TestHttpServer start()
public void stop()
public java.lang.String getUrl()