org.glassfish.tyrus.oldservlet
Class GrizzlyBasedEngine
java.lang.Object
org.glassfish.tyrus.grizzly.GrizzlyEngine
org.glassfish.tyrus.oldservlet.GrizzlyBasedEngine
- All Implemented Interfaces:
- TyrusContainer
public class GrizzlyBasedEngine
- extends GrizzlyEngine
- Author:
- Martin Matula (martin.matula at oracle.com)
|
Method Summary |
TyrusServer |
createServer(String rootPath,
int port)
Creates a new embedded HTTP server (if supported) listening to incoming connections at a given root path
and port. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GrizzlyBasedEngine
public GrizzlyBasedEngine()
createServer
public TyrusServer createServer(String rootPath,
int port)
- Description copied from interface:
TyrusContainer
- Creates a new embedded HTTP server (if supported) listening to incoming connections at a given root path
and port.
- Specified by:
createServer in interface TyrusContainer- Overrides:
createServer in class GrizzlyEngine
- Parameters:
rootPath - context rootport - TCP port
- Returns:
- server that can be started and stopped
Copyright © 2012. All Rights Reserved.