public abstract class SingleRequestMockHttpServer extends MockHttpServer
HTTP_STATUS_LINE_OK
Constructor and Description |
---|
SingleRequestMockHttpServer(int listenPort,
String encoding) |
SingleRequestMockHttpServer(int listenPort,
String encoding,
String statusLine) |
Modifier and Type | Method and Description |
---|---|
protected void |
processRequests(InputStream in,
OutputStream out) |
protected abstract void |
processSingleRequest(HttpRequest httpRequest) |
parseRequest, run, waitUntilServerStarted, waitUntilServerStopped
public SingleRequestMockHttpServer(int listenPort, String encoding)
protected abstract void processSingleRequest(HttpRequest httpRequest) throws Exception
Exception
protected void processRequests(InputStream in, OutputStream out) throws Exception
processRequests
in class MockHttpServer
Exception
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.