public class GrizzlyHttpServer extends Object implements cloud.piranha.api.HttpServer
| Constructor and Description |
|---|
GrizzlyHttpServer()
Constructor.
|
GrizzlyHttpServer(org.glassfish.grizzly.http.server.HttpServer httpServer)
Constructor
|
GrizzlyHttpServer(int serverPort)
Constructor
|
GrizzlyHttpServer(int serverPort,
cloud.piranha.api.HttpServerProcessor httpServerProcessor)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isRunning()
Is the server running.
|
void |
start()
Start the server.
|
void |
stop()
Stop the server.
|
public GrizzlyHttpServer()
public GrizzlyHttpServer(int serverPort)
serverPort - the server port.public GrizzlyHttpServer(int serverPort,
cloud.piranha.api.HttpServerProcessor httpServerProcessor)
serverPort - the server port.httpServerProcessor - the HTTP server processor;public GrizzlyHttpServer(org.glassfish.grizzly.http.server.HttpServer httpServer)
httpServer - the Grizzly HTTP server.public boolean isRunning()
isRunning in interface cloud.piranha.api.HttpServerpublic void start()
start in interface cloud.piranha.api.HttpServerpublic void stop()
stop in interface cloud.piranha.api.HttpServerCopyright © 2020. All rights reserved.