public interface EmbeddedServletContainer
started and
stopped.
Instances of this class are usually obtained via a
EmbeddedServletContainerFactory.
EmbeddedServletContainerFactory| Modifier and Type | Method and Description |
|---|---|
int |
getPort()
Return the port this server is listening on.
|
void |
start()
Starts the embedded servlet container.
|
void |
stop()
Stops the embedded servlet container.
|
void start()
throws EmbeddedServletContainerException
EmbeddedServletContainerException - if the container cannot be startedvoid stop() throws EmbeddedServletContainerException
EmbeddedServletContainerException - if the container cannot be stoppedint getPort()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.