|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
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 |
public static final long CACHING_STUB_SVUID
public static final java.lang.String DEFAULT_LOG_FILE_NAME
Method Detail |
public void setLoggingEnabled(boolean enable)
enable
- The new loggingEnabled valuepublic boolean isLoggingEnabled()
public java.lang.String getLogFileFormat()
public void setLogFileFormat(java.lang.String format) throws javax.management.InvalidAttributeValueException, DistributedManagementException
format
- The new logFileFormat valuepublic boolean getLogTimeInGMT()
public void setLogTimeInGMT(boolean useGMT)
useGMT
- The new logTimeInGMT valuepublic java.lang.String getLogFileName()
This value is relevant only if HTTP logging is enabled.
public void setLogFileName(java.lang.String fileName) throws javax.management.InvalidAttributeValueException
fileName
- The new logFileName valuepublic java.lang.String getFrontendHost()
public void setFrontendHost(java.lang.String hostName) throws javax.management.InvalidAttributeValueException
hostName
- The new frontendHost valuepublic int getFrontendHTTPPort()
public void setFrontendHTTPPort(int httpPort) throws javax.management.InvalidAttributeValueException
httpPort
- The new frontendHTTPPort valuepublic int getFrontendHTTPSPort()
public void setFrontendHTTPSPort(int httpsPort) throws javax.management.InvalidAttributeValueException
httpsPort
- The new frontendHTTPSPort valuepublic void setLogFileBufferKBytes(int kbytes) throws javax.management.InvalidAttributeValueException
LogFileFlushSecs
property to determine the
frequency with which the server checks the size of the buffer.
kbytes
- The new logFileBufferKBytes valuepublic int getLogFileBufferKBytes()
public int getMaxLogFileSizeKBytes()
LogFileName.n
.
0
causes the file to grow indefinitely.
This property is relevant only if you choose to rotate files by
size
.
public void setMaxLogFileSizeKBytes(int kbytes) throws javax.management.InvalidAttributeValueException
kbytes
- The new maxLogFileSizeKBytes valuepublic java.lang.String getLogRotationType()
size
. When the log file reaches the size that you specify
in MaxLogFileSizeKBytes
, the server renames the file as
LogFileName.n
.
date
. At each time interval that you specify in
LogRotationPeriodMin
, the server renames the file as
LogFileName.n
.
After the server renames a file, subsequent messages accumulate in a new
file with the name that you specified in LogFileName
.
public void setLogRotationType(java.lang.String type) throws javax.management.InvalidAttributeValueException
type
- The new logRotationType valuepublic int getLogRotationPeriodMins()
date
-based rotation type.
public void setLogRotationPeriodMins(int mins) throws javax.management.InvalidAttributeValueException
mins
- The new logRotationPeriodMins valuepublic int getLogFileFlushSecs()
LogFileBufferKBytes
property, the server writes the data
in the buffer to the HTTP request log file.
public void setLogFileFlushSecs(int secs) throws javax.management.InvalidAttributeValueException
secs
- The new logFileFlushSecs valuepublic java.lang.String getLogRotationTimeBegin()
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.
public void setLogRotationTimeBegin(java.lang.String when) throws javax.management.InvalidAttributeValueException
when
- The new logRotationTimeBegin valuepublic void setKeepAliveEnabled(boolean enabled)
enabled
- The new keepAliveEnabled valuepublic boolean isKeepAliveEnabled()
public int getKeepAliveSecs()
public void setKeepAliveSecs(int secs) throws javax.management.InvalidAttributeValueException
secs
- The new keepAliveSecs valuepublic int getHttpsKeepAliveSecs()
public void setHttpsKeepAliveSecs(int secs) throws javax.management.InvalidAttributeValueException
secs
- The new httpsKeepAliveSecs valuepublic void setPostTimeoutSecs(int secs) throws javax.management.InvalidAttributeValueException
secs
- The new postTimeoutSecs valuepublic int getPostTimeoutSecs()
public void setMaxPostTimeSecs(int secs) throws javax.management.InvalidAttributeValueException
secs
- The new maxPostTimeSecs valuepublic int getMaxPostTimeSecs()
public void setMaxPostSize(int bytes) throws javax.management.InvalidAttributeValueException
bytes
- The new maxPostSize valuepublic int getMaxPostSize()
public void setSendServerHeaderEnabled(boolean enabled)
enabled
- The new sendServerHeaderEnabled valuepublic boolean isSendServerHeaderEnabled()
public void setDefaultWebApp(WebAppComponentMBean context)
context
- The new defaultWebApp valuepublic WebAppComponentMBean getDefaultWebApp()
public void setCharsets(java.util.Map charsets) throws javax.management.InvalidAttributeValueException
charsets
- The new charsets valuepublic java.util.Map getCharsets()
public void setURLResource(java.util.Map resource) throws javax.management.InvalidAttributeValueException
resource
- The new uRLResource valuepublic java.util.Map getURLResource()
public void setChunkedTransferDisabled(boolean disable)
disable
- The new chunkedTransferDisabled valuepublic boolean isChunkedTransferDisabled()
public void setUseHighestCompatibleHTTPVersion(boolean disable)
disable
- The new useHighestCompatibleHTTPVersion valuepublic boolean isUseHighestCompatibleHTTPVersion()
public void setUseHeaderEncoding(boolean disable)
public boolean isUseHeaderEncoding()
public int getWriteChunkBytes()
public boolean isDebugEnabled()
public boolean isEventsEnabled()
public void setWAPEnabled(boolean enable)
enable
- The new wAPEnabled valuepublic boolean isWAPEnabled()
public void setAcceptContextPathInGetRealPath(boolean enable)
enable
- The new acceptContextPathInGetRealPath valuepublic boolean isAcceptContextPathInGetRealPath()
public void setSingleSignonDisabled(boolean disable)
disable
- The new singleSignonDisabled valuepublic boolean isSingleSignonDisabled()
public void setClusteringEnabled(boolean enable)
enable
- The new clusteringEnabled valuepublic boolean isClusteringEnabled()
public java.lang.String getDefaultServerName()
public void setDefaultServerName(java.lang.String serverName) throws javax.management.InvalidAttributeValueException
serverName
- The new defaultServerName value
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs81b |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |