C G O R S U
C
- checkHandshake(SPIHandshakeRequest) - Method in class org.glassfish.tyrus.spi.SPIEndpoint
-
This method must be called by the provider during
its check for a successful websocket handshake.
G
- getHeader(String) - Method in interface org.glassfish.tyrus.spi.SPIHandshakeRequest
-
Get the Http Header value for the given header name
in the underlying Http handshake request.
- getRequestURI() - Method in interface org.glassfish.tyrus.spi.SPIHandshakeRequest
-
Get the Http request uri underlying Http handshake request.
- getSupportedProtocols(List<String>) - Method in class org.glassfish.tyrus.spi.SPIEndpoint
-
Called by the provider during the handshake to determine
a list of subprotocols this endpoint will support of those
passed in.
O
- onClose(RemoteEndpoint) - Method in class org.glassfish.tyrus.spi.SPIEndpoint
-
Called by the provider when the web socket connection
to the given remote endpoint has just closed.
- onConnect(RemoteEndpoint) - Method in class org.glassfish.tyrus.spi.SPIEndpoint
-
Called by the provider when the web socket connection
is established.
- onMessage(RemoteEndpoint, String) - Method in class org.glassfish.tyrus.spi.SPIEndpoint
-
Called by the provider when the web socket connection
has an incoming text message from the given remote endpoint.
- onMessage(RemoteEndpoint, ByteBuffer) - Method in class org.glassfish.tyrus.spi.SPIEndpoint
-
Called by the provider when the web socket connection
has an incoming binary message from the given remote endpoint.
- onOpen(Session) - Method in class org.glassfish.tyrus.spi.SPIEndpoint
-
- org.glassfish.tyrus.spi - package org.glassfish.tyrus.spi
-
R
- register(SPIEndpoint) - Method in interface org.glassfish.tyrus.spi.SPIWebSocketProvider
-
The register method is called by the SDK when it
has created a web socket endpoint it wishes to be managed.
- remove() - Method in class org.glassfish.tyrus.spi.SPIEndpoint
-
Called by the provider after all connections have been closed to
this endpoint, and after the endpoint has been removed from service.
- remove() - Method in interface org.glassfish.tyrus.spi.SPIRegisteredEndpoint
-
S
- SPIEndpoint - Class in org.glassfish.tyrus.spi
-
The WebSocket SDK implements SPIEndpoint with its representation of
a websocket endpoint mapped to a base URI that wishes to handle incoming
messages.
- SPIEndpoint() - Constructor for class org.glassfish.tyrus.spi.SPIEndpoint
-
- SPIHandshakeRequest - Interface in org.glassfish.tyrus.spi
-
The provider passes the handshake request to
the SDK created endpoint
- SPIRegisteredEndpoint - Interface in org.glassfish.tyrus.spi
-
The provider implements this interface in order to
provide the web socket SDK a handle to the deployed
endpoint that it may use later to unregister.
- SPIWebSocketProvider - Interface in org.glassfish.tyrus.spi
-
The SPIWebSocketProvider is the starting point of the provider SPI.
U
- unregister(SPIRegisteredEndpoint) - Method in interface org.glassfish.tyrus.spi.SPIWebSocketProvider
-
The SDK calls unregister when it no longer wishes the endpoint to be
in service.
C G O R S U
Copyright © 2012. All Rights Reserved.