Skip navigation links
A B C D E F G H I L M N O P Q R S T U V W 

A

addException(Exception) - Method in class org.glassfish.tyrus.core.ErrorCollector
Add Exception to the collector.
addMessageHandler(MessageHandler) - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
This method is not supported on RemoteSession.
addMessageHandler(Class<T>, MessageHandler.Whole<T>) - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
This method is not supported on RemoteSession.
addMessageHandler(Class<T>, MessageHandler.Partial<T>) - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
This method is not supported on RemoteSession.
addMessageHandler(MessageHandler) - Method in class org.glassfish.tyrus.core.MessageHandlerManager
Add MessageHandler to the manager.
addMessageHandler(Class<T>, MessageHandler.Whole<T>) - Method in class org.glassfish.tyrus.core.MessageHandlerManager
Add MessageHandler.Whole to the manager.
addMessageHandler(Class<T>, MessageHandler.Partial<T>) - Method in class org.glassfish.tyrus.core.MessageHandlerManager
Add MessageHandler.Partial to the manager.
addMessageHandler(MessageHandler) - Method in class org.glassfish.tyrus.core.TyrusSession
addMessageHandler(Class<T>, MessageHandler.Whole<T>) - Method in class org.glassfish.tyrus.core.TyrusSession
Register to handle to incoming messages in this conversation.
addMessageHandler(Class<T>, MessageHandler.Partial<T>) - Method in class org.glassfish.tyrus.core.TyrusSession
Register to handle to incoming messages in this conversation.
ALL - Static variable in class org.glassfish.tyrus.core.coder.PrimitiveDecoders
 
ALL_INSTANCES - Static variable in class org.glassfish.tyrus.core.coder.PrimitiveDecoders
 
AnnotatedEndpoint - Class in org.glassfish.tyrus.core
Endpoint descendant which represents deployed annotated endpoint.
appendBuffers(ByteBuffer, ByteBuffer, int, int) - Static method in class org.glassfish.tyrus.core.Utils
Concatenates two buffers into one.
appendLogMessage(Logger, Level, DebugContext.Type, Object...) - Method in class org.glassfish.tyrus.core.DebugContext
Append a message to the log, the logging will be postponed until the message can be provided with a session ID.
appendLogMessageWithThrowable(Logger, Level, DebugContext.Type, Throwable, Object...) - Method in class org.glassfish.tyrus.core.DebugContext
Append a message to the log, the logging will be postponed until the message can be provided with a session ID.
appendStandardOutputMessage(DebugContext.Type, String) - Method in class org.glassfish.tyrus.core.DebugContext
Write a message to the standard output, the logging will be postponed until the message can be provided with a session ID.
appendTraceMessage(Logger, Level, DebugContext.Type, Object...) - Method in class org.glassfish.tyrus.core.DebugContext
Append a message to the log and to the list of trace messages that are sent in handshake response.
appendTraceMessageWithThrowable(Logger, Level, DebugContext.Type, Throwable, Object...) - Method in class org.glassfish.tyrus.core.DebugContext
Append a message to the log and to the list of trace messages that are sent in handshake response.
APPLICATION_EVENT_LISTENER - Static variable in interface org.glassfish.tyrus.core.monitoring.ApplicationEventListener
A key used for registering a application event listener implementation.
ApplicationEventListener - Interface in org.glassfish.tyrus.core.monitoring
Listens to application-level events that are interesting for monitoring.
applicationEventListener(ApplicationEventListener) - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine.TyrusWebSocketEngineBuilder

B

BaseContainer - Class in org.glassfish.tyrus.core
Base WebSocket container.
BaseContainer() - Constructor for class org.glassfish.tyrus.core.BaseContainer
 
BaseContainer.ShutDownCondition - Interface in org.glassfish.tyrus.core
 
Beta - Annotation Type in org.glassfish.tyrus.core
Marker of a public Tyrus API that is still in "beta" non-final version.
BinaryFrame - Class in org.glassfish.tyrus.core.frame
Binary frame representation.
BinaryFrame(Frame) - Constructor for class org.glassfish.tyrus.core.frame.BinaryFrame
Constructor.
BinaryFrame(Frame, boolean) - Constructor for class org.glassfish.tyrus.core.frame.BinaryFrame
Constructor.
BinaryFrame(byte[], boolean, boolean) - Constructor for class org.glassfish.tyrus.core.frame.BinaryFrame
Constructor.
BooleanDecoder() - Constructor for class org.glassfish.tyrus.core.coder.PrimitiveDecoders.BooleanDecoder
 
broadcast(String) - Method in class org.glassfish.tyrus.core.TyrusSession
Broadcasts text message to all connected clients.
broadcast(ByteBuffer) - Method in class org.glassfish.tyrus.core.TyrusSession
Broadcasts binary message to all connected clients, including remote sessions (if any).
broadcastBinary(String, byte[]) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
Broadcast binary message.
BroadcastListener - Interface in org.glassfish.tyrus.core.cluster
Broadcast listener.
broadcastText(String, String) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
Broadcast text message.
build() - Method in class org.glassfish.tyrus.core.frame.Frame.Builder
Build new frame.
build() - Method in class org.glassfish.tyrus.core.RequestContext.Builder
Build RequestContext from given properties.
build() - Method in class org.glassfish.tyrus.core.TyrusServerEndpointConfig.Builder
Builds the configuration object using the current attributes that have been set on this builder object.
build() - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine.TyrusWebSocketEngineBuilder
Create new TyrusWebSocketEngine instance with current set of parameters.
builder() - Static method in class org.glassfish.tyrus.core.frame.Frame
Create new Frame.Builder.
builder(Frame) - Static method in class org.glassfish.tyrus.core.frame.Frame
Create new Frame.Builder based on provided frame.
Builder() - Constructor for class org.glassfish.tyrus.core.frame.Frame.Builder
Constructor.
Builder(Frame) - Constructor for class org.glassfish.tyrus.core.frame.Frame.Builder
Constructor.
Builder() - Constructor for class org.glassfish.tyrus.core.RequestContext.Builder
 
builder(WebSocketContainer) - Static method in class org.glassfish.tyrus.core.TyrusWebSocketEngine
Create TyrusWebSocketEngine.TyrusWebSocketEngineBuilder instance based on passed WebSocketContainer.
bundleChanged(BundleEvent) - Method in class org.glassfish.tyrus.core.OsgiRegistry
 
ByteDecoder() - Constructor for class org.glassfish.tyrus.core.coder.PrimitiveDecoders.ByteDecoder
 

C

c - Variable in class org.glassfish.tyrus.core.ReflectionHelper.ClassTypePair
The class.
c - Variable in class org.glassfish.tyrus.core.ReflectionHelper.TypeClassPair
 
cancel(boolean) - Method in class org.glassfish.tyrus.core.TyrusFuture
 
CharacterDecoder() - Constructor for class org.glassfish.tyrus.core.coder.PrimitiveDecoders.CharacterDecoder
 
checkNotNull(T, String) - Static method in class org.glassfish.tyrus.core.Utils
Check for null.
checkOrigin(String) - Method in class org.glassfish.tyrus.core.TyrusServerEndpointConfigurator
 
classForName(String) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
Get the Class from the class name.
classForName(String, ClassLoader) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
Get the Class from the class name.
classForNameWithException(String) - Method in class org.glassfish.tyrus.core.OsgiRegistry
Get the Class from the class name.
classForNameWithException(String) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
Get the Class from the class name.
classForNameWithException(String, ClassLoader) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
Get the Class from the class name.
classForNameWithExceptionPEA(String) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
Get privileged exception action to obtain Class from given class name.
classForNameWithExceptionPEA(String, ClassLoader) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
Get privileged exception action to obtain Class from given class name.
ClassTypePair(Class) - Constructor for class org.glassfish.tyrus.core.ReflectionHelper.ClassTypePair
 
ClassTypePair(Class, Type) - Constructor for class org.glassfish.tyrus.core.ReflectionHelper.ClassTypePair
 
close(String) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
Close remote session.
close(String, CloseReason) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
Close remote session with custom CloseReason.
close() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
Close the current conversation with a normal status code and no reason phrase.
close(CloseReason) - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
Close the current conversation, giving a reason for the closure.
close(int, String) - Method in class org.glassfish.tyrus.core.ProtocolHandler
 
close(CloseReason) - Method in class org.glassfish.tyrus.core.TyrusRemoteEndpoint
 
close() - Method in class org.glassfish.tyrus.core.TyrusSession
 
close(CloseReason) - Method in class org.glassfish.tyrus.core.TyrusSession
 
close() - Method in class org.glassfish.tyrus.core.TyrusWebSocket
Closes this TyrusWebSocket.
close(int, String) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
Closes this TyrusWebSocket using the specified status code and reason.
close(CloseReason) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
Closes this TyrusWebSocket using the CloseReason.
CloseFrame - Class in org.glassfish.tyrus.core.frame
Close frame representation.
CloseFrame(Frame) - Constructor for class org.glassfish.tyrus.core.frame.CloseFrame
Constructor.
CloseFrame(CloseReason) - Constructor for class org.glassfish.tyrus.core.frame.CloseFrame
Constructor.
CloseReasons - Enum in org.glassfish.tyrus.core
Enum containing standard CloseReasons defined in RFC 6455, see chapter 7.4.1 Defined Status Codes.
CLUSTER_CONTEXT - Static variable in class org.glassfish.tyrus.core.cluster.ClusterContext
ClusterContext registration property.
ClusterContext - Class in org.glassfish.tyrus.core.cluster
Cluster related context.
ClusterContext() - Constructor for class org.glassfish.tyrus.core.cluster.ClusterContext
 
clusterContext(ClusterContext) - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine.TyrusWebSocketEngineBuilder
CoderAdapter - Class in org.glassfish.tyrus.core.coder
Adapter for Encoder and Decoder which implements lifecycle methods.
CoderAdapter() - Constructor for class org.glassfish.tyrus.core.coder.CoderAdapter
 
CoderWrapper<T> - Class in org.glassfish.tyrus.core.coder
Wrapper of coders storing the coder coder class (and optionally coder instance), return type of the encode / decode method and coder class.
CoderWrapper(Class<? extends T>, Class<?>) - Constructor for class org.glassfish.tyrus.core.coder.CoderWrapper
Construct new coder wrapper.
CoderWrapper(T, Class<?>) - Constructor for class org.glassfish.tyrus.core.coder.CoderWrapper
Construct new coder wrapper.
ComponentProvider - Class in org.glassfish.tyrus.core
Provides an instance.
ComponentProvider() - Constructor for class org.glassfish.tyrus.core.ComponentProvider
 
ComponentProviderService - Class in org.glassfish.tyrus.core
Provides an instance of component.
ComponentProviderService(ComponentProviderService) - Constructor for class org.glassfish.tyrus.core.ComponentProviderService
Copy constructor.
composeComprehensiveException() - Method in class org.glassfish.tyrus.core.ErrorCollector
Create DeploymentException with message concatenated from collected exceptions.
concreteClass - Variable in class org.glassfish.tyrus.core.ReflectionHelper.DeclaringClassInterfacePair
 
configurator(ServerEndpointConfig.Configurator) - Method in class org.glassfish.tyrus.core.TyrusServerEndpointConfig.Builder
Sets the custom configurator to use on the configuration object built by this builder.
contains(Charset) - Method in class org.glassfish.tyrus.core.StrictUtf8
 
create(Class<T>) - Method in class org.glassfish.tyrus.core.ComponentProvider
Create new instance.
create() - Static method in class org.glassfish.tyrus.core.ComponentProviderService
Create new instance of ComponentProviderService.
create(Class<T>) - Method in class org.glassfish.tyrus.core.DefaultComponentProvider
 
create() - Static method in class org.glassfish.tyrus.core.RequestContext.Builder
Create empty builder.
create(RequestContext) - Static method in class org.glassfish.tyrus.core.RequestContext.Builder
Create builder instance based on provided RequestContext.
create(Class<?>, String) - Static method in class org.glassfish.tyrus.core.TyrusServerEndpointConfig.Builder
Creates the builder with the mandatory information of the endpoint class (programmatic or annotated), the relative URI or URI-template to use, and with no subprotocols, extensions, encoders, decoders or custom configurator.
createClassIterator(Class<T>, String, ClassLoader, boolean) - Method in class org.glassfish.tyrus.core.ServiceFinder.DefaultServiceIteratorProvider
 
createClassIterator(Class<T>, String, ClassLoader, boolean) - Method in class org.glassfish.tyrus.core.ServiceFinder.ServiceIteratorProvider
Iterate over provider classes of a service.
createClient() - Static method in class org.glassfish.tyrus.core.ComponentProviderService
Create new instance of ComponentProviderService.
createClientHandshake(RequestContext) - Static method in class org.glassfish.tyrus.core.Handshake
Client-side handshake.
createConnectionId() - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
Create connection id.
createHandler(boolean, MaskingKeyGenerator) - Method in enum org.glassfish.tyrus.core.Version
 
createIterator(Class<T>, String, ClassLoader, boolean) - Method in class org.glassfish.tyrus.core.ServiceFinder.DefaultServiceIteratorProvider
 
createIterator(Class<T>, String, ClassLoader, boolean) - Method in class org.glassfish.tyrus.core.ServiceFinder.ServiceIteratorProvider
Iterate over provider instances of a service.
createSessionForRemoteEndpoint(TyrusWebSocket, String, List<Extension>, DebugContext) - Method in class org.glassfish.tyrus.core.TyrusEndpointWrapper
Creates a Session based on the TyrusWebSocket, subprotocols and extensions.
createSessionId() - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
Create session id.

D

DebugContext - Class in org.glassfish.tyrus.core
A Logger wrapper that gives logging records a common formatting and temporarily stores log records and postpones their logging until they can be provided with a session ID.
DebugContext(DebugContext.TracingThreshold) - Constructor for class org.glassfish.tyrus.core.DebugContext
Constructor that configures tracing to be ON and accepts tracing threshold as a parameter.
DebugContext() - Constructor for class org.glassfish.tyrus.core.DebugContext
Constructor that configures tracing to be OFF.
DebugContext.TracingThreshold - Enum in org.glassfish.tyrus.core
Tracing threshold - used for configuration granularity of information that will be sent in tracing headers.
DebugContext.TracingType - Enum in org.glassfish.tyrus.core
Type of tracing - used for tracing configuration.
DebugContext.Type - Enum in org.glassfish.tyrus.core
Type of the record - used to graphically distinguish these message types in the log.
declaringClass - Variable in class org.glassfish.tyrus.core.ReflectionHelper.DeclaringClassInterfacePair
 
decode(ByteBuffer) - Method in class org.glassfish.tyrus.core.coder.InputStreamDecoder
 
decode(ByteBuffer) - Method in class org.glassfish.tyrus.core.coder.NoOpByteArrayCoder
 
decode(ByteBuffer) - Method in class org.glassfish.tyrus.core.coder.NoOpByteBufferCoder
 
decode(String) - Method in class org.glassfish.tyrus.core.coder.NoOpTextCoder
 
decode(String) - Method in class org.glassfish.tyrus.core.coder.PrimitiveDecoders.BooleanDecoder
 
decode(String) - Method in class org.glassfish.tyrus.core.coder.PrimitiveDecoders.ByteDecoder
 
decode(String) - Method in class org.glassfish.tyrus.core.coder.PrimitiveDecoders.CharacterDecoder
 
decode(String) - Method in class org.glassfish.tyrus.core.coder.PrimitiveDecoders.DoubleDecoder
 
decode(String) - Method in class org.glassfish.tyrus.core.coder.PrimitiveDecoders.FloatDecoder
 
decode(String) - Method in class org.glassfish.tyrus.core.coder.PrimitiveDecoders.IntegerDecoder
 
decode(String) - Method in class org.glassfish.tyrus.core.coder.PrimitiveDecoders.LongDecoder
 
decode(String) - Method in class org.glassfish.tyrus.core.coder.PrimitiveDecoders.ShortDecoder
 
decode(String) - Method in class org.glassfish.tyrus.core.coder.ReaderDecoder
 
decoders(List<Class<? extends Decoder>>) - Method in class org.glassfish.tyrus.core.TyrusServerEndpointConfig.Builder
Sets the decoder implementation classes to use in the configuration.
DefaultComponentProvider - Class in org.glassfish.tyrus.core
Provides instances using reflection.
DefaultComponentProvider() - Constructor for class org.glassfish.tyrus.core.DefaultComponentProvider
 
DefaultServiceIteratorProvider() - Constructor for class org.glassfish.tyrus.core.ServiceFinder.DefaultServiceIteratorProvider
 
destroy() - Method in class org.glassfish.tyrus.core.coder.CoderAdapter
This method does nothing.
destroy(Object) - Method in class org.glassfish.tyrus.core.ComponentProvider
Destroys the given managed instance.
destroy(Object) - Method in class org.glassfish.tyrus.core.DefaultComponentProvider
 
destroy(ExtendedExtension.ExtensionContext) - Method in interface org.glassfish.tyrus.core.extension.ExtendedExtension
Context lifecycle method.
destroyDistributedUserProperties(String) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
Destroy map which holds distributed user properties.
DistributedSession - Interface in org.glassfish.tyrus.core.cluster
Extended Session which adds distributed properties.
doEncode(Session, Object) - Method in class org.glassfish.tyrus.core.TyrusEndpointWrapper
 
DoubleDecoder() - Constructor for class org.glassfish.tyrus.core.coder.PrimitiveDecoders.DoubleDecoder
 

E

encode(byte[]) - Method in class org.glassfish.tyrus.core.coder.NoOpByteArrayCoder
 
encode(ByteBuffer) - Method in class org.glassfish.tyrus.core.coder.NoOpByteBufferCoder
 
encode(String) - Method in class org.glassfish.tyrus.core.coder.NoOpTextCoder
 
encode(Object) - Method in class org.glassfish.tyrus.core.coder.ToStringEncoder
 
encoders(List<Class<? extends Encoder>>) - Method in class org.glassfish.tyrus.core.TyrusServerEndpointConfig.Builder
Sets the list of encoder implementation classes for this builder.
EndpointEventListener - Interface in org.glassfish.tyrus.core.monitoring
Listens to endpoint-level events that are interesting for monitoring.
equals(Object) - Method in class org.glassfish.tyrus.core.TyrusExtension
 
error() - Method in class org.glassfish.tyrus.core.StrictUtf8.Parser
If the previous parse operation detected an error, return the object describing that error.
ErrorCollector - Class in org.glassfish.tyrus.core
Used to collect deployment errors to present these to the user together.
ErrorCollector() - Constructor for class org.glassfish.tyrus.core.ErrorCollector
 
evaluate() - Method in interface org.glassfish.tyrus.core.BaseContainer.ShutDownCondition
 
ExecutorServiceProvider - Class in org.glassfish.tyrus.core
 
ExecutorServiceProvider() - Constructor for class org.glassfish.tyrus.core.ExecutorServiceProvider
 
ExtendedExtension - Interface in org.glassfish.tyrus.core.extension
WebSocket Extension.
ExtendedExtension.ExtensionContext - Interface in org.glassfish.tyrus.core.extension
Context present as a parameter in all ExtendedExtension methods.
extensions(List<Extension>) - Method in class org.glassfish.tyrus.core.TyrusServerEndpointConfig.Builder
Sets the extensions to use in the configuration.

F

fin(boolean) - Method in class org.glassfish.tyrus.core.frame.Frame.Builder
Set FIN flag.
find(Class<T>, ClassLoader) - Static method in class org.glassfish.tyrus.core.ServiceFinder
Locates and incrementally instantiates the available providers of a given service using the given class loader.
find(Class<T>, ClassLoader, boolean) - Static method in class org.glassfish.tyrus.core.ServiceFinder
Locates and incrementally instantiates the available providers of a given service using the given class loader.
find(Class<T>) - Static method in class org.glassfish.tyrus.core.ServiceFinder
Locates and incrementally instantiates the available providers of a given service using the context class loader.
find(Class<T>, boolean) - Static method in class org.glassfish.tyrus.core.ServiceFinder
Locates and incrementally instantiates the available providers of a given service using the context class loader.
find(String) - Static method in class org.glassfish.tyrus.core.ServiceFinder
Locates and incrementally instantiates the available classes of a given service file using the context class loader.
findMethodOnClass(Class, Method) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
Find a method on a class given an existing method.
FloatDecoder() - Constructor for class org.glassfish.tyrus.core.coder.PrimitiveDecoders.FloatDecoder
 
flush() - Method in class org.glassfish.tyrus.core.DebugContext
Write pending messages to the log.
flushBatch() - Method in class org.glassfish.tyrus.core.TyrusRemoteEndpoint
 
Frame - Class in org.glassfish.tyrus.core.frame
WebSocket frame representation.
Frame(Frame) - Constructor for class org.glassfish.tyrus.core.frame.Frame
Copy constructor.
Frame.Builder - Class in org.glassfish.tyrus.core.frame
Frame builder.
fromClass(Class<?>, ComponentProviderService, boolean, int, ErrorCollector, EndpointEventListener) - Static method in class org.glassfish.tyrus.core.AnnotatedEndpoint
Create AnnotatedEndpoint from class.
fromClass(Class<?>, ComponentProviderService, boolean, int, ErrorCollector, EndpointEventListener, Set<Extension>) - Static method in class org.glassfish.tyrus.core.AnnotatedEndpoint
Create AnnotatedEndpoint from class.
fromDecoderClasses(List<Class<? extends Decoder>>) - Static method in class org.glassfish.tyrus.core.MessageHandlerManager
Construct manager.
fromHeaders(List<String>) - Static method in class org.glassfish.tyrus.core.TyrusExtension
Parse Extension from headers (represented as List of strings).
fromInstance(Object, ComponentProviderService, boolean, int, ErrorCollector) - Static method in class org.glassfish.tyrus.core.AnnotatedEndpoint
Create AnnotatedEndpoint from instance.
fromInstance(Object, ComponentProviderService, boolean, int, ErrorCollector, Set<Extension>) - Static method in class org.glassfish.tyrus.core.AnnotatedEndpoint
Create AnnotatedEndpoint from instance.
fromString(List<String>) - Static method in class org.glassfish.tyrus.core.TyrusExtension
Parsing of one Extension.

G

genericInterface - Variable in class org.glassfish.tyrus.core.ReflectionHelper.DeclaringClassInterfacePair
 
get() - Method in class org.glassfish.tyrus.core.TyrusFuture
 
get(long, TimeUnit) - Method in class org.glassfish.tyrus.core.TyrusFuture
 
getAllMatches(String, Set<TyrusEndpointWrapper>, DebugContext) - Static method in class org.glassfish.tyrus.core.uri.Match
Return a list of all endpoints with path matching the request path.
getAllSessions() - Method in class org.glassfish.tyrus.core.TyrusSession
Get set of all sessions opened to the same endpoint.
getApplicationEventListener() - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine
Get ApplicationEventListener related to current TyrusWebSocketEngine instance.
getArrayClass(Class) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
Get Array class of component class.
getAsyncRemote() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
Get a reference a RemoteEndpoint.Async object representing the peer of this conversation that is able to send messages asynchronously to the peer.
getAsyncRemote() - Method in class org.glassfish.tyrus.core.TyrusSession
 
getBasicRemote() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
Get a reference a RemoteEndpoint.Basic object representing the peer of this conversation that is able to send messages synchronously to the peer.
getBasicRemote() - Method in class org.glassfish.tyrus.core.TyrusSession
 
getBatchingAllowed() - Method in class org.glassfish.tyrus.core.TyrusRemoteEndpoint
 
getClass(Class, Class) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
Find the declaring class that implements or extends an interface.
getClassType(Class<?>, Class<?>) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
Find a type of the class given it's Superclass.
getCloseReason() - Method in enum org.glassfish.tyrus.core.CloseReasons
Get close reason.
getCloseReason() - Method in class org.glassfish.tyrus.core.frame.CloseFrame
Get close reason.
getCloseReason() - Method in exception org.glassfish.tyrus.core.ProtocolException
 
getCloseReason() - Method in exception org.glassfish.tyrus.core.Utf8DecodingException
 
getCloseReason() - Method in exception org.glassfish.tyrus.core.WebSocketException
Get close reason.
getCoder() - Method in class org.glassfish.tyrus.core.coder.CoderWrapper
Get coder instance.
getCoderClass() - Method in class org.glassfish.tyrus.core.coder.CoderWrapper
Get coder class.
getCoderInstance(Class<T>, Session, EndpointConfig, ErrorCollector) - Method in class org.glassfish.tyrus.core.ComponentProviderService
Provide an instance of Encoder or Decoder descendant which is coupled to Session.
getContainer() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
This method is not supported on RemoteSession.
getContainer() - Method in class org.glassfish.tyrus.core.TyrusSession
 
getContextClassLoaderPA() - Static method in class org.glassfish.tyrus.core.ReflectionHelper
Get privileged action to obtain context class loader.
getDeclaringClass(AccessibleObject) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
Get declaring class of provided field, method or constructor.
getDistributedProperties() - Method in interface org.glassfish.tyrus.core.cluster.DistributedSession
Get distributed properties.
getDistributedProperties() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
 
getDistributedProperties() - Method in class org.glassfish.tyrus.core.TyrusSession
 
getDistributedSessionProperties(String) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
Get the map containing session properties to be shared among nodes.
getDistributedUserProperties(String) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
Get the map containing session user properties to be shared among nodes.
getEndpointConfig() - Method in class org.glassfish.tyrus.core.AnnotatedEndpoint
 
getEndpointConfig() - Method in class org.glassfish.tyrus.core.TyrusEndpointWrapper
Get Endpoint configuration.
getEndpointInstance(Class<T>) - Method in class org.glassfish.tyrus.core.ComponentProviderService
This method is called by the container each time a new client connects to the logical endpoint this configurator configures.
getEndpointInstance(Class<T>) - Method in class org.glassfish.tyrus.core.TyrusServerEndpointConfigurator
 
getEndpointPath() - Method in class org.glassfish.tyrus.core.TyrusEndpointWrapper
Server-side; Get Endpoint absolute path.
getEndpointWrapper() - Method in class org.glassfish.tyrus.core.uri.Match
Get endpoint wrapper.
getExecutorService() - Method in class org.glassfish.tyrus.core.BaseContainer
Returns a container-managed ExecutorService registered under java:comp/DefaultManagedExecutorService or if the lookup has failed, it returns a ExecutorService created and managed by this instance of BaseContainer.
getExecutorService() - Method in class org.glassfish.tyrus.core.ExecutorServiceProvider
Get the ExecutorService.
getFrameType() - Method in class org.glassfish.tyrus.core.frame.TyrusFrame
Returns the type of the frame.
getFromStringStringMethod(Class) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
Get the static fromString(String ) method.
getGenericClass(Type) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
Get the class that is the type argument of a parameterized type.
getHeader(String) - Method in class org.glassfish.tyrus.core.RequestContext
Returns the header value corresponding to the name.
getHeaderFromList(List<T>) - Static method in class org.glassfish.tyrus.core.Utils
Creates single String value from provided List by calling Object.toString() on each item and separating existing ones with ", ".
getHeaderFromList(List<T>, Utils.Stringifier<T>) - Static method in class org.glassfish.tyrus.core.Utils
Convert list of values to singe String usable as HTTP header value.
getHeaders() - Method in class org.glassfish.tyrus.core.RequestContext
Get headers.
getHeaders() - Method in class org.glassfish.tyrus.core.TyrusUpgradeResponse
Get HTTP headers.
getHeartbeatInterval() - Method in class org.glassfish.tyrus.core.TyrusSession
Return an interval in milliseconds between scheduled periodic Pong messages.
getHttpSession() - Method in class org.glassfish.tyrus.core.RequestContext
 
getHttpStatusCode() - Method in exception org.glassfish.tyrus.core.HandshakeException
Get the error code.
getId() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
Get a string containing the unique identifier assigned to this session.
getId() - Method in class org.glassfish.tyrus.core.TyrusSession
 
getInstance(Class<T>, Session, ErrorCollector) - Method in class org.glassfish.tyrus.core.ComponentProviderService
Provide an instance of class which is coupled to Session.
getInstance() - Static method in class org.glassfish.tyrus.core.OsgiRegistry
Returns an OsgiRegistry instance.
getInstance(Class<T>, ErrorCollector) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
Creates an instance of Class c using Class.newInstance().
getInstance(Class<T>) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
Creates an instance of Class c using Class.newInstance().
getInvocableMethod(Method) - Method in class org.glassfish.tyrus.core.ComponentProvider
Get the method which should be invoked instead provided one.
getInvocableMethod(Method) - Method in class org.glassfish.tyrus.core.ComponentProviderService
 
getInvocableMethod(Method) - Method in class org.glassfish.tyrus.core.DefaultComponentProvider
 
getMaskingKey() - Method in class org.glassfish.tyrus.core.frame.Frame
Get masking key.
getMaxBinaryMessageBufferSize() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
Get the maximum length of incoming binary messages that this Session can buffer.
getMaxBinaryMessageBufferSize() - Method in class org.glassfish.tyrus.core.TyrusSession
 
getMaxIdleTimeout() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
Get the number of milliseconds before this conversation may be closed by the container if it is inactive, i.e.
getMaxIdleTimeout() - Method in class org.glassfish.tyrus.core.TyrusSession
 
getMaxSessions() - Method in interface org.glassfish.tyrus.core.TyrusServerEndpointConfig
Returns configured maximal number of open sessions.
getMaxTextMessageBufferSize() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
Get the maximum length of incoming text messages that this Session can buffer.
getMaxTextMessageBufferSize() - Method in class org.glassfish.tyrus.core.TyrusSession
 
getMessageHandlers() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
This method is not supported on RemoteSession.
getMessageHandlers() - Method in class org.glassfish.tyrus.core.MessageHandlerManager
Get all successfully registered MessageHandlers.
getMessageHandlers() - Method in class org.glassfish.tyrus.core.TyrusSession
 
getName() - Method in class org.glassfish.tyrus.core.TyrusExtension
 
getName() - Method in class org.glassfish.tyrus.core.TyrusExtension.TyrusParameter
 
getNegotiatedExtensions() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
Get the list of extensions currently in use for this conversation.
getNegotiatedExtensions(List<Extension>, List<Extension>) - Method in class org.glassfish.tyrus.core.TyrusServerEndpointConfigurator
 
getNegotiatedExtensions() - Method in class org.glassfish.tyrus.core.TyrusSession
 
getNegotiatedSubprotocol() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
Get the sub protocol agreed during the websocket handshake for this conversation.
getNegotiatedSubprotocol(List<String>, List<String>) - Method in class org.glassfish.tyrus.core.TyrusServerEndpointConfigurator
 
getNegotiatedSubprotocol() - Method in class org.glassfish.tyrus.core.TyrusSession
 
getOpcode() - Method in class org.glassfish.tyrus.core.frame.Frame
Get opcode.
getOpenSessions() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
This method is not supported on RemoteSession.
getOpenSessions() - Method in class org.glassfish.tyrus.core.TyrusSession
 
getOrderedWholeMessageHandlers() - Method in class org.glassfish.tyrus.core.MessageHandlerManager
 
getOsgiRegistryInstance() - Static method in class org.glassfish.tyrus.core.ReflectionHelper
Returns an OsgiRegistry instance.
getPackageResources(String, ClassLoader) - Method in class org.glassfish.tyrus.core.OsgiRegistry
 
getParameterizedClassArguments(ReflectionHelper.DeclaringClassInterfacePair) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
Get the parameterized class arguments for a declaring class that declares a generic interface type.
getParameterizedTypeArguments(ReflectionHelper.DeclaringClassInterfacePair) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
Get the parameterized type arguments for a declaring class that declares a generic interface type.
getParameterMap() - Method in class org.glassfish.tyrus.core.RequestContext
 
getParameters() - Method in class org.glassfish.tyrus.core.TyrusExtension
 
getParameters() - Method in class org.glassfish.tyrus.core.uri.Match
Get map of parameter names-value pairs.
getPathParameters() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
Get a map of the path parameter names and values used associated with the request this session was opened under.
getPathParameters() - Method in class org.glassfish.tyrus.core.TyrusSession
 
getPayloadData() - Method in class org.glassfish.tyrus.core.frame.Frame
Get payload data.
getPayloadLength() - Method in class org.glassfish.tyrus.core.frame.Frame
Get payload length.
getProperties() - Method in interface org.glassfish.tyrus.core.extension.ExtendedExtension.ExtensionContext
Mutable, not synchronised property map.
getProperty(Map<String, Object>, String, Class<T>) - Static method in class org.glassfish.tyrus.core.Utils
Get typed property from generic property map.
getProperty(Map<String, Object>, String, Class<T>, T) - Static method in class org.glassfish.tyrus.core.Utils
Get typed property from generic property map.
getProtocolVersion() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
Get the version of the websocket protocol currently being used.
getProtocolVersion() - Method in class org.glassfish.tyrus.core.TyrusSession
 
getQueryString() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
Get the query string associated with the request this session was opened under.
getQueryString() - Method in class org.glassfish.tyrus.core.RequestContext
 
getQueryString() - Method in class org.glassfish.tyrus.core.TyrusSession
 
getReasonPhrase() - Method in class org.glassfish.tyrus.core.TyrusUpgradeResponse
Get HTTP reason phrase.
getRemainder() - Method in class org.glassfish.tyrus.core.frame.TextFrame
Remainder after UTF-8 decoding.
getRemainingArray(ByteBuffer) - Static method in class org.glassfish.tyrus.core.Utils
Creates the array of bytes containing the bytes from the position to the limit of the ByteBuffer.
getRemoteAddr() - Method in class org.glassfish.tyrus.core.RequestContext
Get the Internet Protocol (IP) address of the client or last proxy that sent the request.
getRemoteAddr() - Method in class org.glassfish.tyrus.core.TyrusSession
Get the Internet Protocol (IP) address of the client or last proxy that sent the request.
getRemoteSessionIds(String) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
Get set containing session ids of all remote sessions registered to given endpoint path.
getRemoteSessions() - Method in class org.glassfish.tyrus.core.TyrusSession
Get set of remote sessions.
getRequest() - Method in class org.glassfish.tyrus.core.Handshake
Client side only - get the UpgradeRequest.
getRequestParameterMap() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
Get the request parameters associated with the request this session was opened under.
getRequestParameterMap() - Method in class org.glassfish.tyrus.core.TyrusSession
 
getRequestURI() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
Get the URI under which this session was opened, including the query string if there is one.
getRequestURI() - Method in class org.glassfish.tyrus.core.RequestContext
 
getRequestUri() - Method in class org.glassfish.tyrus.core.RequestContext
 
getRequestURI() - Method in class org.glassfish.tyrus.core.TyrusSession
 
getResourceBundle(String) - Method in class org.glassfish.tyrus.core.OsgiRegistry
Tries to load resource bundle via OSGi means.
getScheduledExecutorService() - Method in class org.glassfish.tyrus.core.BaseContainer
Returns a container-managed ScheduledExecutorService registered under java:comp/DefaultManagedScheduledExecutorService or if the lookup has failed it returns a ScheduledExecutorService created and managed by this instance of BaseContainer.
getScheduledExecutorService() - Method in class org.glassfish.tyrus.core.ExecutorServiceProvider
Get the ScheduledExecutorService.
getStatus() - Method in class org.glassfish.tyrus.core.TyrusUpgradeResponse
Get HTTP status.
getStringConstructor(Class) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
Get the constructor that has a single parameter of String.
getStringList(List<T>, Utils.Stringifier<T>) - Static method in class org.glassfish.tyrus.core.Utils
Get list of strings from List<T>.
getSupportedWireProtocolVersions() - Static method in enum org.glassfish.tyrus.core.Version
 
getTextPayload() - Method in class org.glassfish.tyrus.core.frame.TextFrame
Get text payload.
getTracingHeaders() - Method in class org.glassfish.tyrus.core.DebugContext
Get headers containing tracing messages.
getType() - Method in class org.glassfish.tyrus.core.coder.CoderWrapper
Get the return type of the encode / decode method.
getTypeArgumentAndClass(Type) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
 
getUserPrincipal() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
Get the authenticated user for this session or null if no user is authenticated for this session.
getUserPrincipal() - Method in class org.glassfish.tyrus.core.RequestContext
 
getUserPrincipal() - Method in class org.glassfish.tyrus.core.TyrusSession
 
getUserProperties() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
This method is not supported on RemoteSession.
getUserProperties() - Method in class org.glassfish.tyrus.core.TyrusSession
 
getValue() - Method in class org.glassfish.tyrus.core.TyrusExtension.TyrusParameter
 
getValueOfStringMethod(Class) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
Get the static valueOf(String ) method.
getWsadlApplication() - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine
Get Application representing current set of deployed endpoints.
getWsPort(URI) - Static method in class org.glassfish.tyrus.core.Utils
Get port from provided URI.
getWsPort(URI, String) - Static method in class org.glassfish.tyrus.core.Utils
Get port from provided URI.

H

Handshake - Class in org.glassfish.tyrus.core
Class responsible for performing and validating handshake.
handshake(TyrusEndpointWrapper, UpgradeRequest, UpgradeResponse, ExtendedExtension.ExtensionContext) - Method in class org.glassfish.tyrus.core.ProtocolHandler
Server side handshake processing.
HandshakeException - Exception in org.glassfish.tyrus.core
Exception, which describes the error, occurred during the handshake phase.
HandshakeException(String) - Constructor for exception org.glassfish.tyrus.core.HandshakeException
Construct a HandshakeException.
HandshakeException(int, String) - Constructor for exception org.glassfish.tyrus.core.HandshakeException
Constructor.
hasExtensions() - Method in class org.glassfish.tyrus.core.ProtocolHandler
Returns true when current connection has some negotiated extension.
hashCode() - Method in class org.glassfish.tyrus.core.TyrusExtension
 
hookUp() - Method in class org.glassfish.tyrus.core.OsgiRegistry
Will hook up this instance with the OSGi runtime.
httpSession(Object) - Method in class org.glassfish.tyrus.core.RequestContext.Builder
Set http session.

I

INCOMING_BUFFER_SIZE - Static variable in class org.glassfish.tyrus.core.TyrusWebSocketEngine
Maximum size of incoming buffer in bytes.
incomingBufferSize(Integer) - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine.TyrusWebSocketEngineBuilder
Set incoming buffer size.
init(EndpointConfig) - Method in class org.glassfish.tyrus.core.coder.CoderAdapter
This method does nothing.
InputStreamDecoder - Class in org.glassfish.tyrus.core.coder
Built in Decoder for InputStream.
InputStreamDecoder() - Constructor for class org.glassfish.tyrus.core.coder.InputStreamDecoder
 
IntegerDecoder() - Constructor for class org.glassfish.tyrus.core.coder.PrimitiveDecoders.IntegerDecoder
 
isApplicable(Class<?>) - Method in class org.glassfish.tyrus.core.ComponentProvider
Checks whether this component provider is able to provide an instance of given Class.
isApplicable(Class<?>) - Method in class org.glassfish.tyrus.core.DefaultComponentProvider
 
isCancelled() - Method in class org.glassfish.tyrus.core.TyrusFuture
 
isConnected() - Method in class org.glassfish.tyrus.core.TyrusWebSocket
Convenience method to determine if this TyrusWebSocket instance is connected.
isControlFrame() - Method in class org.glassfish.tyrus.core.frame.Frame
Get information about frame type.
isDone() - Method in class org.glassfish.tyrus.core.TyrusFuture
 
isEmpty() - Method in class org.glassfish.tyrus.core.ErrorCollector
Checks whether any exception has been logged.
isEquivalent(String, String) - Static method in class org.glassfish.tyrus.core.uri.Match
Check for equivalent paths.
isFin() - Method in class org.glassfish.tyrus.core.frame.Frame
Get FIN value.
isInputStreamHandlerPresent() - Method in class org.glassfish.tyrus.core.MessageHandlerManager
 
isMask() - Method in class org.glassfish.tyrus.core.frame.Frame
Currently not used.
isOpen() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
Get the information about session state.
isOpen() - Method in class org.glassfish.tyrus.core.TyrusSession
 
isReaderHandlerPresent() - Method in class org.glassfish.tyrus.core.MessageHandlerManager
 
isRsv1() - Method in class org.glassfish.tyrus.core.frame.Frame
GET RSV1 value.
isRsv2() - Method in class org.glassfish.tyrus.core.frame.Frame
GET RSV2 value.
isRsv3() - Method in class org.glassfish.tyrus.core.frame.Frame
GET RSV3 value.
isSecure() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
Get the information about secure transport.
isSecure() - Method in class org.glassfish.tyrus.core.RequestContext
 
isSecure() - Method in class org.glassfish.tyrus.core.TyrusSession
 
isSessionOpen(String, String) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
Get information about session state.
isUserInRole(String) - Method in interface org.glassfish.tyrus.core.RequestContext.Builder.IsUserInRoleDelegate
Returns a boolean indicating whether the authenticated user is included in the specified logical "role".
isUserInRole(String) - Method in class org.glassfish.tyrus.core.RequestContext
 
isUserInRoleDelegate(RequestContext.Builder.IsUserInRoleDelegate) - Method in class org.glassfish.tyrus.core.RequestContext.Builder
Set delegate for RequestContext.isUserInRole(String) method.
iterator() - Method in class org.glassfish.tyrus.core.ServiceFinder
Returns discovered objects incrementally.

L

lock() - Method in class org.glassfish.tyrus.core.RequestContext
Make headers and parameter map read-only.
LongDecoder() - Constructor for class org.glassfish.tyrus.core.coder.PrimitiveDecoders.LongDecoder
 

M

mask(boolean) - Method in class org.glassfish.tyrus.core.frame.Frame.Builder
Currently not used.
MASK_SIZE - Static variable in class org.glassfish.tyrus.core.ProtocolHandler
RFC 6455
maskingKey(Integer) - Method in class org.glassfish.tyrus.core.frame.Frame.Builder
Set masking key.
MaskingKeyGenerator - Interface in org.glassfish.tyrus.core
Can be implemented to generate masking keys.
Match - Class in org.glassfish.tyrus.core.uri
Defines a match on an endpoint.
MAX_SESSIONS_PER_APP - Static variable in class org.glassfish.tyrus.core.TyrusWebSocketEngine
Maximum number of open sessions per server application.
MAX_SESSIONS_PER_REMOTE_ADDR - Static variable in class org.glassfish.tyrus.core.TyrusWebSocketEngine
Maximum number of open sessions per unique remote address.
MaxSessions - Annotation Type in org.glassfish.tyrus.core
This annotation may be used to annotate server endpoints as a optional annotation to ServerEndpoint.
maxSessions(int) - Method in class org.glassfish.tyrus.core.TyrusServerEndpointConfig.Builder
Sets maximal number of open sessions.
maxSessionsPerApp(Integer) - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine.TyrusWebSocketEngineBuilder
Set maximal number of open sessions per server application.
maxSessionsPerRemoteAddr(Integer) - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine.TyrusWebSocketEngineBuilder
Set maximal number of open sessions from remote address.
MessageEventListener - Interface in org.glassfish.tyrus.core.monitoring
Listens for message-level events that are interesting for monitoring.
MessageHandlerManager - Class in org.glassfish.tyrus.core
Manages registered MessageHandlers and checks whether the new ones may be registered.
MessageHandlerManager() - Constructor for class org.glassfish.tyrus.core.MessageHandlerManager
Construct manager with no decoders.
methodInstanceToString(Object, Method) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
Create a string representation of a method and an instance whose class implements the method.
modifyHandshake(ServerEndpointConfig, HandshakeRequest, HandshakeResponse) - Method in class org.glassfish.tyrus.core.TyrusServerEndpointConfigurator
 

N

newDecoder() - Method in class org.glassfish.tyrus.core.StrictUtf8
 
newEncoder() - Method in class org.glassfish.tyrus.core.StrictUtf8
 
nextInt() - Method in interface org.glassfish.tyrus.core.MaskingKeyGenerator
Return next random int similarly to Random.nextInt().
NO_OP - Static variable in interface org.glassfish.tyrus.core.monitoring.ApplicationEventListener
An instance of @ApplicationEventListener that does not do anything.
NO_OP - Static variable in interface org.glassfish.tyrus.core.monitoring.EndpointEventListener
An instance of @EndpointEventListener that does not do anything.
NO_OP - Static variable in interface org.glassfish.tyrus.core.monitoring.MessageEventListener
An instance of @MessageEventListener that does not do anything.
NoOpByteArrayCoder - Class in org.glassfish.tyrus.core.coder
Encoder and Decoder implementation for byte array.
NoOpByteArrayCoder() - Constructor for class org.glassfish.tyrus.core.coder.NoOpByteArrayCoder
 
NoOpByteBufferCoder - Class in org.glassfish.tyrus.core.coder
Encoder and Decoder implementation for ByteBuffer.
NoOpByteBufferCoder() - Constructor for class org.glassfish.tyrus.core.coder.NoOpByteBufferCoder
 
NoOpTextCoder - Class in org.glassfish.tyrus.core.coder
 
NoOpTextCoder() - Constructor for class org.glassfish.tyrus.core.coder.NoOpTextCoder
 

O

objectToString(Object) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
Create a string representation of an object.
onApplicationDestroyed() - Method in interface org.glassfish.tyrus.core.monitoring.ApplicationEventListener
Called when the application has been destroyed.
onApplicationInitialized(String) - Method in interface org.glassfish.tyrus.core.monitoring.ApplicationEventListener
Called when the application has been initialized.
onBroadcast(String) - Method in interface org.glassfish.tyrus.core.cluster.BroadcastListener
Invoked when received request to broadcast text message.
onBroadcast(byte[]) - Method in interface org.glassfish.tyrus.core.cluster.BroadcastListener
Invoked when received request to broadcast binary data.
onClose(Session, CloseReason) - Method in class org.glassfish.tyrus.core.AnnotatedEndpoint
 
onClose() - Method in class org.glassfish.tyrus.core.cluster.SessionEventListener
Invoked on session close event.
onClose(CloseReason) - Method in class org.glassfish.tyrus.core.cluster.SessionEventListener
Invoked on session close event.
onClose(TyrusSession, CloseReason) - Method in class org.glassfish.tyrus.core.TyrusEndpointWrapper.SessionListener
Invoked after OnClose annotated method or Endpoint.onClose(javax.websocket.Session, javax.websocket.CloseReason) execution.
onClose(CloseFrame) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
This callback will be invoked when the remote endpoint sent a closing frame.
onConnect(UpgradeRequest, String, List<Extension>, String, DebugContext) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
This callback will be invoked when the opening handshake between both endpoints has been completed.
onEndpointRegistered(String, Class<?>) - Method in interface org.glassfish.tyrus.core.monitoring.ApplicationEventListener
Called when an endpoint has been registered.
onEndpointUnregistered(String) - Method in interface org.glassfish.tyrus.core.monitoring.ApplicationEventListener
Called when an endpoint has been unregistered.
onError(Session, Throwable) - Method in class org.glassfish.tyrus.core.AnnotatedEndpoint
 
onError(String, Throwable) - Method in interface org.glassfish.tyrus.core.monitoring.EndpointEventListener
Called when an error has occurred.
onExtensionNegotiation(ExtendedExtension.ExtensionContext, List<Extension.Parameter>) - Method in interface org.glassfish.tyrus.core.extension.ExtendedExtension
Parameter negotiation.
onFragment(BinaryFrame, boolean) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
This callback will be invoked when a fragmented binary message has been received.
onFragment(TextFrame, boolean) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
This callback will be invoked when a fragmented textual message has been received.
onFrameReceived(TyrusFrame.FrameType, long) - Method in interface org.glassfish.tyrus.core.monitoring.MessageEventListener
Called when a frame has been received.
onFrameSent(TyrusFrame.FrameType, long) - Method in interface org.glassfish.tyrus.core.monitoring.MessageEventListener
Called when a frame has been sent.
onHandshakeResponse(ExtendedExtension.ExtensionContext, List<Extension.Parameter>) - Method in interface org.glassfish.tyrus.core.extension.ExtendedExtension
Called only on the client side when handshake response arrives.
onMessage(BinaryFrame) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
This callback will be invoked when a binary message has been received.
onMessage(TextFrame) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
This callback will be invoked when a text message has been received.
onOpen(Session, EndpointConfig) - Method in class org.glassfish.tyrus.core.AnnotatedEndpoint
 
onOpen(TyrusSession) - Method in class org.glassfish.tyrus.core.TyrusEndpointWrapper.SessionListener
Invoked before OnOpen annotated method or Endpoint.onOpen(javax.websocket.Session, javax.websocket.EndpointConfig) is invoked.
onPing(PingFrame) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
This callback will be invoked when the remote endpoint has sent a ping frame.
onPong(PongFrame) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
This callback will be invoked when the remote endpoint has sent a pong frame.
onSendBinary(byte[]) - Method in class org.glassfish.tyrus.core.cluster.SessionEventListener
Invoked on send binary message event.
onSendBinary(byte[], boolean) - Method in class org.glassfish.tyrus.core.cluster.SessionEventListener
Invoked on send partial binary message event.
onSendPing(byte[]) - Method in class org.glassfish.tyrus.core.cluster.SessionEventListener
Invoked on send ping frame event.
onSendPong(byte[]) - Method in class org.glassfish.tyrus.core.cluster.SessionEventListener
Invoked on send pong frame event.
onSendText(String) - Method in class org.glassfish.tyrus.core.cluster.SessionEventListener
Invoked on send text message event.
onSendText(String, boolean) - Method in class org.glassfish.tyrus.core.cluster.SessionEventListener
Invoked on send partial text message event.
onSessionClosed(String) - Method in interface org.glassfish.tyrus.core.cluster.SessionListener
Invoked when session is closed.
onSessionClosed(String) - Method in interface org.glassfish.tyrus.core.monitoring.EndpointEventListener
Called when a session has been closed.
onSessionOpened(String) - Method in interface org.glassfish.tyrus.core.cluster.SessionListener
Invoked when session is opened.
onSessionOpened(String) - Method in interface org.glassfish.tyrus.core.monitoring.EndpointEventListener
Called when a session has been opened.
opcode(byte) - Method in class org.glassfish.tyrus.core.frame.Frame.Builder
Set opcode.
org.glassfish.tyrus.core - package org.glassfish.tyrus.core
Core classes.
org.glassfish.tyrus.core.cluster - package org.glassfish.tyrus.core.cluster
Cluster relates classes and interfaces.
org.glassfish.tyrus.core.coder - package org.glassfish.tyrus.core.coder
Encoder and decoder adapters and built-in implementations.
org.glassfish.tyrus.core.extension - package org.glassfish.tyrus.core.extension
WebSocket Extension support.
org.glassfish.tyrus.core.frame - package org.glassfish.tyrus.core.frame
WebSocket frame representations.
org.glassfish.tyrus.core.monitoring - package org.glassfish.tyrus.core.monitoring
Monitoring interfaces.
org.glassfish.tyrus.core.uri - package org.glassfish.tyrus.core.uri
URI matching.
OsgiRegistry - Class in org.glassfish.tyrus.core
Taken from Jersey 2.

P

PARALLEL_BROADCAST_ENABLED - Static variable in class org.glassfish.tyrus.core.TyrusWebSocketEngine
Parallel broadcast support.
parallelBroadcastEnabled(Boolean) - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine.TyrusWebSocketEngineBuilder
 
parameterMap(Map<String, String[]>) - Method in class org.glassfish.tyrus.core.RequestContext.Builder
Set parameter map.
parse(char, CharBuffer) - Method in class org.glassfish.tyrus.core.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.core.StrictUtf8.Parser
Parses a UCS-4 character from the given source buffer, handling surrogates.
parseHeaderValue(String) - Static method in class org.glassfish.tyrus.core.Utils
Parse header value - splits multiple values (quoted, unquoted) separated by comma.
parseHttpDate(String) - Static method in class org.glassfish.tyrus.core.Utils
Parse HTTP date.
Parser() - Constructor for class org.glassfish.tyrus.core.StrictUtf8.Parser
 
payloadData(byte[]) - Method in class org.glassfish.tyrus.core.frame.Frame.Builder
Set payload data.
payloadLength(long) - Method in class org.glassfish.tyrus.core.frame.Frame.Builder
Set payload length.
PingFrame - Class in org.glassfish.tyrus.core.frame
Ping frame representation.
PingFrame(Frame) - Constructor for class org.glassfish.tyrus.core.frame.PingFrame
Constructor.
PingFrame(byte[]) - Constructor for class org.glassfish.tyrus.core.frame.PingFrame
Constructor.
PongFrame - Class in org.glassfish.tyrus.core.frame
Pong frame representation.
PongFrame(Frame) - Constructor for class org.glassfish.tyrus.core.frame.PongFrame
Constructor.
PongFrame(byte[]) - Constructor for class org.glassfish.tyrus.core.frame.PongFrame
Constructor.
prepareRequest() - Method in class org.glassfish.tyrus.core.Handshake
Client side only - compose the UpgradeRequest and store it for further use.
PrimitiveDecoders<T> - Class in org.glassfish.tyrus.core.coder
Collection of decoders for all primitive types.
PrimitiveDecoders() - Constructor for class org.glassfish.tyrus.core.coder.PrimitiveDecoders
 
PrimitiveDecoders.BooleanDecoder - Class in org.glassfish.tyrus.core.coder
 
PrimitiveDecoders.ByteDecoder - Class in org.glassfish.tyrus.core.coder
 
PrimitiveDecoders.CharacterDecoder - Class in org.glassfish.tyrus.core.coder
 
PrimitiveDecoders.DoubleDecoder - Class in org.glassfish.tyrus.core.coder
 
PrimitiveDecoders.FloatDecoder - Class in org.glassfish.tyrus.core.coder
 
PrimitiveDecoders.IntegerDecoder - Class in org.glassfish.tyrus.core.coder
 
PrimitiveDecoders.LongDecoder - Class in org.glassfish.tyrus.core.coder
 
PrimitiveDecoders.ShortDecoder - Class in org.glassfish.tyrus.core.coder
 
process(Frame, TyrusWebSocket) - Method in class org.glassfish.tyrus.core.ProtocolHandler
TODO.
processIncoming(ExtendedExtension.ExtensionContext, Frame) - Method in interface org.glassfish.tyrus.core.extension.ExtendedExtension
Process incoming frame.
processOutgoing(ExtendedExtension.ExtensionContext, Frame) - Method in interface org.glassfish.tyrus.core.extension.ExtendedExtension
Process outgoing frame.
ProtocolException - Exception in org.glassfish.tyrus.core
Represents issue with parsing or producing websocket frame.
ProtocolException(String) - Constructor for exception org.glassfish.tyrus.core.ProtocolException
 
ProtocolHandler - Class in org.glassfish.tyrus.core
Tyrus protocol handler.

Q

queryString(String) - Method in class org.glassfish.tyrus.core.RequestContext.Builder
Set query string.

R

ReaderDecoder - Class in org.glassfish.tyrus.core.coder
Built in Decoder for Reader.
ReaderDecoder() - Constructor for class org.glassfish.tyrus.core.coder.ReaderDecoder
 
ReflectionHelper - Class in org.glassfish.tyrus.core
Utility methods for Java reflection.
ReflectionHelper() - Constructor for class org.glassfish.tyrus.core.ReflectionHelper
 
ReflectionHelper.ClassTypePair - Class in org.glassfish.tyrus.core
A tuple consisting of a class and type of the class.
ReflectionHelper.DeclaringClassInterfacePair - Class in org.glassfish.tyrus.core
A tuple consisting of a concrete class, declaring class that declares a generic interface type.
ReflectionHelper.TypeClassPair - Class in org.glassfish.tyrus.core
 
register(Class<?>, String) - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine
 
register(ServerEndpointConfig, String) - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine
 
registerBroadcastListener(String, BroadcastListener) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
Register broadcast listener.
registerSession(String, String, SessionEventListener) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
Register local session.
registerSessionListener(String, SessionListener) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
Register session listener.
remoteAddr(String) - Method in class org.glassfish.tyrus.core.RequestContext.Builder
Set remote address.
RemoteSession - Class in org.glassfish.tyrus.core.cluster
Remote session represents session originating from another node.
RemoteSession(String, ClusterContext, Map<RemoteSession.DistributedMapKey, Object>, TyrusEndpointWrapper, Session) - Constructor for class org.glassfish.tyrus.core.cluster.RemoteSession
Constructor.
RemoteSession.DistributedMapKey - Enum in org.glassfish.tyrus.core.cluster
 
removeMessageHandler(MessageHandler) - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
This method is not supported on RemoteSession.
removeMessageHandler(MessageHandler) - Method in class org.glassfish.tyrus.core.MessageHandlerManager
Remove MessageHandler from the manager.
removeMessageHandler(MessageHandler) - Method in class org.glassfish.tyrus.core.TyrusSession
 
removeSession(String, String) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
Remove session from this Cluster context.
removeSession(Session) - Method in class org.glassfish.tyrus.core.ComponentProviderService
Remove Session from cache.
RequestContext - Class in org.glassfish.tyrus.core
Implementation of all possible request interfaces.
RequestContext.Builder - Class in org.glassfish.tyrus.core
RequestContext.Builder.IsUserInRoleDelegate - Interface in org.glassfish.tyrus.core
Is user in role delegate.
requestURI(URI) - Method in class org.glassfish.tyrus.core.RequestContext.Builder
Set request URI.
resolveTypeVariable(Class, Class, TypeVariable) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
Given a type variable resolve the Java class of that variable.
respond(TyrusWebSocket) - Method in class org.glassfish.tyrus.core.frame.BinaryFrame
 
respond(TyrusWebSocket) - Method in class org.glassfish.tyrus.core.frame.CloseFrame
 
respond(TyrusWebSocket) - Method in class org.glassfish.tyrus.core.frame.PingFrame
 
respond(TyrusWebSocket) - Method in class org.glassfish.tyrus.core.frame.PongFrame
 
respond(TyrusWebSocket) - Method in class org.glassfish.tyrus.core.frame.TextFrame
 
respond(TyrusWebSocket) - Method in class org.glassfish.tyrus.core.frame.TyrusFrame
Execution part of frame processing.
rsv1(boolean) - Method in class org.glassfish.tyrus.core.frame.Frame.Builder
Set RSV1 flag.
rsv2(boolean) - Method in class org.glassfish.tyrus.core.frame.Frame.Builder
Set RSV2 flag.
rsv3(boolean) - Method in class org.glassfish.tyrus.core.frame.Frame.Builder
Set RSV3 flag.

S

secure(boolean) - Method in class org.glassfish.tyrus.core.RequestContext.Builder
Set secure state.
send(byte[]) - Method in class org.glassfish.tyrus.core.ProtocolHandler
Deprecated.
send(byte[], WriterInfo) - Method in class org.glassfish.tyrus.core.ProtocolHandler
 
send(byte[], SendHandler) - Method in class org.glassfish.tyrus.core.ProtocolHandler
Deprecated.
send(byte[], SendHandler, WriterInfo) - Method in class org.glassfish.tyrus.core.ProtocolHandler
 
send(String) - Method in class org.glassfish.tyrus.core.ProtocolHandler
Deprecated.
send(String, WriterInfo) - Method in class org.glassfish.tyrus.core.ProtocolHandler
 
send(String, SendHandler) - Method in class org.glassfish.tyrus.core.ProtocolHandler
Deprecated.
send(String, SendHandler, WriterInfo) - Method in class org.glassfish.tyrus.core.ProtocolHandler
 
sendBinary(String, byte[]) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
Send binary message.
sendBinary(String, byte[], boolean) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
Send partial binary message.
sendBinary(String, byte[], SendHandler) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
Send binary message with SendHandler.
sendBinary(byte[]) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
Deprecated.
sendBinary(byte[], WriterInfo) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
Send a binary frame to the remote endpoint.
sendBinary(byte[], SendHandler) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
Deprecated.
sendBinary(byte[], SendHandler, WriterInfo) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
Send a binary frame to the remote endpoint.
sendBinary(byte[], boolean) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
Deprecated.
sendBinary(byte[], boolean, WriterInfo) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
Sends a fragment of a complete message.
sendBinary(byte[], int, int, boolean) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
Deprecated.
sendBinary(byte[], int, int, boolean, WriterInfo) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
Sends a fragment of a complete message.
sendPing(String, byte[]) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
Send ping message.
sendPing(ByteBuffer) - Method in class org.glassfish.tyrus.core.TyrusRemoteEndpoint
 
sendPing(byte[]) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
Sends a ping frame with the specified payload (if any).
sendPong(String, byte[]) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
Send pong message.
sendPong(ByteBuffer) - Method in class org.glassfish.tyrus.core.TyrusRemoteEndpoint
 
sendPong(byte[]) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
Sends a ping frame with the specified payload (if any).
sendRawFrame(ByteBuffer) - Method in class org.glassfish.tyrus.core.ProtocolHandler
Raw frame is always whole (not partial).
sendRawFrame(ByteBuffer) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
Send a frame to the remote endpoint.
sendText(String, String) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
Send text message.
sendText(String, String, boolean) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
Send partial text message.
sendText(String, String, SendHandler) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
Send text message with SendHandler.
sendText(String) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
Deprecated.
sendText(String, WriterInfo) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
Send a text frame to the remote endpoint.
sendText(String, SendHandler) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
Deprecated.
sendText(String, SendHandler, WriterInfo) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
Send a text frame to the remote endpoint.
sendText(String, boolean) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
Deprecated.
sendText(String, boolean, WriterInfo) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
Sends a fragment of a complete message.
ServiceConfigurationError - Error in org.glassfish.tyrus.core
Taken from Jersey 2.
ServiceConfigurationError(String) - Constructor for error org.glassfish.tyrus.core.ServiceConfigurationError
Constructs a new instance with the specified detail string.
ServiceConfigurationError(Throwable) - Constructor for error org.glassfish.tyrus.core.ServiceConfigurationError
Constructs a new instance that wraps the specified throwable.
ServiceFinder<T> - Class in org.glassfish.tyrus.core
A simple service-provider lookup mechanism.
ServiceFinder.DefaultServiceIteratorProvider - Class in org.glassfish.tyrus.core
The default service iterator provider that looks up provider classes in META-INF/services files.
ServiceFinder.ServiceIteratorProvider - Class in org.glassfish.tyrus.core
Supports iteration of provider instances or classes.
ServiceIteratorProvider() - Constructor for class org.glassfish.tyrus.core.ServiceFinder.ServiceIteratorProvider
 
SessionEventListener - Class in org.glassfish.tyrus.core.cluster
Session event listener.
SessionEventListener(Session) - Constructor for class org.glassfish.tyrus.core.cluster.SessionEventListener
Constructor.
SessionListener - Interface in org.glassfish.tyrus.core.cluster
Session listener.
SessionListener() - Constructor for class org.glassfish.tyrus.core.TyrusEndpointWrapper.SessionListener
 
setAccessibleMethod(Method) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
Set a method to be accessible.
setBatchingAllowed(boolean) - Method in class org.glassfish.tyrus.core.TyrusRemoteEndpoint
 
setExtensionContext(ExtendedExtension.ExtensionContext) - Method in class org.glassfish.tyrus.core.ProtocolHandler
Client side.
setExtensions(List<Extension>) - Method in class org.glassfish.tyrus.core.Handshake
Client side only - set the list of supported extensions.
setExtensions(List<Extension>) - Method in class org.glassfish.tyrus.core.ProtocolHandler
Client side.
setFailure(Throwable) - Method in class org.glassfish.tyrus.core.TyrusFuture
Sets the failure result of message writing process.
setHeartbeatInterval(long) - Method in class org.glassfish.tyrus.core.TyrusSession
Set an interval in milliseconds between scheduled periodic Pong messages.
setIncomingBufferSize(int) - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine
setIteratorProvider(ServiceFinder.ServiceIteratorProvider) - Static method in class org.glassfish.tyrus.core.ServiceFinder
Register the service iterator provider to iterate on provider instances or classes.
setMaxBinaryMessageBufferSize(int) - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
This method is not supported on RemoteSession.
setMaxBinaryMessageBufferSize(int) - Method in class org.glassfish.tyrus.core.TyrusSession
 
setMaxIdleTimeout(long) - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
This method is not supported on RemoteSession.
setMaxIdleTimeout(long) - Method in class org.glassfish.tyrus.core.TyrusSession
 
setMaxTextMessageBufferSize(int) - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
This method is not supported on RemoteSession.
setMaxTextMessageBufferSize(int) - Method in class org.glassfish.tyrus.core.TyrusSession
 
setMessageEventListener(MessageEventListener) - Method in class org.glassfish.tyrus.core.ProtocolHandler
Set message event listener.
setReasonPhrase(String) - Method in class org.glassfish.tyrus.core.TyrusUpgradeResponse
Set HTTP reason phrase.
setResult(T) - Method in class org.glassfish.tyrus.core.TyrusFuture
Sets the result of the message writing process.
setSessionId(String) - Method in class org.glassfish.tyrus.core.DebugContext
Set a session ID that will be used as a common identifier for logged messages related to the same upgrade request.
setStatus(int) - Method in class org.glassfish.tyrus.core.TyrusUpgradeResponse
Set HTTP status.
setSubProtocols(List<String>) - Method in class org.glassfish.tyrus.core.Handshake
Client side only - set the list of supported subprotocols.
setWebSocket(TyrusWebSocket) - Method in class org.glassfish.tyrus.core.ProtocolHandler
Client side.
setWriter(Writer) - Method in class org.glassfish.tyrus.core.ProtocolHandler
Set Writer instance.
setWriteTimeout(long) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
Sets the timeout for the writing operation.
ShortDecoder() - Constructor for class org.glassfish.tyrus.core.coder.PrimitiveDecoders.ShortDecoder
 
shutdown() - Method in class org.glassfish.tyrus.core.BaseContainer
Release executor services managed by this instance.
shutdown(BaseContainer.ShutDownCondition) - Method in class org.glassfish.tyrus.core.BaseContainer
Release executor services managed by this instance if the condition passed in the parameter is fulfilled.
shutdown() - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
Shutdown this ClusterContext.
stream(boolean, byte[], int, int) - Method in class org.glassfish.tyrus.core.ProtocolHandler
Deprecated.
stream(boolean, byte[], int, int, WriterInfo) - Method in class org.glassfish.tyrus.core.ProtocolHandler
 
stream(boolean, String) - Method in class org.glassfish.tyrus.core.ProtocolHandler
Deprecated.
stream(boolean, String, WriterInfo) - Method in class org.glassfish.tyrus.core.ProtocolHandler
 
StrictUtf8 - Class in org.glassfish.tyrus.core
 
StrictUtf8() - Constructor for class org.glassfish.tyrus.core.StrictUtf8
 
StrictUtf8.Parser - Class in org.glassfish.tyrus.core
Surrogate parsing support.
Stringifier() - Constructor for class org.glassfish.tyrus.core.Utils.Stringifier
 
stringifyUpgradeRequest(UpgradeRequest) - Static method in class org.glassfish.tyrus.core.Utils
Converts upgrade request to a HTTP-formatted string.
stringifyUpgradeResponse(UpgradeResponse) - Static method in class org.glassfish.tyrus.core.Utils
Converts upgrade response to a HTTP-formatted string.
subprotocols(List<String>) - Method in class org.glassfish.tyrus.core.TyrusServerEndpointConfig.Builder
Sets the subprotocols to use in the configuration.

T

t - Variable in class org.glassfish.tyrus.core.ReflectionHelper.ClassTypePair
The type of the class.
t - Variable in class org.glassfish.tyrus.core.ReflectionHelper.TypeClassPair
 
TextFrame - Class in org.glassfish.tyrus.core.frame
Text frame representation.
TextFrame(Frame, ByteBuffer) - Constructor for class org.glassfish.tyrus.core.frame.TextFrame
Constructor.
TextFrame(Frame, ByteBuffer, boolean) - Constructor for class org.glassfish.tyrus.core.frame.TextFrame
Constructor.
TextFrame(String, boolean, boolean) - Constructor for class org.glassfish.tyrus.core.frame.TextFrame
Constructor.
toArray() - Method in class org.glassfish.tyrus.core.ServiceFinder
Returns discovered objects all at once.
toArray(long) - Static method in class org.glassfish.tyrus.core.Utils
Convert long to byte[].
toClassArray() - Method in class org.glassfish.tyrus.core.ServiceFinder
Returns discovered classes all at once.
toLong(byte[], int, int) - Static method in class org.glassfish.tyrus.core.Utils
Convert byte[] to long.
toString() - Method in enum org.glassfish.tyrus.core.cluster.RemoteSession.DistributedMapKey
 
toString() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
 
toString() - Method in class org.glassfish.tyrus.core.coder.CoderWrapper
 
toString() - Method in class org.glassfish.tyrus.core.frame.Frame
 
toString() - Method in class org.glassfish.tyrus.core.frame.TextFrame
 
toString() - Method in class org.glassfish.tyrus.core.TyrusEndpointWrapper
 
toString() - Method in class org.glassfish.tyrus.core.TyrusExtension
 
toString() - Method in class org.glassfish.tyrus.core.TyrusExtension.TyrusParameter
 
toString() - Method in class org.glassfish.tyrus.core.TyrusRemoteEndpoint
 
toString() - Method in class org.glassfish.tyrus.core.TyrusSession
 
toString() - Method in class org.glassfish.tyrus.core.uri.Match
 
toString(byte[]) - Static method in class org.glassfish.tyrus.core.Utils
 
toString(byte[], int, int) - Static method in class org.glassfish.tyrus.core.Utils
 
toString() - Method in enum org.glassfish.tyrus.core.Version
 
ToStringEncoder - Class in org.glassfish.tyrus.core.coder
Fall-back encoder - encoders any object to string using Object.toString() method.
ToStringEncoder() - Constructor for class org.glassfish.tyrus.core.coder.ToStringEncoder
 
TRACING_THRESHOLD - Static variable in class org.glassfish.tyrus.core.TyrusWebSocketEngine
Property used for configuring tracing threshold.
TRACING_TYPE - Static variable in class org.glassfish.tyrus.core.TyrusWebSocketEngine
Property used for configuring the type of tracing supported by the server.
tracingThreshold(DebugContext.TracingThreshold) - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine.TyrusWebSocketEngineBuilder
Set tracing threshold.
tracingType(DebugContext.TracingType) - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine.TyrusWebSocketEngineBuilder
Set type of tracing.
TypeClassPair(Type, Class) - Constructor for class org.glassfish.tyrus.core.ReflectionHelper.TypeClassPair
 
TyrusEndpointWrapper - Class in org.glassfish.tyrus.core
Wraps the registered application class.
TyrusEndpointWrapper(Class<? extends Endpoint>, EndpointConfig, ComponentProviderService, WebSocketContainer, String, ServerEndpointConfig.Configurator, TyrusEndpointWrapper.SessionListener, ClusterContext, EndpointEventListener, Boolean) - Constructor for class org.glassfish.tyrus.core.TyrusEndpointWrapper
Create TyrusEndpointWrapper for class that extends Endpoint.
TyrusEndpointWrapper(Endpoint, EndpointConfig, ComponentProviderService, WebSocketContainer, String, ServerEndpointConfig.Configurator, TyrusEndpointWrapper.SessionListener, ClusterContext, EndpointEventListener, Boolean) - Constructor for class org.glassfish.tyrus.core.TyrusEndpointWrapper
Create TyrusEndpointWrapper for Endpoint instance or AnnotatedEndpoint instance.
TyrusEndpointWrapper.SessionListener - Class in org.glassfish.tyrus.core
Session listener.
TyrusEndpointWrapper.SessionListener.OnOpenResult - Enum in org.glassfish.tyrus.core
TyrusExtension - Class in org.glassfish.tyrus.core
WebSocket Extension implementation.
TyrusExtension(String) - Constructor for class org.glassfish.tyrus.core.TyrusExtension
Create Extension with specific name.
TyrusExtension(String, List<Extension.Parameter>) - Constructor for class org.glassfish.tyrus.core.TyrusExtension
Create Extension with name and parameters.
TyrusExtension.TyrusParameter - Class in org.glassfish.tyrus.core
WebSocket Parameter implementation.
TyrusFrame - Class in org.glassfish.tyrus.core.frame
Frame representation used in Tyrus runtime.
TyrusFrame(Frame, TyrusFrame.FrameType) - Constructor for class org.glassfish.tyrus.core.frame.TyrusFrame
Constructor.
TyrusFrame.FrameType - Enum in org.glassfish.tyrus.core.frame
An Enumeration of frame types.
TyrusFuture<T> - Class in org.glassfish.tyrus.core
Simple Future implementation.
TyrusFuture() - Constructor for class org.glassfish.tyrus.core.TyrusFuture
 
TyrusParameter(String, String) - Constructor for class org.glassfish.tyrus.core.TyrusExtension.TyrusParameter
Create Parameter with name and value.
TyrusRemoteEndpoint - Class in org.glassfish.tyrus.core
Wraps the RemoteEndpoint and represents the other side of the websocket connection.
TyrusServerEndpointConfig - Interface in org.glassfish.tyrus.core
Configuration ServerEndpointConfig enhanced to offer tyrus specific attributes like maxSessions.
TyrusServerEndpointConfig.Builder - Class in org.glassfish.tyrus.core
The TyrusServerEndpointConfig.Builder is a class used for creating TyrusServerEndpointConfig.Builder objects for the purposes of deploying a server endpoint.
TyrusServerEndpointConfigurator - Class in org.glassfish.tyrus.core
Tyrus implementation of ServerEndpointConfig.Configurator.
TyrusServerEndpointConfigurator() - Constructor for class org.glassfish.tyrus.core.TyrusServerEndpointConfigurator
 
TyrusSession - Class in org.glassfish.tyrus.core
Implementation of the Session.
TyrusUpgradeResponse - Class in org.glassfish.tyrus.core
HTTP response representation.
TyrusUpgradeResponse() - Constructor for class org.glassfish.tyrus.core.TyrusUpgradeResponse
 
TyrusWebSocket - Class in org.glassfish.tyrus.core
Tyrus representation of web socket connection.
TyrusWebSocket(ProtocolHandler, TyrusEndpointWrapper) - Constructor for class org.glassfish.tyrus.core.TyrusWebSocket
Create new instance, set ProtocolHandler and register TyrusEndpointWrapper.
TyrusWebSocketEngine - Class in org.glassfish.tyrus.core
WebSocketEngine implementation, which handles server-side handshake, validation and data processing.
TyrusWebSocketEngine.TyrusWebSocketEngineBuilder - Class in org.glassfish.tyrus.core

U

unframe(ByteBuffer) - Method in class org.glassfish.tyrus.core.ProtocolHandler
TODO!
unregister(TyrusEndpointWrapper) - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine
Un-registers the specified TyrusEndpointWrapper with the WebSocketEngine.
updateHostAndOrigin(UpgradeRequest) - Static method in class org.glassfish.tyrus.core.Handshake
Client side only - Generate host and origin header and put them to the upgrade request headers.
upgrade(UpgradeRequest, UpgradeResponse) - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine
 
userPrincipal(Principal) - Method in class org.glassfish.tyrus.core.RequestContext.Builder
Set Principal.
Utf8DecodingException - Exception in org.glassfish.tyrus.core
TODO
Utf8DecodingException() - Constructor for exception org.glassfish.tyrus.core.Utf8DecodingException
TODO
Utils - Class in org.glassfish.tyrus.core
Utility methods shared among Tyrus modules.
Utils() - Constructor for class org.glassfish.tyrus.core.Utils
 
Utils.Stringifier<T> - Class in org.glassfish.tyrus.core
Define to String conversion for various types.

V

validate(UpgradeRequest) - Method in enum org.glassfish.tyrus.core.Version
 
validateServerResponse(UpgradeResponse) - Method in class org.glassfish.tyrus.core.Handshake
Client side only - validate server response.
valueOf(String) - Static method in enum org.glassfish.tyrus.core.CloseReasons
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.glassfish.tyrus.core.cluster.RemoteSession.DistributedMapKey
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.glassfish.tyrus.core.DebugContext.TracingThreshold
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.glassfish.tyrus.core.DebugContext.TracingType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.glassfish.tyrus.core.DebugContext.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.glassfish.tyrus.core.frame.TyrusFrame.FrameType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.glassfish.tyrus.core.TyrusEndpointWrapper.SessionListener.OnOpenResult
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.glassfish.tyrus.core.Version
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.glassfish.tyrus.core.CloseReasons
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.glassfish.tyrus.core.cluster.RemoteSession.DistributedMapKey
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.glassfish.tyrus.core.DebugContext.TracingThreshold
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.glassfish.tyrus.core.DebugContext.TracingType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.glassfish.tyrus.core.DebugContext.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.glassfish.tyrus.core.frame.TyrusFrame.FrameType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.glassfish.tyrus.core.TyrusEndpointWrapper.SessionListener.OnOpenResult
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.glassfish.tyrus.core.Version
Returns an array containing the constants of this enum type, in the order they are declared.
Version - Enum in org.glassfish.tyrus.core
TODO

W

WebSocketException - Exception in org.glassfish.tyrus.core
WebSocketException can be thrown during runtime (after handshake).
WebSocketException(String) - Constructor for exception org.glassfish.tyrus.core.WebSocketException
Create new WebSocketException.
willDecode(ByteBuffer) - Method in class org.glassfish.tyrus.core.coder.InputStreamDecoder
 
willDecode(ByteBuffer) - Method in class org.glassfish.tyrus.core.coder.NoOpByteArrayCoder
 
willDecode(ByteBuffer) - Method in class org.glassfish.tyrus.core.coder.NoOpByteBufferCoder
 
willDecode(String) - Method in class org.glassfish.tyrus.core.coder.NoOpTextCoder
 
willDecode(String) - Method in class org.glassfish.tyrus.core.coder.PrimitiveDecoders
 
willDecode(String) - Method in class org.glassfish.tyrus.core.coder.ReaderDecoder
 
wrap(Frame, byte, ByteBuffer) - Static method in class org.glassfish.tyrus.core.frame.TyrusFrame
TyrusFrame factory method.
WSADL_SUPPORT - Static variable in class org.glassfish.tyrus.core.TyrusWebSocketEngine
Wsadl support.
A B C D E F G H I L M N O P Q R S T U V W 
Skip navigation links

Copyright © 2012–2020 Oracle Corporation. All rights reserved.