A B C D E F G H I J L M O P R S T U V W 

A

addMessageHandler(MessageHandler) - Method in interface javax.net.websocket.Session
Register to handle to incoming messages in this conversation.
addMessageHandler(MessageHandler) - Method in class org.glassfish.tyrus.platform.SessionImpl
 

B

BeanServer - Class in org.glassfish.tyrus.platform
Server that processes the client applications and creates respective SPIEndpoint.
BeanServer(String) - Constructor for class org.glassfish.tyrus.platform.BeanServer
Create new BeanServer.
BinaryDecoderNoOp - Class in org.glassfish.tyrus.platform.decoders
 
BinaryDecoderNoOp() - Constructor for class org.glassfish.tyrus.platform.decoders.BinaryDecoderNoOp
 
BinaryEncoderNoOp - Class in org.glassfish.tyrus.platform.encoders
 
BinaryEncoderNoOp() - Constructor for class org.glassfish.tyrus.platform.encoders.BinaryEncoderNoOp
 
BooleanDecoder - Class in org.glassfish.tyrus.platform.decoders
Used to decode Boolean
BooleanDecoder() - Constructor for class org.glassfish.tyrus.platform.decoders.BooleanDecoder
 
BooleanEncoder - Class in org.glassfish.tyrus.platform.encoders
 
BooleanEncoder() - Constructor for class org.glassfish.tyrus.platform.encoders.BooleanEncoder
 
ByteDecoder - Class in org.glassfish.tyrus.platform.decoders
 
ByteDecoder() - Constructor for class org.glassfish.tyrus.platform.decoders.ByteDecoder
 
ByteEncoder - Class in org.glassfish.tyrus.platform.encoders
 
ByteEncoder() - Constructor for class org.glassfish.tyrus.platform.encoders.ByteEncoder
 

C

CharDecoder - Class in org.glassfish.tyrus.platform.decoders
 
CharDecoder() - Constructor for class org.glassfish.tyrus.platform.decoders.CharDecoder
 
CharEncoder - Class in org.glassfish.tyrus.platform.encoders
 
CharEncoder() - Constructor for class org.glassfish.tyrus.platform.encoders.CharEncoder
 
checkHandshake(SPIHandshakeRequest) - Method in class org.glassfish.tyrus.platform.EndpointWrapper
 
checkOrigin(String) - Method in class javax.net.websocket.DefaultServerConfiguration
Makes a check of the validity of the Origin header sent along with the opening handshake.
checkOrigin(String) - Method in interface javax.net.websocket.ServerConfiguration
Check the value of the Origin header (See definition) the client passed during the opening handshake.
checkOrigin(String) - Method in interface javax.net.websocket.ServerEndpointConfiguration
Check the value of the Origin header (See definition) the client passed during the opening handshake.
checkOrigin(String) - Method in class org.glassfish.tyrus.platform.DefaultServerEndpointConfiguration
 
ClientConfiguration - Interface in javax.net.websocket
The ClientConfiguration is a special kind of endpoint configuration object that contains web socket configuration information specific only to client endpoints.
ClientContainer - Interface in javax.net.websocket
A ClientContainer is an implementation provided object that allows the developer to initiate a web socket handshake from the provided endpoint.
ClientEndpointConfiguration - Interface in javax.net.websocket
The ClientEndpointConfiguration is a special kind of endpoint configuration object that contains web socket configuration information specific only to client endpoints.
close() - Method in interface javax.net.websocket.Session
Close the current conversation with a normal status code and no reason phrase.
close(CloseReason) - Method in interface javax.net.websocket.Session
Close the current conversation, giving a reason for the closure.
close(CloseReason) - Method in class org.glassfish.tyrus.platform.RemoteEndpointWrapper
 
close() - Method in class org.glassfish.tyrus.platform.SessionImpl
 
close(CloseReason) - Method in class org.glassfish.tyrus.platform.SessionImpl
Closes the underlying connection this session is based upon.
CloseReason - Class in javax.net.websocket
A class encapsulating the reason why a web socket has been closed, or why it is being asked to close.
CloseReason(CloseReason.CloseCode, String) - Constructor for class javax.net.websocket.CloseReason
Creates a reason for closing a web socket connection with the given code and reason phrase.
CloseReason.CloseCode - Interface in javax.net.websocket
A marker interface for the close codes.
CloseReason.CloseCodes - Enum in javax.net.websocket
An Enumeration of status codes for a web socket close that are defined in the specification.
closeWebSocketServer() - Method in class org.glassfish.tyrus.platform.BeanServer
Stop the bean server.
connectToServer(Endpoint, ClientEndpointConfiguration) - Method in interface javax.net.websocket.ClientContainer
Connect the supplied endpoint to its server using the supplied handshake parameters
connectToServer(Endpoint, ClientEndpointConfiguration) - Method in class org.glassfish.tyrus.platform.ServerContainerImpl
 
ContainerProvider - Class in javax.net.websocket
Provider class that uses the ServiceLoader mechanism to provide implementations of ServerContainer and ClientContainer.
ContainerProvider() - Constructor for class javax.net.websocket.ContainerProvider
 
contextDestroyed(ServletContextEvent) - Method in class org.glassfish.tyrus.platform.web.WebSocketServerWebIntegration
 
contextInitialized(ServletContextEvent) - Method in class org.glassfish.tyrus.platform.web.WebSocketServerWebIntegration
 
createBinaryContinuationFrame(ByteBuffer, boolean) - Method in class javax.net.websocket.extensions.FrameBuilder
Create a partial binary frame with the given string fragment, and indication of whether this is the last or not of a series.
createBinaryFrame(ByteBuffer) - Method in class javax.net.websocket.extensions.FrameBuilder
Create a binary data frame with the given bytes.
createIncomingFrameHandler(FrameHandler) - Method in interface javax.net.websocket.extensions.Extension
The FrameHandler that is invoked for any incoming Frames.
createOutgoingFrameHandler(FrameHandler) - Method in interface javax.net.websocket.extensions.Extension
The FrameHandler that is invoked for any outgoing Frames.
createTextContinuationFrame(String, boolean) - Method in class javax.net.websocket.extensions.FrameBuilder
Create a partial text frame with the given string fragment, and indication of whether this is the last or not of a series.
createTextFrame(String) - Method in class javax.net.websocket.extensions.FrameBuilder
Create a text frame with the given string data.

D

decode(ByteBuffer) - Method in interface javax.net.websocket.Decoder.Binary
Decode the given bytes into an object of type T.
decode(InputStream) - Method in interface javax.net.websocket.Decoder.BinaryStream
Decode the given bytes read from the input stream into an object of type T.
decode(String) - Method in interface javax.net.websocket.Decoder.Text
Decode the given String into an object of type T.
decode(Reader) - Method in interface javax.net.websocket.Decoder.TextStream
Reads the websocket message from the implementation provided Reader and decodes it into an instance of the supplied object type.
decode(ByteBuffer) - Method in class org.glassfish.tyrus.platform.decoders.BinaryDecoderNoOp
 
decode(String) - Method in class org.glassfish.tyrus.platform.decoders.BooleanDecoder
 
decode(String) - Method in class org.glassfish.tyrus.platform.decoders.ByteDecoder
 
decode(String) - Method in class org.glassfish.tyrus.platform.decoders.CharDecoder
 
decode(String) - Method in class org.glassfish.tyrus.platform.decoders.DoubleDecoder
 
decode(String) - Method in class org.glassfish.tyrus.platform.decoders.FloatDecoder
 
decode(String) - Method in class org.glassfish.tyrus.platform.decoders.IntegerDecoder
 
decode(String) - Method in class org.glassfish.tyrus.platform.decoders.LongDecoder
 
decode(String) - Method in class org.glassfish.tyrus.platform.decoders.ShortDecoder
 
decode(String) - Method in class org.glassfish.tyrus.platform.decoders.StringDecoderNoOp
 
DecodeException - Exception in javax.net.websocket
A general exception that occurs when trying to decode a custom object from a text or binary message.
DecodeException(ByteBuffer, String, Throwable) - Constructor for exception javax.net.websocket.DecodeException
 
DecodeException(String, String, Throwable) - Constructor for exception javax.net.websocket.DecodeException
 
DecodeException(ByteBuffer, String) - Constructor for exception javax.net.websocket.DecodeException
Constructs a DecodedException with the given ByteBuffer that cannot be decoded, and reason why.
DecodeException(String, String) - Constructor for exception javax.net.websocket.DecodeException
Constructs a DecodedException with the given encoded string that cannot be decoded, and reason why.
Decoder - Interface in javax.net.websocket
The Decoder interface holds member interfaces that define how a developer can provide the web socket container a way web socket messages into developer defined custom objects.
Decoder.Binary<T> - Interface in javax.net.websocket
This interface defines how a custom object (of type T) is decoded from a web socket message in the form of a byte buffer.
Decoder.BinaryStream<T> - Interface in javax.net.websocket
This interface defines how a custom object is decoded from a web socket message in the form of a binary stream.
Decoder.Text<T> - Interface in javax.net.websocket
This interface defines how a custom object is decoded from a web socket message in the form of a string.
Decoder.TextStream<T> - Interface in javax.net.websocket
This interface defines how a custom object of type T is decoded from a web socket message in the form of a character stream.
DefaultClientConfiguration - Class in javax.net.websocket
The DefaultClientConfiguration is a concrete implementation of a client configuration.
DefaultClientConfiguration(URI) - Constructor for class javax.net.websocket.DefaultClientConfiguration
Creates a client configuration that will attempt to connect to the given URI.
DefaultClientEndpointConfiguration - Class in org.glassfish.tyrus.platform
 
DefaultClientEndpointConfiguration(URI) - Constructor for class org.glassfish.tyrus.platform.DefaultClientEndpointConfiguration
Creates a client configuration that will attempt to connect to the given URI.
DefaultEndpointConfiguration - Class in org.glassfish.tyrus.platform
Default configuration implementation.
DefaultEndpointConfiguration() - Constructor for class org.glassfish.tyrus.platform.DefaultEndpointConfiguration
 
DefaultServerConfiguration - Class in javax.net.websocket
The DefaultServerConfiguration is a concrete class that embodies all the configuration parameters for an endpoint that is to be published as a server endpoint.
DefaultServerConfiguration() - Constructor for class javax.net.websocket.DefaultServerConfiguration
For subclass implementations.
DefaultServerConfiguration(URI) - Constructor for class javax.net.websocket.DefaultServerConfiguration
Creates a server configuration with the given URI.
DefaultServerEndpointConfiguration - Class in org.glassfish.tyrus.platform
Provides the default ServerConfiguration used by the BeanServer.
DefaultServerEndpointConfiguration() - Constructor for class org.glassfish.tyrus.platform.DefaultServerEndpointConfiguration
Create new configuration.
DefaultServerEndpointConfiguration(Model) - Constructor for class org.glassfish.tyrus.platform.DefaultServerEndpointConfiguration
Creates new configuration for Endpoint which is used on the server side.
deregisterSession(HttpSession) - Method in class org.glassfish.tyrus.platform.web.HttpSessionManager
 
destroy() - Method in class org.glassfish.tyrus.platform.web.WSFilter
Destroy method for this filter
doesPathMatch(String, String) - Method in class org.glassfish.tyrus.platform.EndpointWrapper
Checks whether the provided dynamicPath matches with this endpoint, i.e.
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class org.glassfish.tyrus.platform.web.WSFilter
 
DoubleDecoder - Class in org.glassfish.tyrus.platform.decoders
 
DoubleDecoder() - Constructor for class org.glassfish.tyrus.platform.decoders.DoubleDecoder
 
DoubleEncoder - Class in org.glassfish.tyrus.platform.encoders
 
DoubleEncoder() - Constructor for class org.glassfish.tyrus.platform.encoders.DoubleEncoder
 

E

encode(T) - Method in interface javax.net.websocket.Encoder.Binary
Encode the given object into a byte array.
encode(T, OutputStream) - Method in interface javax.net.websocket.Encoder.BinaryStream
Encode the given object into a binary stream written to the implementation provided OutputStream.
encode(T) - Method in interface javax.net.websocket.Encoder.Text
Encode the given object into a String.
encode(T, Writer) - Method in interface javax.net.websocket.Encoder.TextStream
Encode the given object to a character stream writing it to the supplied Writer.
encode(Object) - Method in class org.glassfish.tyrus.platform.encoders.BinaryEncoderNoOp
 
encode(Boolean) - Method in class org.glassfish.tyrus.platform.encoders.BooleanEncoder
 
encode(Byte) - Method in class org.glassfish.tyrus.platform.encoders.ByteEncoder
 
encode(Character) - Method in class org.glassfish.tyrus.platform.encoders.CharEncoder
 
encode(Double) - Method in class org.glassfish.tyrus.platform.encoders.DoubleEncoder
 
encode(Float) - Method in class org.glassfish.tyrus.platform.encoders.FloatEncoder
 
encode(Integer) - Method in class org.glassfish.tyrus.platform.encoders.IntegerEncoder
 
encode(Long) - Method in class org.glassfish.tyrus.platform.encoders.LongEncoder
 
encode(Short) - Method in class org.glassfish.tyrus.platform.encoders.ShortEncoder
 
encode(String) - Method in class org.glassfish.tyrus.platform.encoders.StringEncoderNoOp
 
EncodeException - Exception in javax.net.websocket
A general exception that occurs when trying to encode a custom object to a string or binary message.
EncodeException(String, Object) - Constructor for exception javax.net.websocket.EncodeException
 
EncodeException(String, Object, Throwable) - Constructor for exception javax.net.websocket.EncodeException
 
Encoder - Interface in javax.net.websocket
The Encoder interfaces defines how developers can provide a way to convert their custom objects into web socket messages.
Encoder.Binary<T> - Interface in javax.net.websocket
This interface defines how to provide a way to convert a custom object into a binary message.
Encoder.BinaryStream<T> - Interface in javax.net.websocket
This interface may be implemented by encoding algorithms that want to write the encoded object to a binary stream.
Encoder.Text<T> - Interface in javax.net.websocket
This interface defines how to provide a way to convert a custom object into a text message.
Encoder.TextStream<T> - Interface in javax.net.websocket
This interface may be implemented by encoding algorithms that want to write the encoded object to a character stream.
Endpoint - Class in javax.net.websocket
The Web Socket Endpoint represents and object that can handle web socket conversations.
Endpoint() - Constructor for class javax.net.websocket.Endpoint
 
EndpointAdapter - Class in org.glassfish.tyrus.platform
Adapter to make the implementation easy for developers.
EndpointAdapter() - Constructor for class org.glassfish.tyrus.platform.EndpointAdapter
 
EndpointConfiguration - Interface in javax.net.websocket
The endpoint configuration contains all the information needed during the handshake process for this end point.
EndpointWrapper - Class in org.glassfish.tyrus.platform
Wrapps the registered application class.
EndpointWrapper(String, Model, EndpointConfiguration) - Constructor for class org.glassfish.tyrus.platform.EndpointWrapper
Creates new endpoint wrapper.
Extension - Interface in javax.net.websocket.extensions
The Extension interface represents a web socket extension.

F

findSessionByID(String) - Method in class org.glassfish.tyrus.platform.web.HttpSessionManager
 
FloatDecoder - Class in org.glassfish.tyrus.platform.decoders
 
FloatDecoder() - Constructor for class org.glassfish.tyrus.platform.decoders.FloatDecoder
 
FloatEncoder - Class in org.glassfish.tyrus.platform.encoders
 
FloatEncoder() - Constructor for class org.glassfish.tyrus.platform.encoders.FloatEncoder
 
Frame - Interface in javax.net.websocket.extensions
Frame is the top level interface that represents some kind of web socket frame.
Frame.Control - Interface in javax.net.websocket.extensions
Super type for all the websocket control frames.
Frame.Control.Close - Interface in javax.net.websocket.extensions
A web socket Close frame.
Frame.Control.Ping - Interface in javax.net.websocket.extensions
A web socket Ping frame.
Frame.Control.Pong - Interface in javax.net.websocket.extensions
A web socket Pong frame.
Frame.Data - Interface in javax.net.websocket.extensions
Common super-type for all the web socket frames that carry application data.
Frame.Data.Binary - Interface in javax.net.websocket.extensions
A binary data frame
Frame.Data.Binary.Continuation - Interface in javax.net.websocket.extensions
A kind of binary frame that represents a fragment of a message in a series of such frames that, re-assembled, form a complete text message.
Frame.Data.Text - Interface in javax.net.websocket.extensions
A text data frame.
Frame.Data.Text.Continuation - Interface in javax.net.websocket.extensions
A kind of text frame that represents a fragment of a message in a series of such frames that, re-assembled, form a complete text message.
FrameBuilder - Class in javax.net.websocket.extensions
A factory class for building Frames.
FrameBuilder() - Constructor for class javax.net.websocket.extensions.FrameBuilder
 
FrameHandler - Class in javax.net.websocket.extensions
A FrameHandler is a link in the chain of handlers associated with the web socket extensions configured for an endpoint.
FrameHandler(FrameHandler) - Constructor for class javax.net.websocket.extensions.FrameHandler
Constructor that creates a FrameHandler with the given framehandler as the next frame handler in the chain.

G

getActiveSessions() - Method in interface javax.net.websocket.ClientContainer
Return a copy of the Set of the currently active web socket sessions.
getActiveSessions() - Method in class org.glassfish.tyrus.platform.ServerContainerImpl
Return an unordered collection of the currently active web socket sessions.
getAddress() - Method in class org.glassfish.tyrus.platform.RemoteEndpointWrapper
URI to which the remote originally connected.
getApplicationData() - Method in interface javax.net.websocket.extensions.Frame.Control.Ping
The application data within the Ping frame.
getApplicationData() - Method in interface javax.net.websocket.extensions.Frame.Control.Pong
The application data within the Pong frame.
getApplicationLevelClassLoader() - Method in class org.glassfish.tyrus.platform.ServerContainerImpl
 
getBean() - Method in class org.glassfish.tyrus.platform.Model
 
getBoxing(Class<?>) - Static method in class org.glassfish.tyrus.platform.utils.PrimitivesToBoxing
Gets the Boxing class for the primitive type.
getBuilder() - Static method in class javax.net.websocket.extensions.FrameBuilder
 
getBytes() - Method in exception javax.net.websocket.DecodeException
Return the ByteBuffer that cannot be decoded.
getClientContainer() - Static method in class javax.net.websocket.ContainerProvider
 
getCloseCode() - Method in interface javax.net.websocket.extensions.Frame.Control.Close
The close code for this close.
getCode() - Method in interface javax.net.websocket.CloseReason.CloseCode
Returns the code number, for example the integer '1000' for normal closure.
getCode() - Method in enum javax.net.websocket.CloseReason.CloseCodes
Return the code number of this status code.
getContainer() - Method in interface javax.net.websocket.Session
Return the container that this session is part of.
getContainer() - Method in class org.glassfish.tyrus.platform.SessionImpl
 
getContainerContext() - Method in class org.glassfish.tyrus.platform.BeanServer
Returns the ContainerContext.
getData() - Method in interface javax.net.websocket.extensions.Frame.Data.Binary
The application data in the binary frame.
getDecoders() - Method in class javax.net.websocket.DefaultClientConfiguration
Assign the list of decoders this client will use.
getDecoders() - Method in class javax.net.websocket.DefaultServerConfiguration
Return the Decoder implementations configured.
getDecoders() - Method in interface javax.net.websocket.EndpointConfiguration
Return the Decoder implementations configured.
getDecoders() - Method in class org.glassfish.tyrus.platform.DefaultEndpointConfiguration
 
getDecoders() - Method in class org.glassfish.tyrus.platform.Model
 
getEncoders() - Method in class javax.net.websocket.DefaultClientConfiguration
Assign the list of encoders this client will use.
getEncoders() - Method in class javax.net.websocket.DefaultServerConfiguration
Return the Decoder implementations configured.
getEncoders() - Method in interface javax.net.websocket.EndpointConfiguration
Return the Encoder implementations configured.
getEncoders() - Method in class org.glassfish.tyrus.platform.DefaultEndpointConfiguration
 
getEncoders() - Method in class org.glassfish.tyrus.platform.Model
 
getException() - Method in class javax.net.websocket.SendResult
The problem sending the message.
getExtensionData() - Method in interface javax.net.websocket.extensions.Frame.Data
Return data used by a web socket extension in this frame.
getExtensions() - Method in interface javax.net.websocket.ClientConfiguration
Return the list of all the extensions that this client supports.
getExtensions() - Method in interface javax.net.websocket.ClientEndpointConfiguration
Return the list of all the extensions that this client supports.
getExtensions() - Method in class javax.net.websocket.DefaultClientConfiguration
Return the extensions, in order of preference, favorite first, that this client would like to use for its sessions.
getExtensions() - Method in class org.glassfish.tyrus.platform.DefaultClientEndpointConfiguration
Return the extensions, in order of preference, favorite first, that this client would like to use for its sessions.
getFilterConfig() - Method in class org.glassfish.tyrus.platform.web.WSFilter
Return the filter configuration object for this filter.
getHeaders() - Method in interface javax.net.websocket.HandshakeRequest
Return the read only Map of Http Headers that came with the handshake request.
getHeaders() - Method in interface javax.net.websocket.HandshakeResponse
Return the list of Http Headers that came with the handshake request.
getId() - Method in class org.glassfish.tyrus.platform.SessionImpl
Return a unique ID for this session.
getInactiveTime() - Method in interface javax.net.websocket.Session
Return the number of seconds since the underlying connection had any activity.
getInactiveTime() - Method in class org.glassfish.tyrus.platform.SessionImpl
 
getInstalledExtensions() - Method in interface javax.net.websocket.ClientContainer
Return the set of Extensions installed in the container.
getInstalledExtensions() - Method in class org.glassfish.tyrus.platform.ServerContainerImpl
 
getInstance() - Static method in class org.glassfish.tyrus.platform.web.HttpSessionManager
 
getMaxBinaryMessageBufferSize() - Method in interface javax.net.websocket.ClientContainer
Returns the maximum size of binary message that this container will buffer.
getMaxBinaryMessageBufferSize() - Method in class org.glassfish.tyrus.platform.ServerContainerImpl
Returns the maximum size of binary message in number of bytes that this container will buffer.
getMaximumMessageSize() - Method in interface javax.net.websocket.Session
The maximum total length of messages, text or binary, that this Session can handle.
getMaximumMessageSize() - Method in class org.glassfish.tyrus.platform.SessionImpl
 
getMaxSessionIdleTimeout() - Method in interface javax.net.websocket.ClientContainer
Return the maximum time in seconds that a web socket session may be idle before the container may close it.
getMaxSessionIdleTimeout() - Method in class org.glassfish.tyrus.platform.ServerContainerImpl
Return the maximum time in seconds that a web socket session may be idle before the container may close it.
getMaxTextMessageBufferSize() - Method in interface javax.net.websocket.ClientContainer
Sets the maximum size of text message that this container will buffer.
getMaxTextMessageBufferSize() - Method in class org.glassfish.tyrus.platform.ServerContainerImpl
Sets the maximum size of text message in number of bytes that this container will buffer.
getMessageHandlers() - Method in interface javax.net.websocket.Session
Return an unmodifiable copy of the set of MessageHandlers for this Session.
getMessageHandlers() - Method in class org.glassfish.tyrus.platform.SessionImpl
 
getName() - Method in interface javax.net.websocket.extensions.Extension
The name of this extension.
getNegotiatedExtensions(List<Extension>) - Method in class javax.net.websocket.DefaultServerConfiguration
Provides a simple algorithm to return the list of extensions this server will use for the web socket session: the configuration returns a list containing all of the requested extensions passed to this method that it supports, using the order in the requested extensions.
getNegotiatedExtensions(List<Extension>) - Method in interface javax.net.websocket.ServerConfiguration
Return the ordered list of extensions that this server will support given the requested extension list passed in.
getNegotiatedExtensions(List<Extension>) - Method in interface javax.net.websocket.ServerEndpointConfiguration
Return the ordered list of extensions that this server will support given the requested extension list passed in.
getNegotiatedExtensions() - Method in interface javax.net.websocket.Session
Return the list of extensions currently in use for this conversation.
getNegotiatedExtensions(List<Extension>) - Method in class org.glassfish.tyrus.platform.DefaultServerEndpointConfiguration
 
getNegotiatedExtensions() - Method in class org.glassfish.tyrus.platform.SessionImpl
 
getNegotiatedSubprotocol(List<String>) - Method in class javax.net.websocket.DefaultServerConfiguration
Return the subprotocol this server endpoint has chosen from the requested list supplied by a client who wishes to connect, or none if there wasn't one this server endpoint liked.
getNegotiatedSubprotocol(List<String>) - Method in interface javax.net.websocket.ServerConfiguration
Return the subprotocol this server endpoint has chosen from the requested list supplied by a client who wishes to connect, or none if there wasn't one this server endpoint liked.
getNegotiatedSubprotocol(List<String>) - Method in interface javax.net.websocket.ServerEndpointConfiguration
Return the subprotocol this server endpoint has chosen from the requested list supplied by a client who wishes to connect, or none if there wasn't one this server endpoint liked.
getNegotiatedSubprotocol() - Method in interface javax.net.websocket.Session
Return the sub protocol agreed during the websocket handshake for this conversation.
getNegotiatedSubprotocol(List<String>) - Method in class org.glassfish.tyrus.platform.DefaultServerEndpointConfiguration
 
getNegotiatedSubprotocol() - Method in class org.glassfish.tyrus.platform.SessionImpl
 
getNextHandler() - Method in class javax.net.websocket.extensions.FrameHandler
The next handler in the handler chain.
getObject() - Method in exception javax.net.websocket.EncodeException
 
getOnCloseMethods() - Method in class org.glassfish.tyrus.platform.Model
 
getOnMessageMethods() - Method in class org.glassfish.tyrus.platform.Model
 
getOnOpenMethods() - Method in class org.glassfish.tyrus.platform.Model
 
getParameterMap() - Method in interface javax.net.websocket.HandshakeRequest
Return the request parameters associated with the request.
getParameterMap() - Method in interface javax.net.websocket.Session
Return the request parameters associated with the request this session was opened under.
getParameterMap() - Method in class org.glassfish.tyrus.platform.SessionImpl
 
getParameters() - Method in interface javax.net.websocket.extensions.Extension
The map name value pairs that are the web socket extension parameters for this extension.
getPath() - Method in class org.glassfish.tyrus.platform.ServerContainerImpl
 
getPeer(RemoteEndpoint) - Method in class org.glassfish.tyrus.platform.EndpointWrapper
 
getPort() - Method in class org.glassfish.tyrus.platform.ServerContainerImpl
 
getPreferredSubprotocols() - Method in interface javax.net.websocket.ClientConfiguration
The ordered list of sub protocols a client endpoint would like to use.
getPreferredSubprotocols() - Method in interface javax.net.websocket.ClientEndpointConfiguration
The ordered list of sub protocols a client endpoint would like to use.
getPreferredSubprotocols() - Method in class javax.net.websocket.DefaultClientConfiguration
Return the protocols, in order of preference, favorite first, that this client would like to use for its sessions.
getPreferredSubprotocols() - Method in class org.glassfish.tyrus.platform.DefaultClientEndpointConfiguration
Return the protocols, in order of preference, favorite first, that this client would like to use for its sessions.
getProtocolVersion() - Method in interface javax.net.websocket.Session
Returns the version of the websocket protocol currently being used.
getProtocolVersion() - Method in class org.glassfish.tyrus.platform.SessionImpl
Web Socket protocol version used.
getQueryString() - Method in interface javax.net.websocket.HandshakeRequest
Return the query string associated with the request.
getQueryString() - Method in interface javax.net.websocket.Session
Return the query string associated with the request this session was opened under.
getQueryString() - Method in class org.glassfish.tyrus.platform.SessionImpl
 
getReasonPhrase() - Method in interface javax.net.websocket.extensions.Frame.Control.Close
The reason phrase for this close.
getRemote() - Method in interface javax.net.websocket.Session
Return a reference to the RemoteEndpoint object representing the other end of this conversation.
getRemote() - Method in class org.glassfish.tyrus.platform.SessionImpl
 
getRemoteL(Class<T>) - Method in interface javax.net.websocket.Session
Return a reference to the RemoteEndpoint that can send messages in the form of objects of class c.
getRemoteL(Class<T>) - Method in class org.glassfish.tyrus.platform.SessionImpl
 
getRemoteWrapper(RemoteEndpoint, EndpointWrapper) - Static method in class org.glassfish.tyrus.platform.RemoteEndpointWrapper
Get the RemoteEndpoint wrapper.
getRequestURI() - Method in interface javax.net.websocket.HandshakeRequest
Return the request URI of the handshake request.
getRequestURI() - Method in interface javax.net.websocket.Session
Return the URI that this session was opened under.
getRequestURI() - Method in class org.glassfish.tyrus.platform.SessionImpl
 
getSendStream() - Method in interface javax.net.websocket.RemoteEndpoint
Opens an output stream on which a binary message may be sent.
getSendStream() - Method in class org.glassfish.tyrus.platform.RemoteEndpointWrapper
 
getSendWriter() - Method in interface javax.net.websocket.RemoteEndpoint
Opens an character stream on which a text message may be sent.
getSendWriter() - Method in class org.glassfish.tyrus.platform.RemoteEndpointWrapper
 
getServerContainer() - Static method in class javax.net.websocket.ContainerProvider
 
getSession() - Method in interface javax.net.websocket.HandshakeRequest
Return a reference to the HttpSession that the web socket handshake that started this conversation was part of, if applicable.
getSession() - Method in class org.glassfish.tyrus.platform.RemoteEndpointWrapper
 
getStackTrace(Throwable) - Static method in class org.glassfish.tyrus.platform.web.WSFilter
 
getSubprotocols() - Method in class org.glassfish.tyrus.platform.Model
 
getSupportedProtocols(List<String>) - Method in class org.glassfish.tyrus.platform.EndpointWrapper
 
getText() - Method in exception javax.net.websocket.DecodeException
Return the encoded string that cannot be decoded.
getText() - Method in interface javax.net.websocket.extensions.Frame.Data.Text
Return the textual data in this text frame.
getTimeout() - Method in interface javax.net.websocket.Session
Return the number of seconds before this conversation will be closed by the container if it is inactive, ie no messages are either sent or received in that time.
getTimeout() - Method in class org.glassfish.tyrus.platform.SessionImpl
 
getURI() - Method in class javax.net.websocket.DefaultClientConfiguration
 
getUri() - Method in class org.glassfish.tyrus.platform.DefaultClientEndpointConfiguration
Return the URI the client will connect to.
getUserPrincipal() - Method in interface javax.net.websocket.HandshakeRequest
Return the authenticated user or null if no user is authenticated for this handshake.

H

handleFrame(Frame) - Method in class javax.net.websocket.extensions.FrameHandler
This method is invoked whenever the implementation is ready to invoke this framehandler as part of the framehandler chain.
handleGeneratedBeanException(RemoteEndpoint, Exception) - Method in class org.glassfish.tyrus.platform.EndpointWrapper
 
HandshakeRequest - Interface in javax.net.websocket
The handshake request represents the web socket defined Http request that for the opening handshake of a web socket session.
HandshakeResponse - Interface in javax.net.websocket
The handshake response represents the web socket defined http response that will be sent by the web socket server during the opening handshake.
HttpSessionManager - Class in org.glassfish.tyrus.platform.web
 
HttpSessionManager() - Constructor for class org.glassfish.tyrus.platform.web.HttpSessionManager
 

I

init(FilterConfig) - Method in class org.glassfish.tyrus.platform.web.WSFilter
Init method for this filter
initWebSocketServer(String, int, Set<Class<?>>) - Method in class org.glassfish.tyrus.platform.BeanServer
Inits the server.
IntegerDecoder - Class in org.glassfish.tyrus.platform.decoders
 
IntegerDecoder() - Constructor for class org.glassfish.tyrus.platform.decoders.IntegerDecoder
 
IntegerEncoder - Class in org.glassfish.tyrus.platform.encoders
 
IntegerEncoder() - Constructor for class org.glassfish.tyrus.platform.encoders.IntegerEncoder
 
isActive() - Method in interface javax.net.websocket.Session
Return true if and only if the underlying socket is open.
isActive() - Method in class org.glassfish.tyrus.platform.SessionImpl
 
isConnected() - Method in class org.glassfish.tyrus.platform.RemoteEndpointWrapper
The endpoint is connected.
isLast() - Method in interface javax.net.websocket.extensions.Frame.Data.Binary.Continuation
Indicates whether this text message fragment is the last in the series or not.
isLast() - Method in interface javax.net.websocket.extensions.Frame.Data.Text.Continuation
Indicates whether this text message fragment is the last in the series or not.
isOK() - Method in class javax.net.websocket.SendResult
Determines if this result is ok or not.
isSecure() - Method in interface javax.net.websocket.Session
Return true if and only if the underlying socket is using a secure transport.
isSecure() - Method in class org.glassfish.tyrus.platform.SessionImpl
 
isUserInRole(String) - Method in interface javax.net.websocket.HandshakeRequest
Checks whether the current user is in the given role.

J

javax.net.websocket - package javax.net.websocket
 
javax.net.websocket.annotations - package javax.net.websocket.annotations
 
javax.net.websocket.extensions - package javax.net.websocket.extensions
 

L

log(String) - Method in class org.glassfish.tyrus.platform.web.WSFilter
 
LongDecoder - Class in org.glassfish.tyrus.platform.decoders
 
LongDecoder() - Constructor for class org.glassfish.tyrus.platform.decoders.LongDecoder
 
LongEncoder - Class in org.glassfish.tyrus.platform.encoders
 
LongEncoder() - Constructor for class org.glassfish.tyrus.platform.encoders.LongEncoder
 

M

main(String[]) - Static method in class org.glassfish.tyrus.platform.main.Server
 
matchesURI(URI) - Method in class javax.net.websocket.DefaultServerConfiguration
A URI is a match if and only if it is an exact match (.equals()) the URI used to create this configuration.
matchesURI(URI) - Method in interface javax.net.websocket.ServerConfiguration
Answers whether the current configuration matches the given URI.
matchesURI(URI) - Method in interface javax.net.websocket.ServerEndpointConfiguration
Answers whether the current configuration matches the given URI.
matchesURI(URI) - Method in class org.glassfish.tyrus.platform.DefaultServerEndpointConfiguration
 
MessageHandler - Interface in javax.net.websocket
Developers implement MessageHandlers in order to receive incoming messages during a web socket conversation.
MessageHandler.AsyncBinary - Interface in javax.net.websocket
This kind of handler is called to process for binary messages which may arrive in multiple parts.
MessageHandler.AsyncText - Interface in javax.net.websocket
This kind of handler is called to process for text messages which may arrive in multiple parts.
MessageHandler.Binary - Interface in javax.net.websocket
This kind of listener listens for binary messages.
MessageHandler.BinaryStream - Interface in javax.net.websocket
This kind of handler is called when a new binary message arrives that is to be read using a blocking stream.
MessageHandler.CharacterStream - Interface in javax.net.websocket
This kind of handler is called when a new text message arrives that is to be read using a blocking stream.
MessageHandler.DecodedObject<T> - Interface in javax.net.websocket
This kind of listener listens for messages that the container knows how to decode into an object of type T.
MessageHandler.Pong - Interface in javax.net.websocket
This handler is called back by the container when the container receives a pong message.
MessageHandler.Text - Interface in javax.net.websocket
This kind of listener listens for text messages.
MessageHandlerForBean - Class in org.glassfish.tyrus.platform
 
MessageHandlerForBean() - Constructor for class org.glassfish.tyrus.platform.MessageHandlerForBean
 
Model - Class in org.glassfish.tyrus.platform
Model of a class annotated using the WebSocketEndpoint annotations
Model(Class<?>) - Constructor for class org.glassfish.tyrus.platform.Model
 
Model(Object) - Constructor for class org.glassfish.tyrus.platform.Model
 
modifyHandshake(HandshakeRequest, HandshakeResponse) - Method in class javax.net.websocket.DefaultServerConfiguration
The default server configuration does not make any changes to the response.
modifyHandshake(HandshakeRequest, HandshakeResponse) - Method in interface javax.net.websocket.ServerConfiguration
Called by the container after it has formulated a handshake response resulting from a well-formed handshake request.
modifyHandshake(HandshakeRequest, HandshakeResponse) - Method in interface javax.net.websocket.ServerEndpointConfiguration
Called by the container after it has formulated a handshake response resulting from a well-formed handshake request.
modifyHandshake(HandshakeRequest, HandshakeResponse) - Method in class org.glassfish.tyrus.platform.DefaultServerEndpointConfiguration
 

O

onClose(Session, CloseReason) - Method in class javax.net.websocket.Endpoint
Developers may implement this method to be notified when an active conversation has just been terminated.
onClose(Session, CloseReason) - Method in class org.glassfish.tyrus.platform.EndpointAdapter
 
onClose(RemoteEndpoint) - Method in class org.glassfish.tyrus.platform.EndpointWrapper
 
onConnect(RemoteEndpoint) - Method in class org.glassfish.tyrus.platform.EndpointWrapper
 
onError(Throwable, Session) - Method in class javax.net.websocket.Endpoint
Developers may implement this method when a web socket connection, represented by the session, creates some kind of error that is not modeled in the web socket protocol.
onError(Throwable, Session) - Method in class org.glassfish.tyrus.platform.EndpointAdapter
 
onGeneratedBeanClose(RemoteEndpointWrapper) - Method in class org.glassfish.tyrus.platform.EndpointWrapper
 
onGeneratedBeanConnect(RemoteEndpointWrapper) - Method in class org.glassfish.tyrus.platform.EndpointWrapper
 
onMessage(ByteBuffer) - Method in interface javax.net.websocket.MessageHandler.Binary
Called when the binary message has been fully received.
onMessage(InputStream) - Method in interface javax.net.websocket.MessageHandler.BinaryStream
This method is called when a new binary message has begun to arrive.
onMessage(Reader) - Method in interface javax.net.websocket.MessageHandler.CharacterStream
This method is called when a new text message has begun to arrive.
onMessage(T) - Method in interface javax.net.websocket.MessageHandler.DecodedObject
Called when the container receives a message that it has been able to decode into an object of type T.
onMessage(String) - Method in interface javax.net.websocket.MessageHandler.Text
Called when the text message has been fully received.
onMessage(RemoteEndpoint, ByteBuffer) - Method in class org.glassfish.tyrus.platform.EndpointWrapper
 
onMessage(RemoteEndpoint, String) - Method in class org.glassfish.tyrus.platform.EndpointWrapper
 
onMessage(String) - Method in class org.glassfish.tyrus.platform.MessageHandlerForBean
 
onMessagePart(ByteBuffer, boolean) - Method in interface javax.net.websocket.MessageHandler.AsyncBinary
Called when part of a binary message has been received.
onMessagePart(String, boolean) - Method in interface javax.net.websocket.MessageHandler.AsyncText
Called when part of a text message has been received.
onOpen(Session) - Method in class javax.net.websocket.Endpoint
Developers may implement this method to be notified when a new conversation has just begun.
onOpen(Session) - Method in class org.glassfish.tyrus.platform.EndpointAdapter
 
onPong(ByteBuffer) - Method in interface javax.net.websocket.MessageHandler.Pong
Called when the container receives a pong message containing the given application data.
onStartup(Set<Class<?>>, ServletContext) - Method in class org.glassfish.tyrus.platform.web.WebSocketServletContainerInitializer
 
org.glassfish.tyrus.platform - package org.glassfish.tyrus.platform
 
org.glassfish.tyrus.platform.decoders - package org.glassfish.tyrus.platform.decoders
 
org.glassfish.tyrus.platform.encoders - package org.glassfish.tyrus.platform.encoders
 
org.glassfish.tyrus.platform.main - package org.glassfish.tyrus.platform.main
 
org.glassfish.tyrus.platform.utils - package org.glassfish.tyrus.platform.utils
 
org.glassfish.tyrus.platform.web - package org.glassfish.tyrus.platform.web
 

P

parseAnnotatedMethods(Class, Class) - Static method in class org.glassfish.tyrus.platform.Model
 
parseSubprotocols(Class) - Static method in class org.glassfish.tyrus.platform.Model
 
PrimitivesToBoxing - Class in org.glassfish.tyrus.platform.utils
For the given primitive type returns finds it's boxing alternative.
PrimitivesToBoxing() - Constructor for class org.glassfish.tyrus.platform.utils.PrimitivesToBoxing
 
PRINCIPAL - Static variable in class org.glassfish.tyrus.platform.web.WebSocketServerWebIntegration
 
publishServer(Endpoint, ServerEndpointConfiguration) - Method in interface javax.net.websocket.ServerContainer
Publish the given endpoint with the provided configuration information.
publishServer(Endpoint, ServerEndpointConfiguration) - Method in class org.glassfish.tyrus.platform.ServerContainerImpl
 

R

registerSession(HttpSession) - Method in class org.glassfish.tyrus.platform.web.HttpSessionManager
 
RemoteEndpoint<T> - Interface in javax.net.websocket
The RemoteEndpoint object is supplied by the container and represents the 'other end' of the Web Socket conversation.
RemoteEndpointWrapper<T> - Class in org.glassfish.tyrus.platform
Wrapps the RemoteEndpoint and represents the other side of the websocket connection.
remove() - Method in class org.glassfish.tyrus.platform.EndpointWrapper
 
removeMessageHandler(MessageHandler) - Method in interface javax.net.websocket.Session
Remove the given MessageHandler from the set belonging to this session.
removeMessageHandler(MessageHandler) - Method in class org.glassfish.tyrus.platform.SessionImpl
 

S

sendBytes(ByteBuffer) - Method in interface javax.net.websocket.RemoteEndpoint
Send a binary message, returning when all of the message has been transmitted.
sendBytes(ByteBuffer, SendHandler) - Method in interface javax.net.websocket.RemoteEndpoint
Initiates the asynchronous transmission of a binary message.
sendBytes(ByteBuffer) - Method in class org.glassfish.tyrus.platform.RemoteEndpointWrapper
 
sendBytes(ByteBuffer, SendHandler) - Method in class org.glassfish.tyrus.platform.RemoteEndpointWrapper
 
SendHandler - Interface in javax.net.websocket
A simple callback object for asynchronous sending of web socket messages.
sendObject(T) - Method in interface javax.net.websocket.RemoteEndpoint
Sends a custom developer object, blocking until it has been transmitted.
sendObject(T, SendHandler) - Method in interface javax.net.websocket.RemoteEndpoint
Initiates the transmission of a custom developer object.
sendObject(T) - Method in class org.glassfish.tyrus.platform.RemoteEndpointWrapper
 
sendObject(T, SendHandler) - Method in class org.glassfish.tyrus.platform.RemoteEndpointWrapper
 
sendPartialBytes(ByteBuffer, boolean) - Method in interface javax.net.websocket.RemoteEndpoint
Send a binary message in pieces, blocking until all of the message has been transmitted.
sendPartialBytes(ByteBuffer, boolean) - Method in class org.glassfish.tyrus.platform.RemoteEndpointWrapper
 
sendPartialString(String, boolean) - Method in interface javax.net.websocket.RemoteEndpoint
Send a text message in pieces, blocking until all of the message has been transmitted.
sendPartialString(String, boolean) - Method in class org.glassfish.tyrus.platform.RemoteEndpointWrapper
 
sendPing(ByteBuffer) - Method in interface javax.net.websocket.RemoteEndpoint
Send a Ping message containing the given application data to the remote endpoint.
sendPing(ByteBuffer) - Method in class org.glassfish.tyrus.platform.RemoteEndpointWrapper
 
sendPong(ByteBuffer) - Method in interface javax.net.websocket.RemoteEndpoint
Allows the developer to send an unsolicited Pong message containing the given application data in order to serve as a unidirectional heartbeat for the session.
sendPong(ByteBuffer) - Method in class org.glassfish.tyrus.platform.RemoteEndpointWrapper
 
SendResult - Class in javax.net.websocket
The result of asynchronously sending a web socket message.
SendResult(Throwable) - Constructor for class javax.net.websocket.SendResult
Construct a SendResult carrying an exception.
SendResult() - Constructor for class javax.net.websocket.SendResult
Construct a SendResult carrying an no exception.
sendString(String) - Method in interface javax.net.websocket.RemoteEndpoint
Send a text message, blocking until all of the message has been transmitted.
sendString(String, SendHandler) - Method in interface javax.net.websocket.RemoteEndpoint
Initiates the asynchronous transmission of a text message.
sendString(String) - Method in class org.glassfish.tyrus.platform.RemoteEndpointWrapper
 
sendString(String, SendHandler) - Method in class org.glassfish.tyrus.platform.RemoteEndpointWrapper
 
Server - Class in org.glassfish.tyrus.platform.main
Implementation of the WebSocket Server.
Server(Class<?>...) - Constructor for class org.glassfish.tyrus.platform.main.Server
Create new server instance.
Server(String...) - Constructor for class org.glassfish.tyrus.platform.main.Server
Create new server instance.
Server(String, int, String, Class<?>...) - Constructor for class org.glassfish.tyrus.platform.main.Server
Construct new server.
Server(String, int, String, Set<Class<?>>) - Constructor for class org.glassfish.tyrus.platform.main.Server
Construct new server.
ServerConfiguration - Interface in javax.net.websocket
The ServerConfiguration is a special kind of endpoint configuration object that contains web socket configuration information specific only to server endpoints.
ServerContainer - Interface in javax.net.websocket
The ServerContainer is an implementation provided object that, in addition to being able to initiate web socket connections (client), can register endpoints that can handle incoming connection requests.
ServerContainerImpl - Class in org.glassfish.tyrus.platform
Server Container Implementation.
ServerContainerImpl(BeanServer, String, int) - Constructor for class org.glassfish.tyrus.platform.ServerContainerImpl
 
ServerEndpointConfiguration - Interface in javax.net.websocket
The ServerEndpointConfiguration is a special kind of endpoint configuration object that contains web socket configuration information specific only to server endpoints.
Session<T> - Interface in javax.net.websocket
A Web Socket session represents a conversation between two web socket endpoints.
sessionCreated(HttpSessionEvent) - Method in class org.glassfish.tyrus.platform.web.WSSessionTracker
 
sessionDestroyed(HttpSessionEvent) - Method in class org.glassfish.tyrus.platform.web.WSSessionTracker
 
SessionImpl<T> - Class in org.glassfish.tyrus.platform
Implementation of the WebSocketConversation.
setApplicationLevelClassLoader(ClassLoader) - Method in class org.glassfish.tyrus.platform.ServerContainerImpl
 
setDecoders(List<Decoder>) - Method in class javax.net.websocket.DefaultClientConfiguration
Assign the list of decoders this client will use.
setDecoders(List<Decoder>) - Method in class javax.net.websocket.DefaultServerConfiguration
Sets all the decoders that this configuration will support.
setEncoders(List<Encoder>) - Method in class javax.net.websocket.DefaultClientConfiguration
Assign the list of encoders this client will use.
setEncoders(List<Encoder>) - Method in class javax.net.websocket.DefaultServerConfiguration
 
setEncoders(List<Encoder>) - Method in interface javax.net.websocket.Session
Sets the list of encoders to be used in this session in order of preference.
setEncoders(List<Encoder>) - Method in class org.glassfish.tyrus.platform.SessionImpl
 
setExtensions(List<Extension>) - Method in class javax.net.websocket.DefaultClientConfiguration
Assign the List of preferred subprotocols that this client would like to use.
setExtensions(List<Extension>) - Method in class javax.net.websocket.DefaultServerConfiguration
Sets all the extensions that this configuration will support.
setExtensions(List<Extension>) - Method in class org.glassfish.tyrus.platform.DefaultClientEndpointConfiguration
Assign the List of extensions that this client would like to use.
setFilterConfig(FilterConfig) - Method in class org.glassfish.tyrus.platform.web.WSFilter
Set the filter configuration object for this filter.
setMaxBinaryMessageBufferSize(long) - Method in interface javax.net.websocket.ClientContainer
Sets the maximum size of binary message that this container will buffer.
setMaxBinaryMessageBufferSize(long) - Method in class org.glassfish.tyrus.platform.ServerContainerImpl
Sets the maximum size of binary message in number of bytes that this container will buffer.
setMaximumMessageSize(long) - Method in interface javax.net.websocket.Session
Sets the maximum total length of messages, text or binary, that this Session can handle.
setMaximumMessageSize(long) - Method in class org.glassfish.tyrus.platform.SessionImpl
 
setMaxSessionIdleTimeout(long) - Method in interface javax.net.websocket.ClientContainer
Sets the maximum time that a web socket session may be idle before the container may close it.
setMaxSessionIdleTimeout(long) - Method in class org.glassfish.tyrus.platform.ServerContainerImpl
Sets the maximum time in seconds that a web socket session may be idle before the container may close it.
setMaxTextMessageBufferSize(long) - Method in interface javax.net.websocket.ClientContainer
Sets the maximum size of text message that this container will buffer.
setMaxTextMessageBufferSize(long) - Method in class org.glassfish.tyrus.platform.ServerContainerImpl
Returns the maximum size of text message in number of bytes that this container will buffer.
setModel(Model) - Method in class org.glassfish.tyrus.platform.DefaultEndpointConfiguration
Set the Model for this endpoint configuration.
setPreferredSubprotocols(List<String>) - Method in class javax.net.websocket.DefaultClientConfiguration
Assign the List of preferred subprotocols that this client would like to use.
setPreferredSubprotocols(List<String>) - Method in class org.glassfish.tyrus.platform.DefaultClientEndpointConfiguration
Assign the List of preferred sub-protocols that this client would like to use.
setResult(SendResult) - Method in interface javax.net.websocket.SendHandler
Called once the message has been transmitted.
setSubprotocols(List<String>) - Method in class javax.net.websocket.DefaultServerConfiguration
Sets all the subprotocols that this configuration will support.
setTimeout(long) - Method in interface javax.net.websocket.Session
Set the number of seconds before this conversation will be closed by the container if it is inactive, ie no messages are either sent or received.
setTimeout(long) - Method in class org.glassfish.tyrus.platform.SessionImpl
 
ShortDecoder - Class in org.glassfish.tyrus.platform.decoders
 
ShortDecoder() - Constructor for class org.glassfish.tyrus.platform.decoders.ShortDecoder
 
ShortEncoder - Class in org.glassfish.tyrus.platform.encoders
 
ShortEncoder() - Constructor for class org.glassfish.tyrus.platform.encoders.ShortEncoder
 
start() - Method in class org.glassfish.tyrus.platform.main.Server
Start the server.
stop() - Method in class org.glassfish.tyrus.platform.main.Server
Stop the server.
StringDecoderNoOp - Class in org.glassfish.tyrus.platform.decoders
 
StringDecoderNoOp() - Constructor for class org.glassfish.tyrus.platform.decoders.StringDecoderNoOp
 
StringEncoderNoOp - Class in org.glassfish.tyrus.platform.encoders
 
StringEncoderNoOp() - Constructor for class org.glassfish.tyrus.platform.encoders.StringEncoderNoOp
 

T

toString() - Method in class org.glassfish.tyrus.platform.RemoteEndpointWrapper
 
toString() - Method in class org.glassfish.tyrus.platform.ServerContainerImpl
 
toString() - Method in class org.glassfish.tyrus.platform.SessionImpl
 
toString() - Method in class org.glassfish.tyrus.platform.web.WSFilter
Return a String representation of this object.

U

updateLastConnectionActivity() - Method in class org.glassfish.tyrus.platform.RemoteEndpointWrapper
 
updateLastConnectionActivity() - Method in class org.glassfish.tyrus.platform.SessionImpl
 

V

valueOf(String) - Static method in enum javax.net.websocket.CloseReason.CloseCodes
Returns the enum constant of this type with the specified name.
values() - Static method in enum javax.net.websocket.CloseReason.CloseCodes
Returns an array containing the constants of this enum type, in the order they are declared.

W

wasAnnotated() - Method in class org.glassfish.tyrus.platform.Model
 
WebSocketClose - Annotation Type in javax.net.websocket.annotations
This method level annotation can be used to decorate a Java method that wishes to be called when a web socket session has closed.
WebSocketEndpoint - Annotation Type in javax.net.websocket.annotations
This class level annotation declares that the class it decorates is a web socket endpoint.
WebSocketError - Annotation Type in javax.net.websocket.annotations
This method level annotation can be used to decorate a Java method that wishes to be called in order to handle errors.
WebSocketMessage - Annotation Type in javax.net.websocket.annotations
This method level annotation can be used to make a Java method receive incoming web socket messages.
WebSocketOpen - Annotation Type in javax.net.websocket.annotations
This method level annotation can be used to decorate a Java method that wishes to be called when a new web socket session is open.
WebSocketPathParam - Annotation Type in javax.net.websocket.annotations
This annotation may be used to annotate method parameters on web socket POJOs where a URI-template has been used in the path-mapping of the WebSocketEndpoint annotation.
For example:- * For example:

 @WebSocketEndpoint("/bookings/{guest-id}");
public class BookingServer {

  @WebSocketMessage
 public void processBookingRequest(@WebSocketPathParam("guest-id") String guestID, String message, Session session) {
   // process booking from the given guest here
 }
}
WebSocketServerWebIntegration - Class in org.glassfish.tyrus.platform.web
Web application lifecycle listener.
WebSocketServerWebIntegration() - Constructor for class org.glassfish.tyrus.platform.web.WebSocketServerWebIntegration
 
WebSocketServletContainerInitializer - Class in org.glassfish.tyrus.platform.web
Registers a context listener to handle WebSocketEndpoint endpoints.
WebSocketServletContainerInitializer() - Constructor for class org.glassfish.tyrus.platform.web.WebSocketServletContainerInitializer
 
willDecode(ByteBuffer) - Method in interface javax.net.websocket.Decoder.Binary
Answer whether the given bytes can be decoded into an object of type T.
willDecode(String) - Method in interface javax.net.websocket.Decoder.Text
Answer whether the given String can be decoded into an object of type T.
willDecode(ByteBuffer) - Method in class org.glassfish.tyrus.platform.decoders.BinaryDecoderNoOp
 
willDecode(String) - Method in class org.glassfish.tyrus.platform.decoders.BooleanDecoder
 
willDecode(String) - Method in class org.glassfish.tyrus.platform.decoders.ByteDecoder
 
willDecode(String) - Method in class org.glassfish.tyrus.platform.decoders.CharDecoder
 
willDecode(String) - Method in class org.glassfish.tyrus.platform.decoders.DoubleDecoder
 
willDecode(String) - Method in class org.glassfish.tyrus.platform.decoders.FloatDecoder
 
willDecode(String) - Method in class org.glassfish.tyrus.platform.decoders.IntegerDecoder
 
willDecode(String) - Method in class org.glassfish.tyrus.platform.decoders.LongDecoder
 
willDecode(String) - Method in class org.glassfish.tyrus.platform.decoders.ShortDecoder
 
willDecode(String) - Method in class org.glassfish.tyrus.platform.decoders.StringDecoderNoOp
 
WSFilter - Class in org.glassfish.tyrus.platform.web
 
WSFilter() - Constructor for class org.glassfish.tyrus.platform.web.WSFilter
 
WSSessionTracker - Class in org.glassfish.tyrus.platform.web
Web application lifecycle listener.
WSSessionTracker() - Constructor for class org.glassfish.tyrus.platform.web.WSSessionTracker
 
A B C D E F G H I J L M O P R S T U V W 

Copyright © 2012. All Rights Reserved.