public class MockServer extends LifeCycle<MockServer>
| Modifier and Type | Field and Description |
|---|---|
static io.netty.util.AttributeKey<MockServer> |
MOCK_SERVER |
bossGroup, channelOpenedFutures, logger, serverBootstrap, stopEventQueue, workerGroup| Constructor and Description |
|---|
MockServer(Integer... requestedPortBindings)
Start the instance using the ports provided
|
bindToPorts, getPort, getPorts, isRunning, started, stop, stopped, withStopEventQueuepublic static final io.netty.util.AttributeKey<MockServer> MOCK_SERVER
public MockServer(Integer... requestedPortBindings)
requestedPortBindings - the local port(s) to useCopyright © 2018. All rights reserved.