public interface TyrusContainer
| Modifier and Type | Method and Description |
|---|---|
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 url,
javax.websocket.ClientEndpointConfig cec,
SPIEndpoint endpoint,
SPIHandshakeListener handshakeListener,
Map<String,Object> properties)
Open client socket - connect to endpoint specified with
url parameter. |
TyrusServer createServer(String rootPath, int port)
rootPath - context rootport - TCP portTyrusClientSocket openClientSocket(String url, javax.websocket.ClientEndpointConfig cec, SPIEndpoint endpoint, SPIHandshakeListener handshakeListener, Map<String,Object> properties) throws javax.websocket.DeploymentException
url parameter.url - address where remote service is deployed.cec - endpoint configuration.endpoint - endpoint instance.handshakeListener - handshake listener.properties - properties map.javax.websocket.DeploymentExceptionCopyright © 2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.