public abstract class MockHttpServer extends Object implements Runnable
Modifier and Type | Field and Description |
---|---|
static String |
HTTP_STATUS_LINE_OK |
Constructor and Description |
---|
MockHttpServer(int listenPort) |
Modifier and Type | Method and Description |
---|---|
protected HttpRequest |
parseRequest(InputStream in,
String encoding) |
protected abstract void |
processRequests(InputStream in,
OutputStream out) |
void |
run() |
boolean |
waitUntilServerStarted() |
boolean |
waitUntilServerStopped() |
public static final String HTTP_STATUS_LINE_OK
protected abstract void processRequests(InputStream in, OutputStream out) throws Exception
Exception
protected HttpRequest parseRequest(InputStream in, String encoding)
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.