Top Description Fields Constructors Methods
org.springframework.web.socket.server.standard

public Class GlassFishRequestUpgradeStrategy

extends AbstractTyrusRequestUpgradeStrategy
Class Inheritance
Imports
java.io.IOException, java.lang.reflect.Constructor, jakarta.servlet.ServletException, jakarta.servlet.http.HttpServletRequest, .HttpServletResponse, org.glassfish.tyrus.core.TyrusUpgradeResponse, .Utils, org.glassfish.tyrus.servlet.TyrusHttpUpgradeHandler, org.glassfish.tyrus.spi.WebSocketEngine.UpgradeInfo, .Writer, org.springframework.util.ReflectionUtils, org.springframework.web.socket.server.HandshakeFailureException

A WebSocket RequestUpgradeStrategy for Oracle's GlassFish 4.1 and higher.
Authors
Rossen Stoyanchev, Juergen Hoeller, Michael Irwin
Since
4.0

Field Summary

Modifier and TypeField and Description
private static final Constructor<?>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected void
private Writer
Inherited from org.springframework.web.socket.server.standard.AbstractTyrusRequestUpgradeStrategy:
getInstalledExtensionsgetSupportedVersionsupgradeInternal

Field Detail

constructorback to summary
private static final Constructor<?> constructor

Hides org.springframework.web.socket.server.standard.AbstractTyrusRequestUpgradeStrategy.constructor.

Constructor Detail

GlassFishRequestUpgradeStrategyback to summary
public GlassFishRequestUpgradeStrategy()

Method Detail

handleSuccessback to summary
protected void handleSuccess(HttpServletRequest request, HttpServletResponse response, WebSocketEngine.UpgradeInfo upgradeInfo, TyrusUpgradeResponse upgradeResponse) throws IOException, ServletException

Implements abstract org.springframework.web.socket.server.standard.AbstractTyrusRequestUpgradeStrategy.handleSuccess.

Annotations
@Override
newServletWriterback to summary
private Writer newServletWriter(TyrusHttpUpgradeHandler handler)