public class WebLogicRequestUpgradeStrategy extends AbstractTyrusRequestUpgradeStrategy
RequestUpgradeStrategy
for Oracle's WebLogic.
Supports 12.1.3 and 12.2.1.0.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 . |
AbstractTyrusRequestUpgradeStrategy.Tyrus135EndpointHelper, AbstractTyrusRequestUpgradeStrategy.Tyrus17EndpointHelper, AbstractTyrusRequestUpgradeStrategy.TyrusEndpointHelper
Modifier and Type | Field and Description |
---|---|
private static java.lang.ClassLoader |
classLoader |
private static AbstractTyrusRequestUpgradeStrategy.TyrusEndpointHelper |
endpointHelper |
private static Connection.CloseListener |
noOpCloseListener |
private static WebLogicRequestUpgradeStrategy.WebLogicServletWriterHelper |
servletWriterHelper |
private static WebLogicRequestUpgradeStrategy.TyrusMuxableWebSocketHelper |
webSocketHelper |
private static boolean |
WLS_12_1_3 |
logger
Constructor and Description |
---|
WebLogicRequestUpgradeStrategy() |
Modifier and Type | Method and Description |
---|---|
protected AbstractTyrusRequestUpgradeStrategy.TyrusEndpointHelper |
getEndpointHelper() |
private static java.lang.Object |
getNativeRequest(ServletRequest request) |
protected void |
handleSuccess(HttpServletRequest request,
HttpServletResponse response,
UpgradeInfo upgradeInfo,
TyrusUpgradeResponse upgradeResponse) |
private static boolean |
isWebLogic1213() |
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 java.lang.ClassLoader classLoader
private static final boolean WLS_12_1_3
private static final AbstractTyrusRequestUpgradeStrategy.TyrusEndpointHelper endpointHelper
private static final WebLogicRequestUpgradeStrategy.TyrusMuxableWebSocketHelper webSocketHelper
private static final WebLogicRequestUpgradeStrategy.WebLogicServletWriterHelper servletWriterHelper
private static final Connection.CloseListener noOpCloseListener
private static boolean isWebLogic1213()
protected AbstractTyrusRequestUpgradeStrategy.TyrusEndpointHelper getEndpointHelper()
getEndpointHelper
in class AbstractTyrusRequestUpgradeStrategy
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.Object getNativeRequest(ServletRequest request)
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