Package | Description |
---|---|
org.glassfish.tyrus.client |
Common Client.
|
org.glassfish.tyrus.container.grizzly.client |
Grizzly Client container.
|
org.glassfish.tyrus.core |
Core classes.
|
org.glassfish.tyrus.servlet |
Servlet 3.1 integration.
|
org.glassfish.tyrus.spi |
Tyrus SPI.
|
Modifier and Type | Method and Description |
---|---|
ClientEngine.ClientUpgradeInfo |
TyrusClientEngine.processResponse(UpgradeResponse upgradeResponse,
Writer writer,
Connection.CloseListener closeListener) |
Modifier and Type | Class and Description |
---|---|
class |
GrizzlyWriter |
Modifier and Type | Method and Description |
---|---|
void |
ProtocolHandler.setWriter(Writer writer)
Set
Writer instance. |
Modifier and Type | Method and Description |
---|---|
void |
TyrusHttpUpgradeHandler.preInit(WebSocketEngine.UpgradeInfo upgradeInfo,
Writer writer,
boolean authenticated)
Sets the required information before
TyrusHttpUpgradeHandler.init(WebConnection) is invoked. |
Modifier and Type | Method and Description |
---|---|
Writer |
Connection.getWriter()
Returns the same writer that is passed for creating connection in
WebSocketEngine.UpgradeInfo#createConnection(Writer, CloseListener)
The transport writer that actually writes websocket data
to underlying connection. |
Modifier and Type | Method and Description |
---|---|
Connection |
WebSocketEngine.UpgradeInfo.createConnection(Writer writer,
Connection.CloseListener closeListener)
Creates a connection if the upgrade is successful.
|
ClientEngine.ClientUpgradeInfo |
ClientEngine.processResponse(UpgradeResponse upgradeResponse,
Writer writer,
Connection.CloseListener closeListener)
Process handshake and return
ClientEngine.ClientUpgradeInfo with handshake status (ClientEngine.ClientUpgradeStatus ). |
Copyright © 2012–2020 Oracle Corporation. All rights reserved.