public class UtilJ2eeCompat extends Object
Modifier and Type | Field and Description |
---|---|
static String |
GLASSFISH_1 |
static String |
GLASSFISH_2 |
static String |
JBOSS |
static String |
JETTY |
static String |
JRUN |
static String |
OC4J |
static String |
ORION |
static String |
RESIN |
static String |
REX_IP |
static String |
TOMCAT |
protected static Boolean |
useOutputStreamValue |
static String |
WEBLOGIC |
static String |
WEBSPHERE |
static String |
WEBSPHERE_LIBERTY |
Constructor and Description |
---|
UtilJ2eeCompat() |
Modifier and Type | Method and Description |
---|---|
static String |
getServerInfo() |
protected static void |
initCompatibilityOptions(String serverInfo)
Simple check of the servlet container
|
static boolean |
useOutputStream(String serverInfo)
Determines the response wrapper for the servlet filters
|
static boolean |
useOutputStream(String serverInfo,
Boolean boolInitialize)
For testing only
|
public static final String TOMCAT
public static final String ORION
public static final String RESIN
public static final String REX_IP
public static final String OC4J
public static final String JRUN
public static final String JETTY
public static final String WEBSPHERE
public static final String WEBSPHERE_LIBERTY
public static final String WEBLOGIC
public static final String GLASSFISH_1
public static final String GLASSFISH_2
public static final String JBOSS
protected static Boolean useOutputStreamValue
public UtilJ2eeCompat()
public static boolean useOutputStream(String serverInfo)
serverInfo
- The string returned from context.getServerInfo()true
if standard response wrapper does not work
properly; false
default, otherwisepublic static boolean useOutputStream(String serverInfo, Boolean boolInitialize)
serverInfo
- The string returned from context.getServerInfo()boolInitialize
- True, if you want to force initialization againtrue
if standard response wrapper does not work
properly; false
default, otherwiseprotected static void initCompatibilityOptions(String serverInfo)
serverInfo
- The string returned from context.getServerInfo()public static String getServerInfo()
Copyright © 2001-2016 The Apache Software Foundation. All rights reserved.