public abstract class LifeCycle extends Object
Modifier and Type | Field and Description |
---|---|
protected io.netty.channel.EventLoopGroup |
bossGroup |
protected HttpStateHandler |
httpStateHandler |
protected MockServerLogger |
mockServerLogger |
protected io.netty.bootstrap.ServerBootstrap |
serverServerBootstrap |
protected io.netty.channel.EventLoopGroup |
workerGroup |
Modifier | Constructor and Description |
---|---|
protected |
LifeCycle() |
Modifier and Type | Method and Description |
---|---|
List<Integer> |
bindServerPorts(List<Integer> requestedPortBindings) |
int |
getLocalPort() |
List<Integer> |
getLocalPorts() |
Integer |
getPort()
Deprecated.
use getLocalPort instead of getPort
|
Scheduler |
getScheduler() |
boolean |
isRunning() |
protected void |
startedServer(List<Integer> ports) |
void |
stop() |
protected final MockServerLogger mockServerLogger
protected io.netty.channel.EventLoopGroup bossGroup
protected io.netty.channel.EventLoopGroup workerGroup
protected HttpStateHandler httpStateHandler
protected io.netty.bootstrap.ServerBootstrap serverServerBootstrap
public void stop()
public Scheduler getScheduler()
public boolean isRunning()
@Deprecated public Integer getPort()
public int getLocalPort()
Copyright © 2018. All rights reserved.