- 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.
- 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
-
- 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
-
- 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.
- 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
-