Class LifeCycle
java.lang.Object
de.gematik.test.tiger.mockserver.lifecycle.LifeCycle
- Direct Known Subclasses:
MockServer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final io.netty.channel.EventLoopGroupprotected final HttpStateprotected io.netty.bootstrap.ServerBootstrapprotected final io.netty.channel.EventLoopGroup -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbindServerPorts(List<Integer> requestedPortBindings) voidclose()io.netty.channel.EventLoopGroupprotected io.netty.channel.EventLoopGroupintgetPort()Deprecated.use getLocalPort instead of getPortio.netty.bootstrap.ServerBootstrapio.netty.channel.EventLoopGroupbooleanprotected voidstartedServer(List<Integer> ports) voidstop()
-
Field Details
-
bossGroup
protected final io.netty.channel.EventLoopGroup bossGroup -
workerGroup
protected final io.netty.channel.EventLoopGroup workerGroup -
httpState
-
serverServerBootstrap
protected io.netty.bootstrap.ServerBootstrap serverServerBootstrap
-
-
Constructor Details
-
LifeCycle
-
-
Method Details
-
stopAsync
-
stop
public void stop() -
close
public void close() -
getEventLoopGroup
protected io.netty.channel.EventLoopGroup getEventLoopGroup() -
getScheduler
-
isRunning
public boolean isRunning() -
getLocalPorts
-
getPort
Deprecated.use getLocalPort instead of getPort -
getLocalPort
public int getLocalPort() -
bindServerPorts
-
startedServer
-
getBossGroup
public io.netty.channel.EventLoopGroup getBossGroup() -
getWorkerGroup
public io.netty.channel.EventLoopGroup getWorkerGroup() -
getHttpState
-
getConfiguration
-
getServerServerBootstrap
public io.netty.bootstrap.ServerBootstrap getServerServerBootstrap() -
getServerChannelFutures
-
getStopFuture
-
getStopping
-