|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EmbeddableServer
An interface used to define the container implementation used by Grails during development.
Field Summary | |
---|---|
static String |
DEFAULT_HOST
|
static int |
DEFAULT_PORT
|
static 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(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(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 |
---|
static final int DEFAULT_SECURE_PORT
static final int DEFAULT_PORT
static final String DEFAULT_HOST
Method Detail |
---|
void start()
void start(int port)
port
- The port numbervoid start(String host, int port)
host
- The host to start onport
- The port numbervoid startSecure()
void startSecure(int port)
port
- The portvoid startSecure(String host, int httpPort, int httpsPort)
host
- The server hosthttpPort
- The port for HTTP traffic.httpsPort
- The port for HTTPS traffic.void stop()
void restart()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |