RequestUpgradeStrategy implementations on top of
JSR-356 based servers which include Tyrus as their WebSocket engine.
| Modifier and Type | Field and Description |
|---|---|
| private final ComponentProviderService | |
| private static final Constructor | |
| private static final boolean | |
| private static final Random | |
| private static final Method | |
| private static final String[] | |
| private static final Method |
| Access | Constructor and Description |
|---|---|
| public |
| componentProvider | back to summary |
|---|---|
| private final ComponentProviderService componentProvider | |
| constructor | back to summary |
|---|---|
| private static final Constructor<?> constructor | |
| constructorWithBooleanArgument | back to summary |
|---|---|
| private static final boolean constructorWithBooleanArgument | |
| random | back to summary |
|---|---|
| private static final Random random | |
| registerMethod | back to summary |
|---|---|
| private static final Method registerMethod | |
| SUPPORTED_VERSIONS | back to summary |
|---|---|
| private static final String[] SUPPORTED_VERSIONS | |
| unRegisterMethod | back to summary |
|---|---|
| private static final Method unRegisterMethod | |
| AbstractTyrusRequestUpgradeStrategy | back to summary |
|---|---|
| public AbstractTyrusRequestUpgradeStrategy() | |
| createEndpoint | back to summary |
|---|---|
| private Object createEndpoint(ServerEndpointRegistration registration, ComponentProviderService provider, WebSocketContainer container, TyrusWebSocketEngine engine) throws DeploymentException | |
| createRequestContext | back to summary |
|---|---|
| private RequestContext createRequestContext(HttpServletRequest request, String endpointPath, HttpHeaders headers) | |
| createTyrusEndpoint | back to summary |
|---|---|
| private Object createTyrusEndpoint(Endpoint endpoint, String endpointPath, String protocol, List<Extension> extensions, WebSocketContainer container, TyrusWebSocketEngine engine) throws DeploymentException | |
| getEndpointConstructor | back to summary |
|---|---|
| private static Constructor | |
| getInstalledExtensions | back to summary |
|---|---|
protected List
| |
| getSupportedVersions | back to summary |
|---|---|
| public String[] getSupportedVersions() Implements org. Doc from org. Return the supported WebSocket protocol versions.
| |
| handleSuccess | back to summary |
|---|---|
| protected abstract void handleSuccess(HttpServletRequest request, HttpServletResponse response, WebSocketEngine. | |
| register | back to summary |
|---|---|
| private void register(TyrusWebSocketEngine engine, Object endpoint) | |
| unregister | back to summary |
|---|---|
| private void unregister(TyrusWebSocketEngine engine, Object endpoint) | |
| unregisterTyrusEndpoint | back to summary |
|---|---|
| private void unregisterTyrusEndpoint(TyrusWebSocketEngine engine, Object tyrusEndpoint) | |
| upgradeInternal | back to summary |
|---|---|
| public void upgradeInternal(ServerHttpRequest request, ServerHttpResponse response, String selectedProtocol, List<Extension> extensions, Endpoint endpoint) throws HandshakeFailureException Implements abstract org.
| |