org.apache.wiki.util
Class UtilJ2eeCompat
java.lang.Object
org.apache.wiki.util.UtilJ2eeCompat
public class UtilJ2eeCompat
- extends Object
Misc J2EE Compatibility Utility Functions
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TOMCAT
public static final String TOMCAT
- See Also:
- Constant Field Values
ORION
public static final String ORION
- See Also:
- Constant Field Values
RESIN
public static final String RESIN
- See Also:
- Constant Field Values
REX_IP
public static final String REX_IP
- See Also:
- Constant Field Values
OC4J
public static final String OC4J
- See Also:
- Constant Field Values
JRUN
public static final String JRUN
- See Also:
- Constant Field Values
JETTY
public static final String JETTY
- See Also:
- Constant Field Values
WEBSPHERE
public static final String WEBSPHERE
- See Also:
- Constant Field Values
WEBLOGIC
public static final String WEBLOGIC
- See Also:
- Constant Field Values
GLASSFISH
public static final String GLASSFISH
- See Also:
- Constant Field Values
JBOSS
public static final String JBOSS
- See Also:
- Constant Field Values
useOutputStreamValue
protected static Boolean useOutputStreamValue
UtilJ2eeCompat
public UtilJ2eeCompat()
useOutputStream
public static boolean useOutputStream(String serverInfo)
- Determines the response wrapper for the servlet filters
- Parameters:
serverInfo
- The string returned from context.getServerInfo()
- Returns:
true
if standard response wrapper does not work
properly; false
default, otherwise
useOutputStream
public static boolean useOutputStream(String serverInfo,
Boolean boolInitialize)
- For testing only
- Parameters:
serverInfo
- The string returned from context.getServerInfo()boolInitialize
- True, if you want to force initialization again
- Returns:
true
if standard response wrapper does not work
properly; false
default, otherwise
initCompatibilityOptions
protected static void initCompatibilityOptions(String serverInfo)
- Simple check of the servlet container
- Parameters:
serverInfo
- The string returned from context.getServerInfo()
getServerInfo
public static String getServerInfo()
- Returns:
- the Container type that has been detected
Copyright © {inceptionYear}-2014 The Apache Software Foundation. All rights reserved.