public class EchoServer extends Object
Modifier and Type | Class and Description |
---|---|
static class |
EchoServer.Error |
class |
EchoServer.NextResponse |
class |
EchoServer.OnlyResponse |
Constructor and Description |
---|
EchoServer(boolean secure) |
EchoServer(boolean secure,
EchoServer.Error error) |
Modifier and Type | Method and Description |
---|---|
Integer |
getPort() |
MockServerEventLog |
requestLogFilter() |
void |
stop() |
EchoServer |
withNextResponse(HttpResponse... httpResponses) |
EchoServer |
withOnlyResponse(HttpResponse httpResponse) |
public EchoServer(boolean secure)
public EchoServer(boolean secure, EchoServer.Error error)
public void stop()
public Integer getPort()
public MockServerEventLog requestLogFilter()
public EchoServer withNextResponse(HttpResponse... httpResponses)
public EchoServer withOnlyResponse(HttpResponse httpResponse)
Copyright © 2018. All rights reserved.