public class WebLogicRequestUpgradeStrategy extends AbstractTyrusRequestUpgradeStrategy
RequestUpgradeStrategy
for Oracle's WebLogic.
Supports 12.1.3 as well as 12.2.1, as of Spring Framework 4.2.3.Modifier and Type | Class and Description |
---|---|
private static class |
WebLogicRequestUpgradeStrategy.SubjectHelper |
private static class |
WebLogicRequestUpgradeStrategy.TyrusMuxableWebSocketHelper
Helps to create and invoke
weblogic.servlet.internal.MuxableSocketHTTP . |
private static class |
WebLogicRequestUpgradeStrategy.WebLogicServletWriterHelper
Helps to create and invoke
weblogic.websocket.tyrus.TyrusServletWriter . |
Modifier and Type | Field and Description |
---|---|
private static Connection.CloseListener |
noOpCloseListener |
private static WebLogicRequestUpgradeStrategy.WebLogicServletWriterHelper |
servletWriterHelper |
private static WebLogicRequestUpgradeStrategy.TyrusMuxableWebSocketHelper |
webSocketHelper |
logger
Constructor and Description |
---|
WebLogicRequestUpgradeStrategy() |
Modifier and Type | Method and Description |
---|---|
private static java.lang.Object |
getNativeRequest(ServletRequest request) |
protected void |
handleSuccess(HttpServletRequest request,
HttpServletResponse response,
UpgradeInfo upgradeInfo,
TyrusUpgradeResponse upgradeResponse) |
private static java.lang.reflect.Method |
method(java.lang.String className,
java.lang.String method,
java.lang.Class<?>... paramTypes) |
private static java.lang.Class<?> |
type(java.lang.String className) |
getInstalledExtensions, getSupportedVersions, upgradeInternal
getContainer, getHttpServletRequest, getHttpServletResponse, getSupportedExtensions, upgrade
private static final WebLogicRequestUpgradeStrategy.TyrusMuxableWebSocketHelper webSocketHelper
private static final WebLogicRequestUpgradeStrategy.WebLogicServletWriterHelper servletWriterHelper
private static final Connection.CloseListener noOpCloseListener
protected void handleSuccess(HttpServletRequest request, HttpServletResponse response, UpgradeInfo upgradeInfo, TyrusUpgradeResponse upgradeResponse) throws java.io.IOException, ServletException
handleSuccess
in class AbstractTyrusRequestUpgradeStrategy
java.io.IOException
ServletException
private static java.lang.Class<?> type(java.lang.String className) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
private static java.lang.reflect.Method method(java.lang.String className, java.lang.String method, java.lang.Class<?>... paramTypes) throws java.lang.ClassNotFoundException, java.lang.NoSuchMethodException
java.lang.ClassNotFoundException
java.lang.NoSuchMethodException
private static java.lang.Object getNativeRequest(ServletRequest request)