Defines the container implementation used by Grails during development.
| Modifiers | Name | Description |
|---|---|---|
java.lang.String |
DEFAULT_HOST |
|
int |
DEFAULT_PORT |
|
int |
DEFAULT_SECURE_PORT |
| Type Params | Return Type | Name and description |
|---|---|---|
|
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 |
Typically combines the stop() and start() methods in order to restart the container
Starts the container on the default port
Starts the container on the given port
port - The port numberStarts the container on the given port
host - The host to start onport - The port numberStarts a secure container running over HTTPS
Starts a secure container running over HTTPS for the given port
port - The portStarts a secure container running over HTTPS for the given port and host.
host - The server hosthttpPort - The port for HTTP traffic.httpsPort - The port for HTTPS traffic.Stops the container