- ABNORMAL_CLOSE - Static variable in interface org.glassfish.tyrus.websockets.WebSocket
-
a reserved value and MUST NOT be set as a status code in a Close control frame by an endpoint.
- AbstractMultivaluedMap<K,V> - Class in org.glassfish.tyrus.websockets.uri.internal
-
- AbstractMultivaluedMap(Map<K, List<V>>) - Constructor for class org.glassfish.tyrus.websockets.uri.internal.AbstractMultivaluedMap
-
Initialize the backing store in the abstract parent multivalued map
implementation.
- add(WebSocketListener) - Method in class org.glassfish.tyrus.websockets.DefaultWebSocket
-
- add(K, V) - Method in class org.glassfish.tyrus.websockets.uri.internal.AbstractMultivaluedMap
-
Add a value to the current list of values for the supplied key.
- add(K, V) - Method in interface org.glassfish.tyrus.websockets.uri.internal.MultivaluedMap
-
Add a value to the current list of values for the supplied key.
- add(WebSocketListener) - Method in interface org.glassfish.tyrus.websockets.WebSocket
-
- addAll(K, V...) - Method in class org.glassfish.tyrus.websockets.uri.internal.AbstractMultivaluedMap
-
Add multiple values to the current list of values for the supplied key.
- addAll(K, List<V>) - Method in class org.glassfish.tyrus.websockets.uri.internal.AbstractMultivaluedMap
-
Add all the values from the supplied value list to the current list of
values for the supplied key.
- addAll(K, V...) - Method in interface org.glassfish.tyrus.websockets.uri.internal.MultivaluedMap
-
Add multiple values to the current list of values for the supplied key.
- addAll(K, List<V>) - Method in interface org.glassfish.tyrus.websockets.uri.internal.MultivaluedMap
-
Add all the values from the supplied value list to the current list of
values for the supplied key.
- addCloseListener(Connection.CloseListener) - Method in class org.glassfish.tyrus.websockets.Connection
-
- addFirst(K, V) - Method in class org.glassfish.tyrus.websockets.uri.internal.AbstractMultivaluedMap
-
Add a value to the first position in the current list of values for the
supplied key.
- addFirst(K, V) - Method in interface org.glassfish.tyrus.websockets.uri.internal.MultivaluedMap
-
Add a value to the first position in the current list of values for the
supplied key.
- addFirstNull(List<V>) - Method in class org.glassfish.tyrus.websockets.uri.internal.AbstractMultivaluedMap
-
Define the behavior for adding a null values to the first position
in the value list.
- addFirstNull(List<String>) - Method in class org.glassfish.tyrus.websockets.uri.internal.MultivaluedStringMap
-
- addNull(List<V>) - Method in class org.glassfish.tyrus.websockets.uri.internal.AbstractMultivaluedMap
-
Define the behavior for adding a null values to the value list.
- addNull(List<String>) - Method in class org.glassfish.tyrus.websockets.uri.internal.MultivaluedStringMap
-
- application - Variable in class org.glassfish.tyrus.websockets.WebSocketEngine.WebSocketHolder
-
- asClosed(PathPattern) - Static method in class org.glassfish.tyrus.websockets.uri.internal.PathPattern
-
Return a new path pattern with a same path template but
a
closed right hand path.
- cancel(boolean) - Method in class org.glassfish.tyrus.websockets.WriteFuture
-
- cancelled() - Method in class org.glassfish.tyrus.websockets.Connection.CompletionHandler
-
The operation was cancelled.
- canEncode(char) - Method in class org.glassfish.tyrus.websockets.StrictUtf8.Encoder
-
- checkForEquivalents(List<String>) - Static method in class org.glassfish.tyrus.websockets.uri.Match
-
Check for equivalent path.
- checkForLastFrame(DataFrame, byte) - Method in class org.glassfish.tyrus.websockets.ProtocolHandler
-
- clear() - Method in class org.glassfish.tyrus.websockets.uri.internal.AbstractMultivaluedMap
-
- close() - Method in class org.glassfish.tyrus.websockets.DefaultWebSocket
-
- close(int) - Method in class org.glassfish.tyrus.websockets.DefaultWebSocket
-
- close(int, String) - Method in class org.glassfish.tyrus.websockets.DefaultWebSocket
-
- close(int, String) - Method in class org.glassfish.tyrus.websockets.ProtocolHandler
-
- close() - Method in interface org.glassfish.tyrus.websockets.WebSocket
-
- close(int) - Method in interface org.glassfish.tyrus.websockets.WebSocket
-
Closes this
WebSocket using the specified status code.
- close(int, String) - Method in interface org.glassfish.tyrus.websockets.WebSocket
-
Closes this
WebSocket using the specified status code and
reason.
- closeSilently() - Method in class org.glassfish.tyrus.websockets.Connection
-
- ClosingFrame - Class in org.glassfish.tyrus.websockets.draft06
-
- ClosingFrame() - Constructor for class org.glassfish.tyrus.websockets.draft06.ClosingFrame
-
- ClosingFrame(int, String) - Constructor for class org.glassfish.tyrus.websockets.draft06.ClosingFrame
-
- ClosingFrame(byte[]) - Constructor for class org.glassfish.tyrus.websockets.draft06.ClosingFrame
-
- ClosingFrameType - Class in org.glassfish.tyrus.websockets.frametypes
-
- ClosingFrameType() - Constructor for class org.glassfish.tyrus.websockets.frametypes.ClosingFrameType
-
- COMPARATOR - Static variable in class org.glassfish.tyrus.websockets.uri.internal.PathPattern
-
- COMPARATOR - Static variable in class org.glassfish.tyrus.websockets.uri.internal.UriTemplate
-
Order the templates according to JAX-RS specification.
- completed(E) - Method in class org.glassfish.tyrus.websockets.Connection.CompletionHandler
-
The operation was completed.
- Connection - Class in org.glassfish.tyrus.websockets
-
- Connection() - Constructor for class org.glassfish.tyrus.websockets.Connection
-
- connection - Variable in class org.glassfish.tyrus.websockets.ProtocolHandler
-
- CONNECTION - Static variable in class org.glassfish.tyrus.websockets.WebSocketEngine
-
- Connection.CloseListener - Interface in org.glassfish.tyrus.websockets
-
- Connection.CompletionHandler<E> - Class in org.glassfish.tyrus.websockets
-
Interface, which will be used by Grizzly to notify about asynchronous I/O
operations status updates.
- Connection.CompletionHandler() - Constructor for class org.glassfish.tyrus.websockets.Connection.CompletionHandler
-
- contains(Charset) - Method in class org.glassfish.tyrus.websockets.StrictUtf8
-
- containsKey(Object) - Method in class org.glassfish.tyrus.websockets.uri.internal.AbstractMultivaluedMap
-
- containsValue(Object) - Method in class org.glassfish.tyrus.websockets.uri.internal.AbstractMultivaluedMap
-
- contextualEncode(String, UriComponent.Type) - Static method in class org.glassfish.tyrus.websockets.uri.internal.UriComponent
-
Contextually encodes the characters of string that are either non-ASCII
characters or are ASCII characters that must be percent-encoded using the
UTF-8 encoding.
- contextualEncode(String, UriComponent.Type, boolean) - Static method in class org.glassfish.tyrus.websockets.uri.internal.UriComponent
-
Contextually encodes the characters of string that are either non-ASCII
characters or are ASCII characters that must be percent-encoded using the
UTF-8 encoding.
- ContinuationFrameType - Class in org.glassfish.tyrus.websockets.frametypes
-
- ContinuationFrameType(boolean) - Constructor for class org.glassfish.tyrus.websockets.frametypes.ContinuationFrameType
-
- create(boolean, byte[]) - Method in class org.glassfish.tyrus.websockets.BaseFrameType
-
- create(boolean, byte[]) - Method in interface org.glassfish.tyrus.websockets.FrameType
-
- create(boolean, byte[]) - Method in class org.glassfish.tyrus.websockets.frametypes.ClosingFrameType
-
- create(boolean, ByteBuffer) - Static method in class org.glassfish.tyrus.websockets.ParseResult
-
Create a ParseResult object.
- createClientHandShake(WebSocketRequest, boolean) - Method in class org.glassfish.tyrus.websockets.draft06.Draft06Handler
-
- createClientHandShake(WebSocketRequest, boolean) - Method in class org.glassfish.tyrus.websockets.draft07.Draft07Handler
-
- createClientHandShake(WebSocketRequest, boolean) - Method in class org.glassfish.tyrus.websockets.draft08.Draft08Handler
-
- createClientHandShake(WebSocketRequest, boolean) - Method in class org.glassfish.tyrus.websockets.draft17.Draft17Handler
-
- createClientHandShake(WebSocketRequest, boolean) - Method in class org.glassfish.tyrus.websockets.ProtocolHandler
-
- createHandler(boolean) - Method in enum org.glassfish.tyrus.websockets.Version
-
- createHandShake(WebSocketRequest) - Method in class org.glassfish.tyrus.websockets.draft06.Draft06Handler
-
- createHandShake(WebSocketRequest) - Method in class org.glassfish.tyrus.websockets.draft07.Draft07Handler
-
- createHandShake(WebSocketRequest) - Method in class org.glassfish.tyrus.websockets.draft08.Draft08Handler
-
- createHandShake(WebSocketRequest) - Method in class org.glassfish.tyrus.websockets.draft17.Draft17Handler
-
- createHandShake(WebSocketRequest) - Method in class org.glassfish.tyrus.websockets.ProtocolHandler
-
- createSocket(ProtocolHandler, WebSocketRequest, WebSocketListener...) - Method in class org.glassfish.tyrus.websockets.WebSocketApplication
-
Factory method to create new
WebSocket instances.
- createURI(Map<String, String>) - Method in class org.glassfish.tyrus.websockets.uri.internal.UriTemplate
-
Create a URI by substituting any template variables
for corresponding template values.
- createURI(String...) - Method in class org.glassfish.tyrus.websockets.uri.internal.UriTemplate
-
Create a URI by substituting any template variables
for corresponding template values.
- createURI(String[], int, int) - Method in class org.glassfish.tyrus.websockets.uri.internal.UriTemplate
-
Create a URI by substituting any template variables
for corresponding template values.
- createURI(String, String, String, String, String, String, String, String, Map<String, ?>, boolean, boolean) - Static method in class org.glassfish.tyrus.websockets.uri.internal.UriTemplate
-
Construct a URI from the component parts each of which may contain
template variables.
- createURI(String, String, String, String, String, String, String, String, Object[], boolean, boolean) - Static method in class org.glassfish.tyrus.websockets.uri.internal.UriTemplate
-
Construct a URI from the component parts each of which may contain
template variables.
- createURIWithStringValues(String, String, String, String, String, String, String, String, Map<String, ?>, boolean, boolean) - Static method in class org.glassfish.tyrus.websockets.uri.internal.UriTemplate
-
Construct a URI from the component parts each of which may contain
template variables.
- createURIWithStringValues(String, String, String, String, String, String, String, String, String[], boolean, boolean) - Static method in class org.glassfish.tyrus.websockets.uri.internal.UriTemplate
-
Construct a URI from the component parts each of which may contain
template variables.
- DataFrame - Class in org.glassfish.tyrus.websockets
-
In memory representation of a websocket frame.
- DataFrame(FrameType) - Constructor for class org.glassfish.tyrus.websockets.DataFrame
-
- DataFrame(FrameType, String) - Constructor for class org.glassfish.tyrus.websockets.DataFrame
-
- DataFrame(FrameType, String, boolean) - Constructor for class org.glassfish.tyrus.websockets.DataFrame
-
- DataFrame(FrameType, byte[]) - Constructor for class org.glassfish.tyrus.websockets.DataFrame
-
- DataFrame(FrameType, byte[], boolean) - Constructor for class org.glassfish.tyrus.websockets.DataFrame
-
- decode(char[]) - Static method in class org.glassfish.tyrus.websockets.Base64Utils
-
Decodes a BASE64 encoded char array.
- decode(byte[]) - Static method in class org.glassfish.tyrus.websockets.Base64Utils
-
Decodes a BASE64 encoded byte array.
- decode(String) - Static method in class org.glassfish.tyrus.websockets.Base64Utils
-
Decodes a BASE64 encoded String.
- decode(String, UriComponent.Type) - Static method in class org.glassfish.tyrus.websockets.uri.internal.UriComponent
-
Decodes characters of a string that are percent-encoded octets using
UTF-8 decoding (if needed).
- decodeFast(char[]) - Static method in class org.glassfish.tyrus.websockets.Base64Utils
-
Decodes a BASE64 encoded char array that is known to be reasonably well formatted.
- decodeFast(byte[]) - Static method in class org.glassfish.tyrus.websockets.Base64Utils
-
Decodes a BASE64 encoded byte array that is known to be reasonably well formatted.
- decodeFast(String) - Static method in class org.glassfish.tyrus.websockets.Base64Utils
-
Decodes a BASE64 encoded string that is known to be reasonably well formatted.
- decodeLength(byte[]) - Method in class org.glassfish.tyrus.websockets.ProtocolHandler
-
Convert a byte[] to a long.
- decodeMatrix(String, boolean) - Static method in class org.glassfish.tyrus.websockets.uri.internal.UriComponent
-
Decode the matrix component of a URI path segment.
- decodePath(URI, boolean) - Static method in class org.glassfish.tyrus.websockets.uri.internal.UriComponent
-
Decode the path component of a URI as path segments.
- decodePath(String, boolean) - Static method in class org.glassfish.tyrus.websockets.uri.internal.UriComponent
-
Decode the path component of a URI as path segments.
- decodePathSegment(List<PathSegment>, String, boolean) - Static method in class org.glassfish.tyrus.websockets.uri.internal.UriComponent
-
- decodeQuery(URI, boolean) - Static method in class org.glassfish.tyrus.websockets.uri.internal.UriComponent
-
Decode the query component of a URI.
- decodeQuery(String, boolean) - Static method in class org.glassfish.tyrus.websockets.uri.internal.UriComponent
-
Decode the query component of a URI.
- DEFAULT_VERSION - Static variable in class org.glassfish.tyrus.websockets.WebSocketEngine
-
- DefaultWebSocket - Class in org.glassfish.tyrus.websockets
-
- DefaultWebSocket(ProtocolHandler, WebSocketRequest, WebSocketListener...) - Constructor for class org.glassfish.tyrus.websockets.DefaultWebSocket
-
- DEPENDENT_CLASS_OF_PROVIDER_FORMAT_ERROR(Object, Object, Object) - Static method in class org.glassfish.tyrus.websockets.uri.internal.LocalizationMessages
-
{0}.
- DEPENDENT_CLASS_OF_PROVIDER_NOT_FOUND(Object, Object, Object) - Static method in class org.glassfish.tyrus.websockets.uri.internal.LocalizationMessages
-
A dependent class, {0}, of the class {1} implementing the provider {2} is not found.
- doClose() - Method in class org.glassfish.tyrus.websockets.ProtocolHandler
-
- Draft06Handler - Class in org.glassfish.tyrus.websockets.draft06
-
- Draft06Handler() - Constructor for class org.glassfish.tyrus.websockets.draft06.Draft06Handler
-
- Draft06Handler(boolean) - Constructor for class org.glassfish.tyrus.websockets.draft06.Draft06Handler
-
- Draft07Handler - Class in org.glassfish.tyrus.websockets.draft07
-
- Draft07Handler(boolean) - Constructor for class org.glassfish.tyrus.websockets.draft07.Draft07Handler
-
- Draft08Handler - Class in org.glassfish.tyrus.websockets.draft08
-
- Draft08Handler(boolean) - Constructor for class org.glassfish.tyrus.websockets.draft08.Draft08Handler
-
- Draft17Handler - Class in org.glassfish.tyrus.websockets.draft17
-
- Draft17Handler(boolean) - Constructor for class org.glassfish.tyrus.websockets.draft17.Draft17Handler
-
- EMPTY - Static variable in class org.glassfish.tyrus.websockets.uri.internal.PatternWithGroups
-
The empty pattern that matches the null or empty string.
- EMPTY - Static variable in class org.glassfish.tyrus.websockets.uri.internal.UriTemplate
-
The empty URI template that matches the null or empty URI path.
- EMPTY_PATTERN - Static variable in class org.glassfish.tyrus.websockets.uri.internal.PathPattern
-
Empty path pattern matching only empty string.
- encode(char[], int, int, byte[]) - Method in class org.glassfish.tyrus.websockets.StrictUtf8.Encoder
-
- encode(String, UriComponent.Type) - Static method in class org.glassfish.tyrus.websockets.uri.internal.UriComponent
-
Encodes the characters of string that are either non-ASCII characters
or are ASCII characters that must be percent-encoded using the
UTF-8 encoding.
- encode(String, UriComponent.Type, boolean) - Static method in class org.glassfish.tyrus.websockets.uri.internal.UriComponent
-
Encodes the characters of string that are either non-ASCII characters
or are ASCII characters that must be percent-encoded using the
UTF-8 encoding.
- encode(Charset, String) - Static method in class org.glassfish.tyrus.websockets.Utf8Utils
-
- encodeLength(long) - Method in class org.glassfish.tyrus.websockets.ProtocolHandler
-
Converts the length given to the appropriate framing data: 0-125 one element that is the payload length.
- encodeLiteralCharacters(String) - Method in class org.glassfish.tyrus.websockets.uri.internal.UriTemplateParser
-
Encode literal characters of a template.
- encodeLoop(CharBuffer, ByteBuffer) - Method in class org.glassfish.tyrus.websockets.StrictUtf8.Encoder
-
- encodeTemplateNames(String) - Static method in class org.glassfish.tyrus.websockets.uri.internal.UriComponent
-
Encodes a string with template parameters names present, specifically the
characters '{' and '}' will be percent-encoded.
- encodeToByte(byte[], boolean) - Static method in class org.glassfish.tyrus.websockets.Base64Utils
-
Encodes a raw byte array into a BASE64 byte[] representation i accordance with RFC 2045.
- encodeToChar(byte[], boolean) - Static method in class org.glassfish.tyrus.websockets.Base64Utils
-
Encodes a raw byte array into a BASE64 char[] representation i accordance with RFC 2045.
- encodeToString(byte[], boolean) - Static method in class org.glassfish.tyrus.websockets.Base64Utils
-
Encodes a raw byte array into a BASE64 String representation i accordance with RFC 2045.
- END_OF_PATH_PATTERN - Static variable in class org.glassfish.tyrus.websockets.uri.internal.PathPattern
-
Path pattern matching the end of a URI path.
- END_POINT_GOING_DOWN - Static variable in interface org.glassfish.tyrus.websockets.WebSocket
-
Indicates that an endpoint is "going away", such as a server going down, or a browser having navigated away from
a page.
- endsWithSlash() - Method in class org.glassfish.tyrus.websockets.uri.internal.UriTemplate
-
Check if the URI template ends in a slash ('/').
- entrySet() - Method in class org.glassfish.tyrus.websockets.uri.internal.AbstractMultivaluedMap
-
- equals(Object) - Method in class org.glassfish.tyrus.websockets.Extension
-
- equals(Object) - Method in class org.glassfish.tyrus.websockets.Extension.Parameter
-
- equals(Object) - Method in class org.glassfish.tyrus.websockets.uri.internal.AbstractMultivaluedMap
-
This implementation delegates the method call to to the the underlying
[key, multi-value] store.
- equals(Object) - Method in class org.glassfish.tyrus.websockets.uri.internal.PatternWithGroups
-
- equals(Object) - Method in class org.glassfish.tyrus.websockets.uri.internal.UriTemplate
-
Equality is calculated from the String of the regular expression
generated from the templates.
- equalsIgnoreValueOrder(MultivaluedMap<K, V>) - Method in class org.glassfish.tyrus.websockets.uri.internal.AbstractMultivaluedMap
-
- equalsIgnoreValueOrder(MultivaluedMap<K, V>) - Method in interface org.glassfish.tyrus.websockets.uri.internal.MultivaluedMap
-
Compare the specified map with this map for equality modulo the order
of values for each key.
- error() - Method in class org.glassfish.tyrus.websockets.StrictUtf8.Parser
-
If the previous parse operation detected an error, return the object
describing that error.
- ERROR_CAUGHT_WHILE_LOADING_SPI_PROVIDERS() - Static method in class org.glassfish.tyrus.websockets.uri.internal.LocalizationMessages
-
Error caught while loading SPI providers.
- EXCEPTION_CAUGHT_WHILE_LOADING_SPI_PROVIDERS() - Static method in class org.glassfish.tyrus.websockets.uri.internal.LocalizationMessages
-
Exception caught while loading SPI providers.
- ExecutorServiceProvider - Class in org.glassfish.tyrus.websockets
-
- ExecutorServiceProvider() - Constructor for class org.glassfish.tyrus.websockets.ExecutorServiceProvider
-
- Extension - Class in org.glassfish.tyrus.websockets
-
Representation of a WebSocket extension and its associated parameters.
- Extension(String) - Constructor for class org.glassfish.tyrus.websockets.Extension
-
Constructs a new Extension with the specified name.
- Extension.Parameter - Class in org.glassfish.tyrus.websockets
-
Representation of extension parameters.
- Extension.Parameter(String, String) - Constructor for class org.glassfish.tyrus.websockets.Extension.Parameter
-
Constructs a new parameter based on the provided values.
- generateMask() - Method in class org.glassfish.tyrus.websockets.Masker
-
- generateServerKey(SecKey) - Static method in class org.glassfish.tyrus.websockets.draft06.SecKey
-
Generate server-side security key, which gets passed to the client during
the handshake phase as part of message payload.
- generateServerKey(SecKey) - Static method in class org.glassfish.tyrus.websockets.SecKey
-
Generate server-side security key, which gets passed to the client during
the handshake phase as part of message payload.
- get() - Method in class org.glassfish.tyrus.websockets.Masker
-
- get(int) - Method in class org.glassfish.tyrus.websockets.Masker
-
- get(Object) - Method in class org.glassfish.tyrus.websockets.uri.internal.AbstractMultivaluedMap
-
- get() - Method in class org.glassfish.tyrus.websockets.WriteFuture
-
- get(long, TimeUnit) - Method in class org.glassfish.tyrus.websockets.WriteFuture
-
- getAllMatches(String, Set<WebSocketApplication>) - Static method in class org.glassfish.tyrus.websockets.uri.Match
-
Return a list of all matches, in order of match preference, best match last.
- getArguments() - Method in interface org.glassfish.tyrus.websockets.uri.internal.l10n.Localizable
-
Returns the arguments for message formatting.
- getArguments() - Method in class org.glassfish.tyrus.websockets.uri.internal.l10n.LocalizableMessage
-
- getBestMatch(String, Set<WebSocketApplication>) - Static method in class org.glassfish.tyrus.websockets.uri.Match
-
Returns null, or a Match object
- getBytes(DataFrame) - Method in class org.glassfish.tyrus.websockets.BaseFrameType
-
- getBytes() - Method in class org.glassfish.tyrus.websockets.DataFrame
-
- getBytes() - Method in class org.glassfish.tyrus.websockets.draft06.ClosingFrame
-
- getBytes() - Method in class org.glassfish.tyrus.websockets.draft06.SecKey
-
- getBytes(DataFrame) - Method in interface org.glassfish.tyrus.websockets.FrameType
-
- getBytes(DataFrame) - Method in class org.glassfish.tyrus.websockets.frametypes.ContinuationFrameType
-
- getBytes(DataFrame) - Method in class org.glassfish.tyrus.websockets.frametypes.TextFrameType
-
- getBytes() - Method in class org.glassfish.tyrus.websockets.SecKey
-
- getClosingCode() - Method in exception org.glassfish.tyrus.websockets.FramingException
-
- getClosingCode() - Method in exception org.glassfish.tyrus.websockets.ProtocolError
-
- getClosingCode() - Method in exception org.glassfish.tyrus.websockets.Utf8DecodingError
-
- getCode() - Method in class org.glassfish.tyrus.websockets.draft06.ClosingFrame
-
- getCode() - Method in exception org.glassfish.tyrus.websockets.HandshakeException
-
Get the error code.
- getConnection() - Method in class org.glassfish.tyrus.websockets.ProtocolHandler
-
- getConnection() - Method in interface org.glassfish.tyrus.websockets.WebSocketRequest
-
- getEnabledProtocols() - Method in class org.glassfish.tyrus.websockets.draft06.HandShake06
-
- getEngine() - Static method in class org.glassfish.tyrus.websockets.WebSocketEngine
-
- getExecutorService() - Method in class org.glassfish.tyrus.websockets.ExecutorServiceProvider
-
- getExtensions() - Method in class org.glassfish.tyrus.websockets.HandShake
-
- getFirst(K) - Method in class org.glassfish.tyrus.websockets.uri.internal.AbstractMultivaluedMap
-
- getFirst(K) - Method in interface org.glassfish.tyrus.websockets.uri.internal.MultivaluedMap
-
A shortcut to get the first value of the supplied key.
- getFirst(String, Class<A>) - Method in class org.glassfish.tyrus.websockets.uri.internal.MultivaluedStringMap
-
- getFirst(String, A) - Method in class org.glassfish.tyrus.websockets.uri.internal.MultivaluedStringMap
-
- getFirstHeaderValue(String) - Method in interface org.glassfish.tyrus.websockets.WebSocketRequest
-
Get the first header value from the
List of header values corresponding to the name.
- getGroupCounts() - Method in class org.glassfish.tyrus.websockets.uri.internal.UriTemplateParser
-
Get the capturing group counts for each template variable.
- getGroupIndexes() - Method in class org.glassfish.tyrus.websockets.uri.internal.PatternWithGroups
-
Get the group indexes.
- getGroupIndexes() - Method in class org.glassfish.tyrus.websockets.uri.internal.UriTemplateParser
-
Get the group indexes to capturing groups.
- getHeader(String) - Method in interface org.glassfish.tyrus.websockets.WebSocketRequest
-
Return the header values corresponding to the name.
- getHeaderFromList(List<T>) - Method in class org.glassfish.tyrus.websockets.HandShake
-
- getHeaders() - Method in interface org.glassfish.tyrus.websockets.WebSocketRequest
-
Get request headers.
- getHeaders() - Method in class org.glassfish.tyrus.websockets.WebSocketResponse
-
- getKey() - Method in interface org.glassfish.tyrus.websockets.uri.internal.l10n.Localizable
-
Gets the key in the resource bundle.
- getKey() - Method in class org.glassfish.tyrus.websockets.uri.internal.l10n.LocalizableMessage
-
- getLocale() - Method in class org.glassfish.tyrus.websockets.uri.internal.l10n.Localizer
-
- getLocation() - Method in class org.glassfish.tyrus.websockets.HandShake
-
- getMask() - Method in class org.glassfish.tyrus.websockets.Masker
-
- getMatrixParameters() - Method in interface org.glassfish.tyrus.websockets.uri.internal.PathSegment
-
Get a map of the matrix parameters associated with the path segment.
- getMessage(String, Object...) - Method in class org.glassfish.tyrus.websockets.uri.internal.l10n.LocalizableMessageFactory
-
- getName() - Method in class org.glassfish.tyrus.websockets.Extension
-
- getName() - Method in class org.glassfish.tyrus.websockets.Extension.Parameter
-
- getNames() - Method in class org.glassfish.tyrus.websockets.uri.internal.UriTemplateParser
-
Get the list of template names.
- getNameToPattern() - Method in class org.glassfish.tyrus.websockets.uri.internal.UriTemplateParser
-
Get the map of template names to patterns.
- getNonce() - Method in class org.glassfish.tyrus.websockets.SecKey
-
- getNormalizedTemplate() - Method in class org.glassfish.tyrus.websockets.uri.internal.UriTemplateParser
-
Get the normalized template.
- getNumberOfExplicitCharacters() - Method in class org.glassfish.tyrus.websockets.uri.internal.UriTemplate
-
Get the number of characters in the regular expression not resulting
from conversion of template variables.
- getNumberOfExplicitRegexes() - Method in class org.glassfish.tyrus.websockets.uri.internal.UriTemplate
-
Get the number of explicit regexes declared in template variables.
- getNumberOfExplicitRegexes() - Method in class org.glassfish.tyrus.websockets.uri.internal.UriTemplateParser
-
Get the number of explicit regular expressions.
- getNumberOfLiteralCharacters() - Method in class org.glassfish.tyrus.websockets.uri.internal.UriTemplateParser
-
Get the number of literal characters.
- getNumberOfTemplateVariables() - Method in class org.glassfish.tyrus.websockets.uri.internal.UriTemplate
-
Get the number of template variables.
- getOrigin() - Method in class org.glassfish.tyrus.websockets.HandShake
-
- getParameterMap() - Method in interface org.glassfish.tyrus.websockets.WebSocketRequest
-
Return the request parameters associated with the request.
- getParameterNames() - Method in class org.glassfish.tyrus.websockets.uri.Match
-
Get parameter names.
- getParameters() - Method in class org.glassfish.tyrus.websockets.Extension
-
- getParameterValue(String) - Method in class org.glassfish.tyrus.websockets.uri.Match
-
Get value of given parameter.
- getPath() - Method in interface org.glassfish.tyrus.websockets.uri.internal.PathSegment
-
Get the path segment.
- getPath() - Method in class org.glassfish.tyrus.websockets.uri.Match
-
Get path.
- getPath() - Method in class org.glassfish.tyrus.websockets.WebSocketApplication
-
- getPattern() - Method in class org.glassfish.tyrus.websockets.uri.internal.UriTemplate
-
Get the URI pattern.
- getPattern() - Method in class org.glassfish.tyrus.websockets.uri.internal.UriTemplateParser
-
Get the pattern.
- getQueryString() - Method in interface org.glassfish.tyrus.websockets.WebSocketRequest
-
Get query string.
- getReason() - Method in class org.glassfish.tyrus.websockets.draft06.ClosingFrame
-
- getRegex() - Method in class org.glassfish.tyrus.websockets.uri.internal.PatternWithGroups
-
Get the regular expression.
- getRemainder() - Method in class org.glassfish.tyrus.websockets.ParseResult
-
- getRequest() - Method in class org.glassfish.tyrus.websockets.draft06.HandShake06
-
- getRequest() - Method in class org.glassfish.tyrus.websockets.draft17.HandShake17
-
- getRequest() - Method in class org.glassfish.tyrus.websockets.HandShake
-
- getRequestPath() - Method in interface org.glassfish.tyrus.websockets.WebSocketRequest
-
Get request path.
- getRequestURI() - Method in interface org.glassfish.tyrus.websockets.WebSocketRequest
-
Get request URI.
- getResourceBundleName() - Method in interface org.glassfish.tyrus.websockets.uri.internal.l10n.Localizable
-
Get the name of the localization messages resource bundle.
- getResourceBundleName() - Method in class org.glassfish.tyrus.websockets.uri.internal.l10n.LocalizableMessage
-
- getResponseListener() - Method in class org.glassfish.tyrus.websockets.HandShake
-
Get response listener
- getSecKey() - Method in class org.glassfish.tyrus.websockets.draft06.SecKey
-
Gets security key string representation, which includes chars and spaces.
- getSecKey() - Method in class org.glassfish.tyrus.websockets.SecKey
-
Gets security key string representation, which includes chars and spaces.
- getStatus() - Method in class org.glassfish.tyrus.websockets.WebSocketResponse
-
- getSubProtocols() - Method in class org.glassfish.tyrus.websockets.HandShake
-
- getSupportedExtensions() - Method in class org.glassfish.tyrus.websockets.WebSocketApplication
-
Return the websocket extensions supported by this WebSocketApplication.
- getSupportedProtocols(List<String>) - Method in class org.glassfish.tyrus.websockets.WebSocketApplication
-
- getSupportedWireProtocolVersions() - Static method in enum org.glassfish.tyrus.websockets.Version
-
- getTemplate() - Method in class org.glassfish.tyrus.websockets.uri.internal.PathPattern
-
- getTemplate() - Method in class org.glassfish.tyrus.websockets.uri.internal.UriTemplate
-
Get the URI template as a String.
- getTemplate() - Method in class org.glassfish.tyrus.websockets.uri.internal.UriTemplateParser
-
Get the template.
- getTemplateVariables() - Method in class org.glassfish.tyrus.websockets.uri.internal.UriTemplate
-
Get the list of template variables for the template.
- getTextPayload() - Method in class org.glassfish.tyrus.websockets.DataFrame
-
- getType() - Method in class org.glassfish.tyrus.websockets.DataFrame
-
- getUnderlyingConnection() - Method in class org.glassfish.tyrus.websockets.Connection
-
- getValue() - Method in class org.glassfish.tyrus.websockets.Extension.Parameter
-
- getValues(K) - Method in class org.glassfish.tyrus.websockets.uri.internal.AbstractMultivaluedMap
-
Return a non-null list of values for a given key.
- getVariableSegmentIndices() - Method in class org.glassfish.tyrus.websockets.uri.Match
-
Get variable segment indices (indexes).
- getVersion() - Method in class org.glassfish.tyrus.websockets.draft06.HandShake06
-
- getVersion() - Method in class org.glassfish.tyrus.websockets.draft07.HandShake07
-
- getVersion() - Method in class org.glassfish.tyrus.websockets.draft08.HandShake08
-
- getVersion() - Method in class org.glassfish.tyrus.websockets.draft17.HandShake17
-
- getWebSocket() - Method in class org.glassfish.tyrus.websockets.ProtocolHandler
-
- getWebSocket(Connection) - Method in class org.glassfish.tyrus.websockets.WebSocketEngine
-
Get the
WebSocket associated with the Grizzly
Connection, or
null, if there none is
associated.
- getWebSocketApplication() - Method in class org.glassfish.tyrus.websockets.uri.Match
-
- getWebSocketHolder(Connection) - Method in class org.glassfish.tyrus.websockets.WebSocketEngine
-
- getWebSockets() - Method in class org.glassfish.tyrus.websockets.WebSocketApplication
-
Returns a set of
WebSockets, registered with the application.
- onClose(Connection) - Method in interface org.glassfish.tyrus.websockets.Connection.CloseListener
-
- onClose(ClosingFrame) - Method in class org.glassfish.tyrus.websockets.DefaultWebSocket
-
- onClose(ClosingFrame) - Method in interface org.glassfish.tyrus.websockets.WebSocket
-
This callback will be invoked when the remote end-point sent a closing
frame.
- onClose(WebSocket, ClosingFrame) - Method in class org.glassfish.tyrus.websockets.WebSocketApplication
-
- onClose(WebSocket, ClosingFrame) - Method in interface org.glassfish.tyrus.websockets.WebSocketListener
-
- onConnect() - Method in class org.glassfish.tyrus.websockets.DefaultWebSocket
-
- onConnect() - Method in interface org.glassfish.tyrus.websockets.WebSocket
-
This callback will be invoked when the opening handshake between both
endpoints has been completed.
- onConnect(WebSocket) - Method in class org.glassfish.tyrus.websockets.WebSocketApplication
-
When a new
WebSocket connection is made to this application, the
WebSocket will be associated with this application.
- onConnect(WebSocket) - Method in interface org.glassfish.tyrus.websockets.WebSocketListener
-
Invoked when the opening handshake has been completed for a specific
WebSocket instance.
- onError(HandshakeException) - Method in interface org.glassfish.tyrus.websockets.HandShake.HandShakeResponseListener
-
Called when an error is found in handshake response.
- onError(WebSocket, Throwable) - Method in class org.glassfish.tyrus.websockets.WebSocketApplication
-
This method will be invoked if an unexpected exception is caught by
the WebSocket runtime.
- onExtensionNegotiation(List<Extension>) - Method in class org.glassfish.tyrus.websockets.WebSocketApplication
-
- onFragment(boolean, byte[]) - Method in class org.glassfish.tyrus.websockets.DefaultWebSocket
-
- onFragment(boolean, String) - Method in class org.glassfish.tyrus.websockets.DefaultWebSocket
-
- onFragment(boolean, String) - Method in interface org.glassfish.tyrus.websockets.WebSocket
-
This callback will be invoked when a fragmented textual message has
been received.
- onFragment(boolean, byte[]) - Method in interface org.glassfish.tyrus.websockets.WebSocket
-
This callback will be invoked when a fragmented binary message has
been received.
- onFragment(WebSocket, String, boolean) - Method in interface org.glassfish.tyrus.websockets.WebSocketListener
-
- onFragment(WebSocket, byte[], boolean) - Method in interface org.glassfish.tyrus.websockets.WebSocketListener
-
- onHandShakeResponse(WebSocketRequest, WebSocketResponse) - Method in class org.glassfish.tyrus.websockets.WebSocketApplication
-
Invoked when server side handshake is ready to send response.
- onMessage(byte[]) - Method in class org.glassfish.tyrus.websockets.DefaultWebSocket
-
- onMessage(String) - Method in class org.glassfish.tyrus.websockets.DefaultWebSocket
-
- onMessage(String) - Method in interface org.glassfish.tyrus.websockets.WebSocket
-
This callback will be invoked when a text message has been received.
- onMessage(byte[]) - Method in interface org.glassfish.tyrus.websockets.WebSocket
-
This callback will be invoked when a binary message has been received.
- onMessage(WebSocket, String) - Method in interface org.glassfish.tyrus.websockets.WebSocketListener
-
- onMessage(WebSocket, byte[]) - Method in interface org.glassfish.tyrus.websockets.WebSocketListener
-
- onPing(DataFrame) - Method in class org.glassfish.tyrus.websockets.DefaultWebSocket
-
- onPing(DataFrame) - Method in interface org.glassfish.tyrus.websockets.WebSocket
-
This callback will be invoked when the remote end-point has sent a ping
frame.
- onPing(WebSocket, byte[]) - Method in interface org.glassfish.tyrus.websockets.WebSocketListener
-
- onPong(DataFrame) - Method in class org.glassfish.tyrus.websockets.DefaultWebSocket
-
- onPong(DataFrame) - Method in interface org.glassfish.tyrus.websockets.WebSocket
-
This callback will be invoked when the remote end-point has sent a pong
frame.
- onPong(WebSocket, byte[]) - Method in interface org.glassfish.tyrus.websockets.WebSocketListener
-
- onResponseHeaders(Map<String, String>) - Method in interface org.glassfish.tyrus.websockets.HandShake.HandShakeResponseListener
-
Called when correct handshake response is received in
HandShake.
- onWebSocketHolder(WebSocketEngine.WebSocketHolder) - Method in class org.glassfish.tyrus.websockets.WebSocketEngine.WebSocketHolderListener
-
Called when request is ready to upgrade.
- OPEN_ROOT_PATH_PATTERN - Static variable in class org.glassfish.tyrus.websockets.uri.internal.PathPattern
-
Path pattern matching the any URI path.
- org.glassfish.tyrus.websockets - package org.glassfish.tyrus.websockets
-
- org.glassfish.tyrus.websockets.draft06 - package org.glassfish.tyrus.websockets.draft06
-
- org.glassfish.tyrus.websockets.draft07 - package org.glassfish.tyrus.websockets.draft07
-
- org.glassfish.tyrus.websockets.draft08 - package org.glassfish.tyrus.websockets.draft08
-
- org.glassfish.tyrus.websockets.draft17 - package org.glassfish.tyrus.websockets.draft17
-
- org.glassfish.tyrus.websockets.frametypes - package org.glassfish.tyrus.websockets.frametypes
-
- org.glassfish.tyrus.websockets.uri - package org.glassfish.tyrus.websockets.uri
-
- org.glassfish.tyrus.websockets.uri.internal - package org.glassfish.tyrus.websockets.uri.internal
-
Common classes that provide support for URI templates,
encoding/decoding of URI components and multivalued collections.
- org.glassfish.tyrus.websockets.uri.internal.l10n - package org.glassfish.tyrus.websockets.uri.internal.l10n
-
Common internal localization utility classes.
- ORIGIN_HEADER - Static variable in class org.glassfish.tyrus.websockets.WebSocketEngine
-
- parse(ByteBuffer) - Method in class org.glassfish.tyrus.websockets.draft06.Draft06Handler
-
- parse(ByteBuffer) - Method in class org.glassfish.tyrus.websockets.draft07.Draft07Handler
-
- parse(ByteBuffer) - Method in class org.glassfish.tyrus.websockets.ProtocolHandler
-
- parse(char, CharBuffer) - Method in class org.glassfish.tyrus.websockets.StrictUtf8.Parser
-
Parses a UCS-4 character from the given source buffer, handling
surrogates.
- parse(char, char[], int, int) - Method in class org.glassfish.tyrus.websockets.StrictUtf8.Parser
-
Parses a UCS-4 character from the given source buffer, handling
surrogates.
- ParseResult - Class in org.glassfish.tyrus.websockets
-
- PathPattern - Class in org.glassfish.tyrus.websockets.uri.internal
-
A path pattern that is a regular expression generated from a URI path
template.
- PathPattern(String) - Constructor for class org.glassfish.tyrus.websockets.uri.internal.PathPattern
-
- PathPattern(PathTemplate) - Constructor for class org.glassfish.tyrus.websockets.uri.internal.PathPattern
-
- PathPattern(String, PathPattern.RightHandPath) - Constructor for class org.glassfish.tyrus.websockets.uri.internal.PathPattern
-
Create a path pattern and post fix with a right hand path pattern.
- PathPattern(PathTemplate, PathPattern.RightHandPath) - Constructor for class org.glassfish.tyrus.websockets.uri.internal.PathPattern
-
Create a path pattern and post fix with a right hand path pattern.
- PathPattern.RightHandPath - Enum in org.glassfish.tyrus.websockets.uri.internal
-
The set of right hand path patterns that may be appended to a path
pattern.
- PathSegment - Interface in org.glassfish.tyrus.websockets.uri.internal
-
Represents a URI path segment and any associated matrix parameters.
- PathTemplate - Class in org.glassfish.tyrus.websockets.uri.internal
-
A URI template for a URI path.
- PathTemplate(String) - Constructor for class org.glassfish.tyrus.websockets.uri.internal.PathTemplate
-
Create a URI path template and encode (percent escape) any characters of
the template that are not valid URI characters.
- PatternWithGroups - Class in org.glassfish.tyrus.websockets.uri.internal
-
A pattern for matching a string against a regular expression
and returning capturing group values for any capturing groups present in
the expression.
- PatternWithGroups() - Constructor for class org.glassfish.tyrus.websockets.uri.internal.PatternWithGroups
-
Construct an empty pattern.
- PatternWithGroups(String) - Constructor for class org.glassfish.tyrus.websockets.uri.internal.PatternWithGroups
-
Construct a new pattern.
- PatternWithGroups(String, int[]) - Constructor for class org.glassfish.tyrus.websockets.uri.internal.PatternWithGroups
-
Construct a new pattern.
- PatternWithGroups(Pattern) - Constructor for class org.glassfish.tyrus.websockets.uri.internal.PatternWithGroups
-
Construct a new pattern.
- PatternWithGroups(Pattern, int[]) - Constructor for class org.glassfish.tyrus.websockets.uri.internal.PatternWithGroups
-
Construct a new pattern.
- PingFrameType - Class in org.glassfish.tyrus.websockets.frametypes
-
- PingFrameType() - Constructor for class org.glassfish.tyrus.websockets.frametypes.PingFrameType
-
- PongFrameType - Class in org.glassfish.tyrus.websockets.frametypes
-
- PongFrameType() - Constructor for class org.glassfish.tyrus.websockets.frametypes.PongFrameType
-
- prepareRequest() - Method in class org.glassfish.tyrus.websockets.HandShake
-
- processingFragment - Variable in class org.glassfish.tyrus.websockets.ProtocolHandler
-
- PROTOCOL_ERROR - Static variable in interface org.glassfish.tyrus.websockets.WebSocket
-
Indicates that an endpoint is terminating the connection due to a protocol error.
- ProtocolError - Exception in org.glassfish.tyrus.websockets
-
TODO
- ProtocolError(String) - Constructor for exception org.glassfish.tyrus.websockets.ProtocolError
-
- ProtocolError(String, Throwable) - Constructor for exception org.glassfish.tyrus.websockets.ProtocolError
-
- ProtocolError(Throwable) - Constructor for exception org.glassfish.tyrus.websockets.ProtocolError
-
- ProtocolHandler - Class in org.glassfish.tyrus.websockets
-
- ProtocolHandler(boolean) - Constructor for class org.glassfish.tyrus.websockets.ProtocolHandler
-
- PROVIDER_CLASS_COULD_NOT_BE_LOADED(Object, Object, Object) - Static method in class org.glassfish.tyrus.websockets.uri.internal.LocalizationMessages
-
The class {0} implementing provider {1} could not be loaded: {2}
- PROVIDER_COULD_NOT_BE_CREATED(Object, Object, Object) - Static method in class org.glassfish.tyrus.websockets.uri.internal.LocalizationMessages
-
The class {0} implementing provider {1} could not be instantiated: {2}
- PROVIDER_NOT_FOUND(Object, Object) - Static method in class org.glassfish.tyrus.websockets.uri.internal.LocalizationMessages
-
The class {0} implementing the provider {1} is not found.
- put(K, List<V>) - Method in class org.glassfish.tyrus.websockets.uri.internal.AbstractMultivaluedMap
-
- putAll(Map<? extends K, ? extends List<V>>) - Method in class org.glassfish.tyrus.websockets.uri.internal.AbstractMultivaluedMap
-
- putSingle(K, V) - Method in class org.glassfish.tyrus.websockets.uri.internal.AbstractMultivaluedMap
-
Set the value for the key to be a one item list consisting of the supplied
value.
- putSingle(K, V) - Method in interface org.glassfish.tyrus.websockets.uri.internal.MultivaluedMap
-
Set the key's value to be a one item list consisting of the supplied value.
- putSingleHeader(String, String) - Method in interface org.glassfish.tyrus.websockets.WebSocketRequest
-
Put single header value into headers map.