org.glassfish.tyrus.grizzly
Class GrizzlyEngine

java.lang.Object
  extended by 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)

Constructor Summary
GrizzlyEngine()
           
 
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.
 TyrusClientSocket openClientSocket(String path, ClientEndpointConfiguration cec, SPIEndpoint endpoint)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GrizzlyEngine

public GrizzlyEngine()
Method Detail

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 root
port - 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.