org.glassfish.tyrus.grizzly
Class GrizzlyEngine
java.lang.Object
org.glassfish.tyrus.grizzly.GrizzlyEngine
- All Implemented Interfaces:
- TyrusContainer
- Direct Known Subclasses:
- GrizzlyBasedEngine
public class GrizzlyEngine
- extends Object
- implements TyrusContainer
- Author:
- Danny Coward (danny.coward at oracle.com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GrizzlyEngine
public GrizzlyEngine()
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
- Parameters:
rootPath - context rootport - TCP port
- Returns:
- server that can be started and stopped
openClientSocket
public TyrusClientSocket openClientSocket(String path,
ClientEndpointConfiguration cec,
SPIEndpoint endpoint)
- Specified by:
openClientSocket in interface TyrusContainer
Copyright © 2012. All Rights Reserved.