BEA Systems, Inc.

WebLogic Server 8.1 API Reference

weblogic.management.configuration
Interface WebServerMBean

All Known Subinterfaces:
VirtualHostMBean

public interface WebServerMBean
extends DeploymentMBean

This bean represents the configuration of virtual web server within a weblogic server. Note that a server may define multiple web servers to support virtual hosts.

This MBean represents a virtual host.

Author:
Copyright © 2002 BEA Systems, Inc. All Rights Reserved.

Field Summary
static long CACHING_STUB_SVUID
          Description of the Field
static java.lang.String DEFAULT_LOG_FILE_NAME
          Description of the Field
 
Fields inherited from class weblogic.management.configuration.DeploymentMBean
CACHING_STUB_SVUID, DEFAULT_ORDER, MAX_ORDER, MIN_ORDER
 
Fields inherited from class weblogic.management.configuration.ConfigurationMBean
CACHING_STUB_SVUID
 
Method Summary
 java.util.Map getCharsets()
          Gets the charsets attribute of the WebServerMBean object
 java.lang.String getDefaultServerName()
          Sets the HTTP defaultServerName
 WebAppComponentMBean getDefaultWebApp()
          Gets the defaultWebApp attribute of the WebServerMBean object
 java.lang.String getFrontendHost()
          Sets the HTTP frontendHost
 int getFrontendHTTPPort()
          Sets the frontendHTTPPort
 int getFrontendHTTPSPort()
          Sets the frontendHTTPSPort
 int getHttpsKeepAliveSecs()
          Number of seconds to maintain HTTPS keep-alive before timing out the request.
 int getKeepAliveSecs()
          Number of seconds to maintain HTTP keep-alive before timing out the request.
 int getLogFileBufferKBytes()
          Gets the logFileBufferKBytes attribute of the WebServerMBean object
 int getLogFileFlushSecs()
          The interval (in seconds) at which the server checks the size of the buffer that stores HTTP requests.
 java.lang.String getLogFileFormat()
          Specifies the format of the HTTP log file.
 java.lang.String getLogFileName()
          Sets the HTTP request log file The name of the file that stores HTTP requests.
 int getLogRotationPeriodMins()
          The interval (in minutes) at which the server saves old HTTP requests to another log file.
 java.lang.String getLogRotationTimeBegin()
          Determines the start time for a time-based rotation sequence.
 java.lang.String getLogRotationType()
          Criteria for moving old HTTP requests to a separate log file: size.
 boolean getLogTimeInGMT()
          Defines if extended-log-format date and time are in GMT timezone (according to spec they should be)
 int getMaxLogFileSizeKBytes()
          The maximum size (in kilobytes) of the HTTP log file.
 int getMaxPostSize()
          Gets the maxPostSize attribute of the WebServerMBean object
 int getMaxPostTimeSecs()
          Gets the maxPostTimeSecs attribute of the WebServerMBean object
 int getPostTimeoutSecs()
          Gets the postTimeoutSecs attribute of the WebServerMBean object
 java.util.Map getURLResource()
          Gets the uRLResource attribute of the WebServerMBean object
 int getWriteChunkBytes()
          Gets the writeChunkBytes attribute of the WebServerMBean object
 boolean isAcceptContextPathInGetRealPath()
          Gets the acceptContextPathInGetRealPath attribute of the WebServerMBean object
 boolean isChunkedTransferDisabled()
          Gets the chunkedTransferDisabled attribute of the WebServerMBean object
 boolean isClusteringEnabled()
          Gets the clusteringEnabled attribute of the WebServerMBean object
 boolean isDebugEnabled()
          Gets the debugEnabled attribute of the WebServerMBean object
 boolean isEventsEnabled()
          Gets the eventsEnabled attribute of the WebServerMBean object
 boolean isKeepAliveEnabled()
          Gets the keepAliveEnabled attribute of the WebServerMBean object
 boolean isLoggingEnabled()
          Gets the loggingEnabled attribute of the WebServerMBean object
 boolean isSendServerHeaderEnabled()
          Gets the sendServerHeaderEnabled attribute of the WebServerMBean object
 boolean isSingleSignonDisabled()
          Gets the singleSignonDisabled attribute of the WebServerMBean object
 boolean isUseHeaderEncoding()
           
 boolean isUseHighestCompatibleHTTPVersion()
          Gets the useHighestCompatibleHTTPVersion attribute of the WebServerMBean object
 boolean isWAPEnabled()
          Gets the wAPEnabled attribute of the WebServerMBean object
 void setAcceptContextPathInGetRealPath(boolean enable)
          Beginning with this release inclusion of the contextPath in the virtualPath to the context.getRealPath() will not be allowed as it breaks the case when the subdirectories have the same name as contextPath.
 void setCharsets(java.util.Map charsets)
          User defined mapping between internet and Java charset names
 void setChunkedTransferDisabled(boolean disable)
          Disables the use of Chunk Transfer-Encoding in HTTP/1.1
 void setClusteringEnabled(boolean enable)
          Enables HTTP clustering
 void setDefaultServerName(java.lang.String serverName)
          Sets the defaultServerName attribute of the WebServerMBean object
 void setDefaultWebApp(WebAppComponentMBean context)
          Servlet 2.3 Web Application that maps to the "default" servlet context (where ContextPath = "/").
 void setFrontendHost(java.lang.String hostName)
          Sets the frontendHost attribute of the WebServerMBean object
 void setFrontendHTTPPort(int httpPort)
          Sets the frontendHTTPPort attribute of the WebServerMBean object
 void setFrontendHTTPSPort(int httpsPort)
          Sets the frontendHTTPSPort attribute of the WebServerMBean object
 void setHttpsKeepAliveSecs(int secs)
          Sets the httpsKeepAliveSecs attribute of the WebServerMBean object
 void setKeepAliveEnabled(boolean enabled)
          Returns whether or not HTTP keep-alive is enabled
 void setKeepAliveSecs(int secs)
          Sets the keepAliveSecs attribute of the WebServerMBean object
 void setLogFileBufferKBytes(int kbytes)
          The maximum size (in kilobytes) of the buffer that stores HTTP requests.
 void setLogFileFlushSecs(int secs)
          Sets the logFileFlushSecs attribute of the WebServerMBean object
 void setLogFileFormat(java.lang.String format)
          Sets the format of the HTTP log file.
 void setLogFileName(java.lang.String fileName)
          Sets the logFileName attribute of the WebServerMBean object
 void setLoggingEnabled(boolean enable)
          Enables logging of HTTP requests.
 void setLogRotationPeriodMins(int mins)
          Sets the logRotationPeriodMins attribute of the WebServerMBean object
 void setLogRotationTimeBegin(java.lang.String when)
          Sets the logRotationTimeBegin attribute of the WebServerMBean object
 void setLogRotationType(java.lang.String type)
          Sets the logRotationType attribute of the WebServerMBean object
 void setLogTimeInGMT(boolean useGMT)
          Sets the logTimeInGMT attribute of the WebServerMBean object
 void setMaxLogFileSizeKBytes(int kbytes)
          Sets the maxLogFileSizeKBytes attribute of the WebServerMBean object
 void setMaxPostSize(int bytes)
          Max Post Size (in bytes) for reading HTTP POST data in a servlet request.
 void setMaxPostTimeSecs(int secs)
          Max Post Time (in seconds) for reading HTTP POST data in a servlet request.
 void setPostTimeoutSecs(int secs)
          Timeout (in seconds) for reading HTTP POST data in a servlet request.
 void setSendServerHeaderEnabled(boolean enabled)
          Returns whether or not to send a response Server header
 void setSingleSignonDisabled(boolean disable)
          Disables SingleSignon in webapps
 void setURLResource(java.util.Map resource)
          Adds a URL connection factory resource into JNDI
 void setUseHeaderEncoding(boolean disable)
          Enables use of Content-Type encoding for specific headers that are known to contain non-ISO-8859_1 characters.
 void setUseHighestCompatibleHTTPVersion(boolean disable)
          Enables use of the highest compatible HTTP protocol version-string in the response.
 void setWAPEnabled(boolean enable)
          Enables WAP
 
Methods inherited from interface weblogic.management.configuration.DeploymentMBean
addTarget, getDeploymentOrder, getTargets, removeTarget, setDeploymentOrder, setTargets
 
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean
freezeCurrentValue, getNotes, restoreDefaultValue, setComments, setDefaultedMBean, setNotes, setPersistenceEnabled
 
Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent
 
Methods inherited from interface javax.management.DynamicMBean
getAttribute, getAttributes, invoke, setAttribute, setAttributes
 
Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preRegister
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 

Field Detail

CACHING_STUB_SVUID

public static final long CACHING_STUB_SVUID
Description of the Field

DEFAULT_LOG_FILE_NAME

public static final java.lang.String DEFAULT_LOG_FILE_NAME
Description of the Field
Method Detail

setLoggingEnabled

public void setLoggingEnabled(boolean enable)
Enables logging of HTTP requests.

A configurable MBean attribute
Default Value: true
Old Property: weblogic.httpd.enableLogFile
Parameters:
enable - The new loggingEnabled value

isLoggingEnabled

public boolean isLoggingEnabled()
Gets the loggingEnabled attribute of the WebServerMBean object

Returns:
The loggingEnabled value

getLogFileFormat

public java.lang.String getLogFileFormat()
Specifies the format of the HTTP log file. Both formats are defined by the W3C. With the extended log format, you use server directives in the log file to customize the information that the server records.

A configurable MBean attribute
Default Value: "common"
Old Property: weblogic.httpd.logFileFormat
Legal Values: "common","extended"
Returns:
The logFileFormat value

setLogFileFormat

public void setLogFileFormat(java.lang.String format)
                      throws javax.management.InvalidAttributeValueException,
                             DistributedManagementException
Sets the format of the HTTP log file. Both formats are defined by the W3C. With the extended log format, you use server directives in the log file to customize the information that the server records.

A dynamic MBean attribute
Parameters:
format - The new logFileFormat value
Throws:
javax.management.InvalidAttributeValueException - Description of the Exception
DistributedManagementException - Description of the Exception

getLogTimeInGMT

public boolean getLogTimeInGMT()
Defines if extended-log-format date and time are in GMT timezone (according to spec they should be)

A configurable MBean attribute
Default Value: false
Returns:
The logTimeInGMT value

setLogTimeInGMT

public void setLogTimeInGMT(boolean useGMT)
Sets the logTimeInGMT attribute of the WebServerMBean object

Parameters:
useGMT - The new logTimeInGMT value

getLogFileName

public java.lang.String getLogFileName()
Sets the HTTP request log file The name of the file that stores HTTP requests. If the pathname is not absolute, the path is assumed to be relative to the root directory of the machine on which the server is running.

This value is relevant only if HTTP logging is enabled.

A configurable MBean attribute
Default Value: DEFAULT_LOG_FILE_NAME
Old Property: weblogic.httpd.logFileName
Returns:
The logFileName value

setLogFileName

public void setLogFileName(java.lang.String fileName)
                    throws javax.management.InvalidAttributeValueException
Sets the logFileName attribute of the WebServerMBean object

Parameters:
fileName - The new logFileName value
Throws:
javax.management.InvalidAttributeValueException - Description of the Exception

getFrontendHost

public java.lang.String getFrontendHost()
Sets the HTTP frontendHost

A configurable MBean attribute
Default Value: null
Old Property: weblogic.httpd.defaultServerName
Returns:
The frontendHost value

setFrontendHost

public void setFrontendHost(java.lang.String hostName)
                     throws javax.management.InvalidAttributeValueException
Sets the frontendHost attribute of the WebServerMBean object

Parameters:
hostName - The new frontendHost value
Throws:
javax.management.InvalidAttributeValueException - Description of the Exception

getFrontendHTTPPort

public int getFrontendHTTPPort()
Sets the frontendHTTPPort

A configurable MBean attribute
Default Value: 0
Returns:
The frontendHTTPPort value

setFrontendHTTPPort

public void setFrontendHTTPPort(int httpPort)
                         throws javax.management.InvalidAttributeValueException
Sets the frontendHTTPPort attribute of the WebServerMBean object

Parameters:
httpPort - The new frontendHTTPPort value
Throws:
javax.management.InvalidAttributeValueException - Description of the Exception

getFrontendHTTPSPort

public int getFrontendHTTPSPort()
Sets the frontendHTTPSPort

A configurable MBean attribute
Default Value: 0
Returns:
The frontendHTTPSPort value

setFrontendHTTPSPort

public void setFrontendHTTPSPort(int httpsPort)
                          throws javax.management.InvalidAttributeValueException
Sets the frontendHTTPSPort attribute of the WebServerMBean object

Parameters:
httpsPort - The new frontendHTTPSPort value
Throws:
javax.management.InvalidAttributeValueException - Description of the Exception

setLogFileBufferKBytes

public void setLogFileBufferKBytes(int kbytes)
                            throws javax.management.InvalidAttributeValueException
The maximum size (in kilobytes) of the buffer that stores HTTP requests. When the buffer reaches this size, the server writes the data to the HTTP log file. Use the LogFileFlushSecs property to determine the frequency with which the server checks the size of the buffer.

A configurable MBean attribute
Default Value: 8
Old Property: weblogic.httpd.logFileBufferKBytes
Legal Minimum Value: 0
Legal Maximum Value: 1024
Parameters:
kbytes - The new logFileBufferKBytes value
Throws:
javax.management.InvalidAttributeValueException - Description of the Exception

getLogFileBufferKBytes

public int getLogFileBufferKBytes()
Gets the logFileBufferKBytes attribute of the WebServerMBean object

Returns:
The logFileBufferKBytes value

getMaxLogFileSizeKBytes

public int getMaxLogFileSizeKBytes()
The maximum size (in kilobytes) of the HTTP log file. After the log file reaches this size, the server renames it as LogFileName.n. 0 causes the file to grow indefinitely.

This property is relevant only if you choose to rotate files by size.

A configurable MBean attribute
Default Value: 0
Old Property: weblogic.httpd.maxLogFileSizeKBytes
Legal Minimum Value: 0
Returns:
The maxLogFileSizeKBytes value

setMaxLogFileSizeKBytes

public void setMaxLogFileSizeKBytes(int kbytes)
                             throws javax.management.InvalidAttributeValueException
Sets the maxLogFileSizeKBytes attribute of the WebServerMBean object

Parameters:
kbytes - The new maxLogFileSizeKBytes value
Throws:
javax.management.InvalidAttributeValueException - Description of the Exception

getLogRotationType

public java.lang.String getLogRotationType()
Criteria for moving old HTTP requests to a separate log file:

After the server renames a file, subsequent messages accumulate in a new file with the name that you specified in LogFileName.

A configurable MBean attribute
Default Value: "size"
Old Property: weblogic.httpd.logRotationType
Legal Values: "size","date"
Returns:
The logRotationType value

setLogRotationType

public void setLogRotationType(java.lang.String type)
                        throws javax.management.InvalidAttributeValueException
Sets the logRotationType attribute of the WebServerMBean object

Parameters:
type - The new logRotationType value
Throws:
javax.management.InvalidAttributeValueException - Description of the Exception

getLogRotationPeriodMins

public int getLogRotationPeriodMins()
The interval (in minutes) at which the server saves old HTTP requests to another log file. This value is relevant only if you use the date-based rotation type.

A configurable MBean attribute
Default Value: 1440
Old Property: weblogic.httpd.logRotationPeriodMins
Legal Minimum Value: 1
Legal Maximum Value: 2147483647
Returns:
The logRotationPeriodMins value

setLogRotationPeriodMins

public void setLogRotationPeriodMins(int mins)
                              throws javax.management.InvalidAttributeValueException
Sets the logRotationPeriodMins attribute of the WebServerMBean object

Parameters:
mins - The new logRotationPeriodMins value
Throws:
javax.management.InvalidAttributeValueException - Description of the Exception

getLogFileFlushSecs

public int getLogFileFlushSecs()
The interval (in seconds) at which the server checks the size of the buffer that stores HTTP requests. When the buffer exceeds the size that is specified in the LogFileBufferKBytes property, the server writes the data in the buffer to the HTTP request log file.

A configurable MBean attribute
Default Value: 60
Old Property: weblogic.httpd.logFileFlushSecs
Legal Minimum Value: 1
Legal Maximum Value: 360
Returns:
The logFileFlushSecs value

setLogFileFlushSecs

public void setLogFileFlushSecs(int secs)
                         throws javax.management.InvalidAttributeValueException
Sets the logFileFlushSecs attribute of the WebServerMBean object

Parameters:
secs - The new logFileFlushSecs value
Throws:
javax.management.InvalidAttributeValueException - Description of the Exception

getLogRotationTimeBegin

public java.lang.String getLogRotationTimeBegin()
Determines the start time for a time-based rotation sequence. At the time that this value specifies, the server renames the current log file as LogFileName.n. Thereafter, the server renames the log file at an interval that you specify in LogRotationPeriodMins. You can create a recurring start time such as "every Monday at 09:00" or a non-recurring start time such as "9 January, 2002, 09:00."

Use the following java.text.SimpleDateFormat format to specify a date and time: MM-dd-yyyy-k:mm:ss. For information about this format, refer to the J2EE Javadoc.

If the date that you specify has already past, then the day in week (E), hour in day (H), minute in hour (m) and second in minute (s) are used with the current date to recalculate a start time.

A configurable MBean attribute
Old Property: weblogic.httpd.logRotationPeriodMins
Returns:
The logRotationTimeBegin value

setLogRotationTimeBegin

public void setLogRotationTimeBegin(java.lang.String when)
                             throws javax.management.InvalidAttributeValueException
Sets the logRotationTimeBegin attribute of the WebServerMBean object

Parameters:
when - The new logRotationTimeBegin value
Throws:
javax.management.InvalidAttributeValueException - Description of the Exception

setKeepAliveEnabled

public void setKeepAliveEnabled(boolean enabled)
Returns whether or not HTTP keep-alive is enabled

Default Value: true
Old Property: weblogic.httpd.keepAlive.enable
Parameters:
enabled - The new keepAliveEnabled value

isKeepAliveEnabled

public boolean isKeepAliveEnabled()
Gets the keepAliveEnabled attribute of the WebServerMBean object

Returns:
The keepAliveEnabled value

getKeepAliveSecs

public int getKeepAliveSecs()
Number of seconds to maintain HTTP keep-alive before timing out the request.

Default Value: 30
Old Property: weblogic.httpd.http.keepAliveSecs
Legal Minimum Value: 5
Legal Maximum Value: 120
Returns:
The keepAliveSecs value

setKeepAliveSecs

public void setKeepAliveSecs(int secs)
                      throws javax.management.InvalidAttributeValueException
Sets the keepAliveSecs attribute of the WebServerMBean object

Parameters:
secs - The new keepAliveSecs value
Throws:
javax.management.InvalidAttributeValueException - Description of the Exception

getHttpsKeepAliveSecs

public int getHttpsKeepAliveSecs()
Number of seconds to maintain HTTPS keep-alive before timing out the request.

Default Value: 60
Old Property: weblogic.httpd.https.keepAliveSecs
Legal Minimum Value: 30
Legal Maximum Value: 360
Returns:
The httpsKeepAliveSecs value

setHttpsKeepAliveSecs

public void setHttpsKeepAliveSecs(int secs)
                           throws javax.management.InvalidAttributeValueException
Sets the httpsKeepAliveSecs attribute of the WebServerMBean object

Parameters:
secs - The new httpsKeepAliveSecs value
Throws:
javax.management.InvalidAttributeValueException - Description of the Exception

setPostTimeoutSecs

public void setPostTimeoutSecs(int secs)
                        throws javax.management.InvalidAttributeValueException
Timeout (in seconds) for reading HTTP POST data in a servlet request.

Default Value: 30
Old Property: weblogic.httpd.postTimeoutSecs
Legal Minimum Value: 0
Legal Maximum Value: 120
Parameters:
secs - The new postTimeoutSecs value
Throws:
javax.management.InvalidAttributeValueException - Description of the Exception

getPostTimeoutSecs

public int getPostTimeoutSecs()
Gets the postTimeoutSecs attribute of the WebServerMBean object

Returns:
The postTimeoutSecs value

setMaxPostTimeSecs

public void setMaxPostTimeSecs(int secs)
                        throws javax.management.InvalidAttributeValueException
Max Post Time (in seconds) for reading HTTP POST data in a servlet request. MaxPostTime < 0 means unlimited

Default Value: -1
Parameters:
secs - The new maxPostTimeSecs value
Throws:
javax.management.InvalidAttributeValueException - Description of the Exception

getMaxPostTimeSecs

public int getMaxPostTimeSecs()
Gets the maxPostTimeSecs attribute of the WebServerMBean object

Returns:
The maxPostTimeSecs value

setMaxPostSize

public void setMaxPostSize(int bytes)
                    throws javax.management.InvalidAttributeValueException
Max Post Size (in bytes) for reading HTTP POST data in a servlet request. MaxPostSize < 0 means unlimited

Default Value: -1
Parameters:
bytes - The new maxPostSize value
Throws:
javax.management.InvalidAttributeValueException - Description of the Exception

getMaxPostSize

public int getMaxPostSize()
Gets the maxPostSize attribute of the WebServerMBean object

Returns:
The maxPostSize value

setSendServerHeaderEnabled

public void setSendServerHeaderEnabled(boolean enabled)
Returns whether or not to send a response Server header

Default Value: true
Parameters:
enabled - The new sendServerHeaderEnabled value

isSendServerHeaderEnabled

public boolean isSendServerHeaderEnabled()
Gets the sendServerHeaderEnabled attribute of the WebServerMBean object

Returns:
The sendServerHeaderEnabled value

setDefaultWebApp

public void setDefaultWebApp(WebAppComponentMBean context)
Servlet 2.3 Web Application that maps to the "default" servlet context (where ContextPath = "/"). This param is being deprecated starting from 7.1 release. Set context-root="/" instead in weblogic.xml or application.xml.

Default Value: null
Old Property: weblogic.httpd.defaultWebApp
Parameters:
context - The new defaultWebApp value

getDefaultWebApp

public WebAppComponentMBean getDefaultWebApp()
Gets the defaultWebApp attribute of the WebServerMBean object

Returns:
The defaultWebApp value

setCharsets

public void setCharsets(java.util.Map charsets)
                 throws javax.management.InvalidAttributeValueException
User defined mapping between internet and Java charset names

Default Value: null
Old Property: weblogic.httpd.charsets
Parameters:
charsets - The new charsets value
Throws:
javax.management.InvalidAttributeValueException - Description of the Exception

getCharsets

public java.util.Map getCharsets()
Gets the charsets attribute of the WebServerMBean object

Returns:
The charsets value

setURLResource

public void setURLResource(java.util.Map resource)
                    throws javax.management.InvalidAttributeValueException
Adds a URL connection factory resource into JNDI

Default Value: null
Old Property: weblogic.httpd.URLResource
Parameters:
resource - The new uRLResource value
Throws:
javax.management.InvalidAttributeValueException - Description of the Exception

getURLResource

public java.util.Map getURLResource()
Gets the uRLResource attribute of the WebServerMBean object

Returns:
The uRLResource value

setChunkedTransferDisabled

public void setChunkedTransferDisabled(boolean disable)
Disables the use of Chunk Transfer-Encoding in HTTP/1.1

A configurable MBean attribute
Default Value: false
Parameters:
disable - The new chunkedTransferDisabled value

isChunkedTransferDisabled

public boolean isChunkedTransferDisabled()
Gets the chunkedTransferDisabled attribute of the WebServerMBean object

Returns:
The chunkedTransferDisabled value

setUseHighestCompatibleHTTPVersion

public void setUseHighestCompatibleHTTPVersion(boolean disable)
Enables use of the highest compatible HTTP protocol version-string in the response. E.g. HTTP spec suggests that HTTP/1.1 version-string should be used in response to a request using HTTP/1.0. This does not necessarily affect the response format.

A configurable MBean attribute
Default Value: true
Parameters:
disable - The new useHighestCompatibleHTTPVersion value

isUseHighestCompatibleHTTPVersion

public boolean isUseHighestCompatibleHTTPVersion()
Gets the useHighestCompatibleHTTPVersion attribute of the WebServerMBean object

Returns:
The useHighestCompatibleHTTPVersion value

setUseHeaderEncoding

public void setUseHeaderEncoding(boolean disable)
Enables use of Content-Type encoding for specific headers that are known to contain non-ISO-8859_1 characters.

A configurable MBean attribute
Default Value: false

isUseHeaderEncoding

public boolean isUseHeaderEncoding()


getWriteChunkBytes

public int getWriteChunkBytes()
Gets the writeChunkBytes attribute of the WebServerMBean object

Returns:
The writeChunkBytes value

isDebugEnabled

public boolean isDebugEnabled()
Gets the debugEnabled attribute of the WebServerMBean object

Returns:
The debugEnabled value

isEventsEnabled

public boolean isEventsEnabled()
Gets the eventsEnabled attribute of the WebServerMBean object

Returns:
The eventsEnabled value

setWAPEnabled

public void setWAPEnabled(boolean enable)
Enables WAP

Default Value: false
Parameters:
enable - The new wAPEnabled value

isWAPEnabled

public boolean isWAPEnabled()
Gets the wAPEnabled attribute of the WebServerMBean object

Returns:
The wAPEnabled value

setAcceptContextPathInGetRealPath

public void setAcceptContextPathInGetRealPath(boolean enable)
Beginning with this release inclusion of the contextPath in the virtualPath to the context.getRealPath() will not be allowed as it breaks the case when the subdirectories have the same name as contextPath. In order to support applications which might have been developed according to the old behaviour we are providing a compatibility switch. This switchwill be deprecated in future releases.

Default Value: false
Parameters:
enable - The new acceptContextPathInGetRealPath value

isAcceptContextPathInGetRealPath

public boolean isAcceptContextPathInGetRealPath()
Gets the acceptContextPathInGetRealPath attribute of the WebServerMBean object

Returns:
The acceptContextPathInGetRealPath value

setSingleSignonDisabled

public void setSingleSignonDisabled(boolean disable)
Disables SingleSignon in webapps

Default Value: false
Parameters:
disable - The new singleSignonDisabled value

isSingleSignonDisabled

public boolean isSingleSignonDisabled()
Gets the singleSignonDisabled attribute of the WebServerMBean object

Returns:
The singleSignonDisabled value

setClusteringEnabled

public void setClusteringEnabled(boolean enable)
Enables HTTP clustering

Default Value: false
Old Property: weblogic.httpd.clustering.enable
Parameters:
enable - The new clusteringEnabled value

isClusteringEnabled

public boolean isClusteringEnabled()
Gets the clusteringEnabled attribute of the WebServerMBean object

Returns:
The clusteringEnabled value

getDefaultServerName

public java.lang.String getDefaultServerName()
Sets the HTTP defaultServerName

A configurable MBean attribute
Default Value: null
Old Property: weblogic.httpd.defaultServerName
Returns:
The defaultServerName value

setDefaultServerName

public void setDefaultServerName(java.lang.String serverName)
                          throws javax.management.InvalidAttributeValueException
Sets the defaultServerName attribute of the WebServerMBean object

Parameters:
serverName - The new defaultServerName value
Throws:
javax.management.InvalidAttributeValueException - Description of the Exception

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs81b