Package | Description |
---|---|
org.glassfish.tyrus.client |
Common Client.
|
org.glassfish.tyrus.server |
Server implementation.
|
org.glassfish.tyrus.test.tools |
Modifier and Type | Method and Description |
---|---|
static ClientManager |
ClientManager.createClient()
Create new
ClientManager instance. |
static ClientManager |
ClientManager.createClient(String containerProviderClassName)
Create new ClientManager instance.
|
static ClientManager |
ClientManager.createClient(String containerProviderClassName,
javax.websocket.WebSocketContainer webSocketContainer)
Create new ClientManager instance on top of provided
WebSocketContainer instance. |
static ClientManager |
ClientManager.createClient(javax.websocket.WebSocketContainer webSocketContainer)
Create new ClientManager instance on top of provided
WebSocketContainer instance. |
Modifier and Type | Method and Description |
---|---|
protected ClientManager |
TyrusServerContainer.getClientManager()
Can be overridden to provide own
ClientManager implementation or instance. |
Modifier and Type | Method and Description |
---|---|
protected ClientManager |
TestContainer.createClient()
Get the
ClientManager instance. |
Modifier and Type | Method and Description |
---|---|
protected void |
TestContainer.testViaServiceEndpoint(ClientManager client,
Class<?> serviceEndpoint,
String expectedResult,
String message)
Send message to the service endpoint and compare the received result with the specified one.
|
Copyright © 2012-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.