Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.management.configuration
Interface WebAppContainerMBean

All Superinterfaces:
ConfigurationMBean, DescriptorBean, DynamicMBean, MBeanRegistration, NotificationBroadcaster, SettableBean, WebLogicMBean

public interface WebAppContainerMBean
extends ConfigurationMBean

This MBean is used to specify domain-wide defaults for the WebApp container. In general, these properties can be overridden at the cluster level (in ClusterMBean, if the same property is present there), the server level (in ServerMBean, if the same property is present there) or for a specific Web application (in weblogic.xml).


Field Summary

 

Fields inherited from interface weblogic.management.configuration.ConfigurationMBean
DEFAULT_EMPTY_BYTE_ARRAY

 

Method Summary
abstract  GzipCompressionMBean getGzipCompression()
          Get the GzipCompressionMBean, which represents GZIP compression support configuration.
abstract  int getMaxPostSize()
          The maximum post size this server allows for reading HTTP POST data in a servlet request.
abstract  int getMaxPostTimeSecs()
          Maximum post time (in seconds) for reading HTTP POST data in a servlet request.
abstract  int getMaxRequestParameterCount()
          The maximum request parameter count this server allows for reading maximum HTTP POST parameters count in a servlet request.
abstract  String getMimeMappingFile()
          Returns the name of the file containing mime-mappings for the domain.
abstract  String getP3PHeaderValue()
           Returns the P3P header value that will be sent with all responses for HTTP requests (if non-null).
abstract  int getPostTimeoutSecs()
          The amount of time this server waits between receiving chunks of data in an HTTP POST data before it times out.
abstract  int getServletReloadCheckSecs()
           
abstract  String getXPoweredByHeaderLevel()
           WebLogic Server uses the X-Powered-By HTTP header, as recommended by the Servlet 2.4 specification, to publish its implementation information.
abstract  boolean isAllowAllRoles()
          In the security-constraints elements defined in a web application's web.xml deployment descriptor, the auth-constraint element indicates the user roles that should be permitted access to this resource collection.
abstract  boolean isAuthCookieEnabled()
          Specifies whether the AuthCookie feature is enabled or not.
abstract  boolean isChangeSessionIDOnAuthentication()
          Global property to determine if we need to generate a new SessionID after authentication.
abstract  boolean isClientCertProxyEnabled()
          Specifies whether or not to honor the WL-Proxy-Client-Cert header coming with the request.
abstract  boolean isFilterDispatchedRequestsEnabled()
           Indicates whether or not to apply filters to dispatched requests.
abstract  boolean isHttpTraceSupportEnabled()
           Returns the value of HttpTraceSupportEnabled.
abstract  Boolean isJaxRsMonitoringDefaultBehavior()
           Global property to determine the behavior of monitoring in JAX-RS applications.
abstract  boolean isJSPCompilerBackwardsCompatible()
          Global property to determine the behavior of the JSP compiler.
abstract  boolean isMaxRequestParameterCountSet()
           
abstract  boolean isOptimisticSerialization()
           When OptimisticSerialization is turned on, WebLogic Server does not serialize-deserialize context and request attributes upon getAttribute(name) when a request gets dispatched across servlet contexts.
abstract  boolean isOverloadProtectionEnabled()
          This parameter is used to enable overload protection in the web application container against low memory conditions.
abstract  boolean isReloginEnabled()
          Beginning with the 9.0 release, the FORM/BASIC authentication behavior has been modified to conform strictly to the Java EE Specification.
abstract  boolean isRetainOriginalURL()
           The retain-original-url property is used in FORM based authentication scenarios.
abstract  boolean isRtexprvalueJspParamName()
          Global property which determines the behavior of the JSP compiler when a jsp:param attribute "name" has a request time value.
abstract  boolean isServletAuthenticationFormURL()
           ServletAuthenticationFormURL is used for backward compatibility with previous releases of Weblogic Server.
abstract  boolean isServletReloadCheckSecsSet()
           
abstract  boolean isShowArchivedRealPathEnabled()
          Global property to determine the behavior of getRealPath() for archived web applications.
abstract  boolean isWAPEnabled()
          Indicates whether the session ID should include JVM information.
abstract  boolean isWeblogicPluginEnabled()
          Specifies whether or not the proprietary WL-Proxy-Client-IP header should be honored.
abstract  boolean isWorkContextPropagationEnabled()
          Indicates whether or not WorkContextPropagation is enabled.
abstract  void setAllowAllRoles(boolean allowAllRoles)
          Sets the value of the backward compatibility switch AllowAllRoles attribute.
abstract  void setAuthCookieEnabled(boolean enable)
          Sets the value of the isAuthCookieEnabled attribute.
abstract  void setChangeSessionIDOnAuthentication(boolean changeSessionIDOnAuthentication)
           Sets the value of the ChangeSessionIDOnAuthentication parameter.
abstract  void setClientCertProxyEnabled(boolean ccp)
          A value of true causes proxy-server plug-ins to pass identity certificates from clients to all web applications that are deployed on all server instances in the domain.
abstract  void setFilterDispatchedRequestsEnabled(boolean enabled)
          Sets the value of the backward-compatibility parameter "FilterDispatchedRequestsEnabled".
abstract  void setHttpTraceSupportEnabled(boolean tse)
           Attackers may abuse HTTP TRACE functionality to gain access to information in HTTP headers, such as cookies and authentication data.
abstract  void setJaxRsMonitoringDefaultBehavior(Boolean value)
           Global property to determine the behavior of monitoring in JAX-RS applications.
abstract  void setJSPCompilerBackwardsCompatible(boolean compat)
           Sets the value of the JSPCompilerBackwardsCompatible parameter.
abstract  void setMaxPostSize(int bytes)
          Sets the value of the maxPostSize attribute.
abstract  void setMaxPostTimeSecs(int secs)
          Maximum post time (in seconds) for reading HTTP POST data in a servlet request.
abstract  void setMaxRequestParameterCount(int limit)
          Sets the value of the maxRequestParameterCount attribute.
abstract  void setMimeMappingFile(String mimeMapping)
          Sets the MimeMapping file name for the domain.
abstract  void setOptimisticSerialization(boolean b)
          Sets the OptimisticSerialization value.
abstract  void setOverloadProtectionEnabled(boolean enabled)
           Sets the value of the OverloadProtectionEnabled parameter.
abstract  void setP3PHeaderValue(String p3pHeader)
          If set to a non-null value, a "P3P" header will always be sent with all responses for HTTP requests.
abstract  void setPostTimeoutSecs(int secs)
          Sets the value of the postTimeoutSecs attribute.
abstract  void setReloginEnabled(boolean enabled)
          Enables re-login for FORM/BASIC authentication in web applications.
abstract  void setRetainOriginalURL(boolean b)
          Sets the RetainOriginalURL value.
abstract  void setRtexprvalueJspParamName(boolean rtexprvalue)
           Sets the value of RtexprvalueJspParamName.
abstract  void setServletAuthenticationFormURL(boolean b)
          Sets the ServletAuthenticationFormURL value.
abstract  void setServletReloadCheckSecs(int servletReloadCheckSecs)
           
abstract  void setShowArchivedRealPathEnabled(boolean showArchivedRealPathEnabled)
           Sets the value of the ShowArchivedRealPathEnabled parameter.
abstract  void setWAPEnabled(boolean enable)
          Sets the value of the IsWAPEnabled attribute.
abstract  void setWeblogicPluginEnabled(boolean wpe)
          WebLogic Server HttpRequest.getRemoteAddr() is used to rely on X-Forwarded-For for its returned value.
abstract  void setWorkContextPropagationEnabled(boolean workContextPropagationEnabled)
          Sets the value of WorkContextPropagationEnabled.
abstract  void setXPoweredByHeaderLevel(String xPoweredByHeaderLevel)
           Sets the level for XPoweredBy header information.

 

Methods inherited from interface weblogic.management.configuration.ConfigurationMBean
freezeCurrentValue, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet

 

Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent

 

Methods inherited from interface javax.management.DynamicMBean
getAttribute, getAttributes, invoke, setAttribute, setAttributes

 

Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preDeregister, preRegister

 

Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener

 

Methods inherited from interface weblogic.descriptor.DescriptorBean
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener

 

Method Detail

isReloginEnabled

boolean isReloginEnabled()

Beginning with the 9.0 release, the FORM/BASIC authentication behavior has been modified to conform strictly to the Java EE Specification. If a user has logged-in but does not have privileges to access a resource, the 403 (FORBIDDEN) page will be returned. Turn this flag on to enable the old behavior, which was to return the user to the login form.

Returns:
The ReloginEnabled value
See Also:
WebAppContainerMBean.setReloginEnabled(boolean)

setReloginEnabled

void setReloginEnabled(boolean enabled)

Enables re-login for FORM/BASIC authentication in web applications. Corresponding weblogic.xml element: container-descriptor -> relogin-enabled takes precedence over this value (if set).

Parameters:
enabled - ReloginEnabled value
See Also:
WebAppContainerMBean.isReloginEnabled()

isAllowAllRoles

boolean isAllowAllRoles()

In the security-constraints elements defined in a web application's web.xml deployment descriptor, the auth-constraint element indicates the user roles that should be permitted access to this resource collection. Here role-name="O_" is a compact syntax for indicating all roles in the Web application. In previous releases, role-name="O_" was treated as all users/roles defined in the realm.

This parameter is a backward-compatibility switch to restore old behavior. Default behavior is one required by the specification, meaning all roles defined in the web application.

If set, the value defined in weblogic.xml (container-descriptor -> allow-all-roles) takes precedence (if set) over this value.

Returns:
The allowAllRoles value
See Also:
WebAppContainerMBean.setAllowAllRoles(boolean)

setAllowAllRoles

void setAllowAllRoles(boolean allowAllRoles)
                      throws InvalidAttributeValueException

Sets the value of the backward compatibility switch AllowAllRoles attribute.

Parameters:
allowAllRoles -
Throws:
InvalidAttributeValueException
InvalidAttributeValueException
See Also:
WebAppContainerMBean.isAllowAllRoles()

isFilterDispatchedRequestsEnabled

boolean isFilterDispatchedRequestsEnabled()

Indicates whether or not to apply filters to dispatched requests. This is a backward compatibility flag. Until version 8.1, WebLogic Server applied ServletFilters (if configured for the web application) on request dispatches (and includes/forwards). Servlet 2.4 has introduced the "Dispatcher" element to make this behavior explicit. The default value is Dispatcher=REQUEST. In order to be compliant with the Java EE specification, the default value for FilterDispatchedRequestsEnabled is false beginning with WebLogic Server 9.0. Note that if you are using old descriptors (meaning web.xml does not have version=2.4), then WebLogic Server automatically uses FilterDispatchedRequestsEnabled = true for the web applications, unless filter-dispatched-requests-enabled is explicitly set to false in weblogic.xml. This means that old applications will work fine without any modification. Additionally, during migration of old domains to the 9.0 domain, the migration plug-in automatically sets this flag to true.

See Also:
WebAppContainerMBean.setFilterDispatchedRequestsEnabled(boolean)

setFilterDispatchedRequestsEnabled

void setFilterDispatchedRequestsEnabled(boolean enabled)
                                        throws InvalidAttributeValueException

Sets the value of the backward-compatibility parameter "FilterDispatchedRequestsEnabled".

Parameters:
enabled -
Throws:
InvalidAttributeValueException
See Also:
WebAppContainerMBean.isFilterDispatchedRequestsEnabled()

isOverloadProtectionEnabled

boolean isOverloadProtectionEnabled()

This parameter is used to enable overload protection in the web application container against low memory conditions. When a low memory situation occurs, new session creation attempts will result in weblogic.servlet.SessionCreationException. The application code needs to catch this exception and take proper action. Alternatively appropriate error-pages can be configured in web.xml against weblogic.servlet.SessionCreationException. This check is performed only on memory and replicated sessions.

Returns:
OverloadProtectionEnabled value
See Also:
SessionCreationException, WebAppContainerMBean.setOverloadProtectionEnabled(boolean)

setOverloadProtectionEnabled

void setOverloadProtectionEnabled(boolean enabled)

Sets the value of the OverloadProtectionEnabled parameter.

Parameters:
enabled -
See Also:
WebAppContainerMBean.isOverloadProtectionEnabled()

getXPoweredByHeaderLevel

String getXPoweredByHeaderLevel()

WebLogic Server uses the X-Powered-By HTTP header, as recommended by the Servlet 2.4 specification, to publish its implementation information.

Following are the options:

Returns:
the xPoweredByHeaderLevel value
See Also:
WebAppContainerMBean.setXPoweredByHeaderLevel(String)

setXPoweredByHeaderLevel

void setXPoweredByHeaderLevel(String xPoweredByHeaderLevel)

Sets the level for XPoweredBy header information.

Parameters:
xPoweredByHeaderLevel -
See Also:
WebAppContainerMBean.getXPoweredByHeaderLevel()

getMimeMappingFile

String getMimeMappingFile()

Returns the name of the file containing mime-mappings for the domain.

The Format of the file should be: extension=mime-type

For Example:

htm=text/html

gif=image/gif

jpg=image/jpeg

If this file does not exist, WebLogic Server uses an implicit mime-mapping set of mappings defined in weblogic.utils.http.HttpConstants (DEFAULT_MIME_MAPPINGS). To remove a mapping defined in implicit map, set it to blank.

Returns:
mimeMappingFile
See Also:
WebAppContainerMBean.setMimeMappingFile(String)

setMimeMappingFile

void setMimeMappingFile(String mimeMapping)

Sets the MimeMapping file name for the domain.

Parameters:
mimeMapping -
See Also:
WebAppContainerMBean.getMimeMappingFile()

isOptimisticSerialization

boolean isOptimisticSerialization()

When OptimisticSerialization is turned on, WebLogic Server does not serialize-deserialize context and request attributes upon getAttribute(name) when a request gets dispatched across servlet contexts. This means you will need to make sure that the attributes common to web applications are scoped to a common parent classloader (they are application-scoped) or placed in the system classpath if the two web applications do not belong to the same application. When OptimisticSerialization is turned off (which is the default), WebLogic Server does serialize-deserialize context and request attributes upon getAttribute(name) to avoid the possibility of ClassCastExceptions. The value of OptimisticSerialization can also be overridden for specific web applications by setting the optimistic-serialization value in weblogic.xml.

Returns:
optimisticSerialization value
See Also:
WebAppContainerMBean.isOptimisticSerialization()

setOptimisticSerialization

void setOptimisticSerialization(boolean b)

Sets the OptimisticSerialization value.

Parameters:
b -
See Also:
WebAppContainerMBean.isOptimisticSerialization()

isRetainOriginalURL

boolean isRetainOriginalURL()

The retain-original-url property is used in FORM based authentication scenarios. When this property is set to true, after a successful authentication, WebLogic Server will redirect back to the web resource (page/servlet) retaining the protocol (http/https) used to access the protected resource in the original request. If set to false (which is the default value), WebLogic Server will redirect back to the protected resource using the current protocol. The retain-original-url value can also be specified at per web application level in weblogic.xml. The value in weblogic.xml, if specified, overrides the domain level value.

Returns:
retainOriginalURL value
See Also:
WebAppContainerMBean.isRetainOriginalURL()

setRetainOriginalURL

void setRetainOriginalURL(boolean b)

Sets the RetainOriginalURL value.

Parameters:
b -
See Also:
WebAppContainerMBean.isRetainOriginalURL()

isServletAuthenticationFormURL

boolean isServletAuthenticationFormURL()

ServletAuthenticationFormURL is used for backward compatibility with previous releases of Weblogic Server. If ServletAuthenticationFormURL is set to true (default), then ServletAuthentication.getTargetURLForFormAuthentication() and HttpSession.getAttribute(AuthFilter.TARGET_URL) will return the URL of the protected target resource. If set to false, the above APIs will return the URI of the protected target resource. By default, the value is set to true.(new method added in 9.0.0.1)

Returns:
servletAuthenticationFormURL value
See Also:
ServletAuthentication.getTargetURLForFormAuthentication(javax.servlet.http.HttpSession), ServletAuthentication.getTargetURIForFormAuthentication(javax.servlet.http.HttpSession), WebAppContainerMBean.isServletAuthenticationFormURL()

setServletAuthenticationFormURL

void setServletAuthenticationFormURL(boolean b)

Sets the ServletAuthenticationFormURL value.

Parameters:
b -
See Also:
WebAppContainerMBean.isServletAuthenticationFormURL()

isRtexprvalueJspParamName

boolean isRtexprvalueJspParamName()

Global property which determines the behavior of the JSP compiler when a jsp:param attribute "name" has a request time value. Without this property set to "true", the JSP compiler throws an error for a JSP using a request time value for the "name" attribute as mandated by the JSP 2.0 specification. This property exists for backward compatibility.

Returns:
rtexprvalueJspParamName
See Also:
WebAppContainerMBean.setRtexprvalueJspParamName(boolean)

setRtexprvalueJspParamName

void setRtexprvalueJspParamName(boolean rtexprvalue)

Sets the value of RtexprvalueJspParamName.

Parameters:
rtexprvalue -
See Also:
WebAppContainerMBean.isRtexprvalueJspParamName()

setClientCertProxyEnabled

void setClientCertProxyEnabled(boolean ccp)

A value of true causes proxy-server plug-ins to pass identity certificates from clients to all web applications that are deployed on all server instances in the domain.

A proxy-server plug-in encodes each identify certification in the WL-Proxy-Client-Cert header and passes the header to WebLogic Server instances. Each WebLogic Server instance takes the certificate information from the header, trusting that it came from a secure source, and uses that information to authenticate the user.

If you specify true, use a ConnectionFilter to ensure that each WebLogic Server instance accepts connections only from the machine on which the proxy-server plug-in is running. Specifying true without using a connection filter creates a potential security vulnerability because the WL-Proxy-Client-Cert header can be spoofed.

A value of true overrides the value that each server instance within the domain specifies with ServerTemplateMBean.setClientCertProxyEnabled(boolean).

By default (or if you specify false):

Parameters:
ccp - The new clientCertProxyEnabled value
See Also:
WebAppContainerMBean.isClientCertProxyEnabled(), ClusterMBean.setClientCertProxyEnabled(boolean), ServerTemplateMBean.setClientCertProxyEnabled(boolean)

isClientCertProxyEnabled

boolean isClientCertProxyEnabled()

Specifies whether or not to honor the WL-Proxy-Client-Cert header coming with the request.

Returns:
The clientCertProxyEnabled value
See Also:
WebAppContainerMBean.setClientCertProxyEnabled(boolean), ClusterMBean.isClientCertProxyEnabled(), ServerTemplateMBean.isClientCertProxyEnabled()

setHttpTraceSupportEnabled

void setHttpTraceSupportEnabled(boolean tse)

Attackers may abuse HTTP TRACE functionality to gain access to information in HTTP headers, such as cookies and authentication data. In the presence of other cross-domain vulnerabilities in web browsers, sensitive header information could be read from any domains that support the HTTP TRACE method.

This attribute disables HTTP TRACE support. It is present also in ClusterMBean and ServerMBean, so the attribute HttpTraceSupportEnabled can be set differently for different clusters or servers.

See Also:
WebAppContainerMBean.isHttpTraceSupportEnabled(), ClusterMBean.setHttpTraceSupportEnabled(boolean), ServerTemplateMBean.setHttpTraceSupportEnabled(boolean)

isHttpTraceSupportEnabled

boolean isHttpTraceSupportEnabled()

Returns the value of HttpTraceSupportEnabled.

Returns:
HttpTraceSupportEnabled value
See Also:
WebAppContainerMBean.setHttpTraceSupportEnabled(boolean), ClusterMBean.setHttpTraceSupportEnabled(boolean), ServerTemplateMBean.setHttpTraceSupportEnabled(boolean)

setWeblogicPluginEnabled

void setWeblogicPluginEnabled(boolean wpe)

WebLogic Server HttpRequest.getRemoteAddr() is used to rely on X-Forwarded-For for its returned value. This is a security hole as the HTTP header can be easily mocked, and we end up returning a wrong value. This is improved by introducing a proprietary header WL-Proxy-Client-IP from our plug-ins, and this header will only be used if WebLogic Server is configured to use our plug-ins. This is duplicated both in the ClusterMBean and the ServerMBean so the attribute WebLogicPluginEnabled can be used cluster-wide. The ClusterMBean overrides the ServerMBean.

Parameters:
wpe - The new weblogicPluginEnabled value
See Also:
WebAppContainerMBean.isWeblogicPluginEnabled(), ClusterMBean.setWeblogicPluginEnabled(boolean), ServerTemplateMBean.setWeblogicPluginEnabled(boolean)

isWeblogicPluginEnabled

boolean isWeblogicPluginEnabled()

Specifies whether or not the proprietary WL-Proxy-Client-IP header should be honored. (This is needed only when WebLogic Server plug-ins are configured.)

Returns:
The weblogicPluginEnabled value
See Also:
WebAppContainerMBean.setWeblogicPluginEnabled(boolean), ClusterMBean.isWeblogicPluginEnabled(), ServerTemplateMBean.isWeblogicPluginEnabled()

setAuthCookieEnabled

void setAuthCookieEnabled(boolean enable)

Sets the value of the isAuthCookieEnabled attribute.

Enables use of additional secure AuthCookie to make access to HTTPS pages with security constraints more secure. The session cookie will not be sufficient to gain access. This property can be overridden at WebServerMBean level.

See Also:
WebAppContainerMBean.isAuthCookieEnabled(), WebServerMBean.setAuthCookieEnabled(boolean)

isAuthCookieEnabled

boolean isAuthCookieEnabled()

Specifies whether the AuthCookie feature is enabled or not.

Returns:
AuthCookieEnabled value
See Also:
WebAppContainerMBean.setAuthCookieEnabled(boolean), WebServerMBean.isAuthCookieEnabled()

setWAPEnabled

void setWAPEnabled(boolean enable)

Sets the value of the IsWAPEnabled attribute. This property can be overridden at the WebServerMBean level.

Parameters:
enable - The new WAPEnabled value
See Also:
WebAppContainerMBean.isWAPEnabled(), WebServerMBean.setWAPEnabled(boolean)

isWAPEnabled

boolean isWAPEnabled()

Indicates whether the session ID should include JVM information. (Checking this box may be necessary when using URL rewriting with WAP devices that limit the size of the URL to 128 characters, and may also affect the use of replicated sessions in a cluster.) When this box is selected, the default size of the URL will be set at 52 characters, and it will not contain any special characters.

Returns:
The WAPEnabled value
See Also:
WebAppContainerMBean.setWAPEnabled(boolean), WebServerMBean.isWAPEnabled()

setPostTimeoutSecs

void setPostTimeoutSecs(int secs)
                        throws InvalidAttributeValueException

Sets the value of the postTimeoutSecs attribute.

Timeout (in seconds) for reading HTTP POST data in a servlet request. This parameter can be overridden at the WebServerMBean level.

Parameters:
secs - The new postTimeoutSecs value
Throws:
InvalidAttributeValueException
See Also:
WebAppContainerMBean.getMaxPostTimeSecs(), WebServerMBean.setPostTimeoutSecs(int)

getPostTimeoutSecs

int getPostTimeoutSecs()

The amount of time this server waits between receiving chunks of data in an HTTP POST data before it times out. (This is used to prevent denial-of-service attacks that attempt to overload the server with POST data.)

Returns:
The postTimeoutSecs value
See Also:
WebAppContainerMBean.setPostTimeoutSecs(int), WebServerMBean.getPostTimeoutSecs()

setMaxPostTimeSecs

void setMaxPostTimeSecs(int secs)
                        throws InvalidAttributeValueException

Maximum post time (in seconds) for reading HTTP POST data in a servlet request. MaxPostTime < 0 means unlimited. This parameter can be overridden at the WebServerMBean level.

Parameters:
secs - The new maxPostTimeSecs value
Throws:
InvalidAttributeValueException
See Also:
WebAppContainerMBean.getMaxPostTimeSecs(), WebServerMBean.setMaxPostTimeSecs(int)

getMaxPostTimeSecs

int getMaxPostTimeSecs()

Maximum post time (in seconds) for reading HTTP POST data in a servlet request. MaxPostTime < 0 means unlimited

Returns:
The maxPostTimeSecs value
See Also:
WebAppContainerMBean.setMaxPostTimeSecs(int), WebServerMBean.getMaxPostTimeSecs()

setMaxPostSize

void setMaxPostSize(int bytes)
                    throws InvalidAttributeValueException

Sets the value of the maxPostSize attribute. This parameter can be overridden at the WebServerMBean level.

Maximum post size (in bytes) for reading HTTP POST data in a servlet request. MaxPostSize < 0 means unlimited.

Parameters:
bytes - The new maxPostSize value
Throws:
InvalidAttributeValueException
See Also:
WebAppContainerMBean.getMaxPostSize(), WebServerMBean.setMaxPostSize(int)

getMaxPostSize

int getMaxPostSize()

The maximum post size this server allows for reading HTTP POST data in a servlet request. A value less than 0 indicates an unlimited size.

Returns:
The maxPostSize value
See Also:
WebAppContainerMBean.setMaxPostSize(int), WebServerMBean.getMaxPostSize()

setMaxRequestParameterCount

void setMaxRequestParameterCount(int limit)
                                 throws InvalidAttributeValueException

Sets the value of the maxRequestParameterCount attribute.

The maximum request parameter count for reading HTTP POST parameters in a servlet request. maxRequestParameterCount

Parameters:
limit - The new maxRequestParameterCount value
Throws:
InvalidAttributeValueException
See Also:
WebServerMBean.setMaxRequestParameterCount(int)

getMaxRequestParameterCount

int getMaxRequestParameterCount()

The maximum request parameter count this server allows for reading maximum HTTP POST parameters count in a servlet request.

Gets the maxRequestParameterCount attribute of the WebServerMBean object.

Returns:
The maxRequestParameterCount value
See Also:
WebServerMBean.getMaxRequestParameterCount()

isMaxRequestParameterCountSet

boolean isMaxRequestParameterCountSet()
Returns:
true if maxRequestParameterCount is set

isWorkContextPropagationEnabled

boolean isWorkContextPropagationEnabled()

Indicates whether or not WorkContextPropagation is enabled. By default, it is turned on. There is a little overhead involved in propagating WorkContexts. Therefore, if you don't want WorkContext propagation, turn this value off in production environments.

Returns:
whether WorkContextPropagation is turned on or not
See Also:
WebAppContainerMBean.setWorkContextPropagationEnabled(boolean)

setWorkContextPropagationEnabled

void setWorkContextPropagationEnabled(boolean workContextPropagationEnabled)

Sets the value of WorkContextPropagationEnabled.

Parameters:
workContextPropagationEnabled -
See Also:
WebAppContainerMBean.isWorkContextPropagationEnabled()

setP3PHeaderValue

void setP3PHeaderValue(String p3pHeader)

If set to a non-null value, a "P3P" header will always be sent with all responses for HTTP requests. The value of the P3P header will be the value assigned to this configuration parameter. The value should be equal to the location of the policy reference file for the website.

Alternatively, a servlet filter can be used to set the P3P header.

Parameters:
p3pHeader - P3P Header value (location of the policy reference file)
See Also:
WebAppContainerMBean.getP3PHeaderValue()

getP3PHeaderValue

String getP3PHeaderValue()

Returns the P3P header value that will be sent with all responses for HTTP requests (if non-null). The value of this header points to the location of the policy reference file for the website.

Alternatively, a servlet filter can be used to set the P3P header.

Returns:
P3P header value (location of the policy reference file)
See Also:
WebAppContainerMBean.setP3PHeaderValue(String)

isJSPCompilerBackwardsCompatible

boolean isJSPCompilerBackwardsCompatible()

Global property to determine the behavior of the JSP compiler. When this property set to "true", the JSP compiler throws a translation error for JSPs that do not conform to the JSP2.0 specification. This property exists for backward compatibility.

Returns:
isJspCompilerBackwardsCompatible

setJSPCompilerBackwardsCompatible

void setJSPCompilerBackwardsCompatible(boolean compat)

Sets the value of the JSPCompilerBackwardsCompatible parameter.

Parameters:
compat -

getServletReloadCheckSecs

int getServletReloadCheckSecs()

setServletReloadCheckSecs

void setServletReloadCheckSecs(int servletReloadCheckSecs)

isServletReloadCheckSecsSet

boolean isServletReloadCheckSecsSet()

isShowArchivedRealPathEnabled

boolean isShowArchivedRealPathEnabled()

Global property to determine the behavior of getRealPath() for archived web applications. When this property is set to "true", getRealPath() will return the canonical path of the resource files.

Returns:
isShowArchivedRealPathEnabled

setShowArchivedRealPathEnabled

void setShowArchivedRealPathEnabled(boolean showArchivedRealPathEnabled)

Sets the value of the ShowArchivedRealPathEnabled parameter.

Parameters:
showArchivedRealPathEnabled -

isChangeSessionIDOnAuthentication

boolean isChangeSessionIDOnAuthentication()

Global property to determine if we need to generate a new SessionID after authentication. When this property is set to "false", the previous sessionID will be retained even after authorization.

Returns:
isChangeSessionIDOnAuthentication();

setChangeSessionIDOnAuthentication

void setChangeSessionIDOnAuthentication(boolean changeSessionIDOnAuthentication)

Sets the value of the ChangeSessionIDOnAuthentication parameter.

Parameters:
changeSessionIDOnAuthentication -

getGzipCompression

GzipCompressionMBean getGzipCompression()

Get the GzipCompressionMBean, which represents GZIP compression support configuration.

Returns:
the GzipCompressionMBean.

setJaxRsMonitoringDefaultBehavior

void setJaxRsMonitoringDefaultBehavior(Boolean value)

Global property to determine the behavior of monitoring in JAX-RS applications. When the property is set to true (or not set) the monitoring is turned on (if not overridden by properties set directly in application). If the property is set to false the monitoring for all JAX-RS applications is disabled (each JAX-RS application can override this by setting similar properties via WebAppComponentMBean.isJaxRsMonitoringDefaultBehavior()).

Default value is true.

Parameters:
value - value to determine the default behavior.

isJaxRsMonitoringDefaultBehavior

Boolean isJaxRsMonitoringDefaultBehavior()

Global property to determine the behavior of monitoring in JAX-RS applications. When the property is set to true (or not set) the monitoring is turned on (if not overridden by properties set directly in application). If the property is set to false the monitoring for all JAX-RS applications is disabled.

Returns:
true (or null) if the JAX-RS monitoring behaves in the default way, false if monitoring is disabled.

Skip navigation links

Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09