|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
public interface EmbeddableServer
Defines the container implementation used by Grails during development.
Field Summary | |
---|---|
java.lang.String |
DEFAULT_HOST
|
int |
DEFAULT_PORT
|
int |
DEFAULT_SECURE_PORT
|
Method Summary | |
---|---|
void
|
restart()
Typically combines the stop() and start() methods in order to restart the container |
void
|
start()
Starts the container on the default port |
void
|
start(int port)
Starts the container on the given port |
void
|
start(java.lang.String host, int port)
Starts the container on the given port |
void
|
startSecure()
Starts a secure container running over HTTPS |
void
|
startSecure(int port)
Starts a secure container running over HTTPS for the given port |
void
|
startSecure(java.lang.String host, int httpPort, int httpsPort)
Starts a secure container running over HTTPS for the given port and host. |
void
|
stop()
Stops the container |
Field Detail |
---|
public java.lang.String DEFAULT_HOST
public int DEFAULT_PORT
public int DEFAULT_SECURE_PORT
Method Detail |
---|
public void restart()
public void start()
public void start(int port)
port
- The port number
public void start(java.lang.String host, int port)
host
- The host to start onport
- The port number
public void startSecure()
public void startSecure(int port)
port
- The port
public void startSecure(java.lang.String host, int httpPort, int httpsPort)
host
- The server hosthttpPort
- The port for HTTP traffic.httpsPort
- The port for HTTPS traffic.
public void stop()
Groovy Documentation