ConfigurationMBean, DescriptorBean, javax.management.DynamicMBean, javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, SettableBean, WebLogicMBeanpublic interface GzipCompressionMBean extends ConfigurationMBean
This MBean is used to specify domain-wide default values for GZIP compression support. In general, these properties can be overridden for a specific Web application (in the weblogic.xml file).
DEFAULT_EMPTY_BYTE_ARRAY| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String[] |
getGzipCompressionContentType() |
Returns the type of content to be included in compression.
|
long |
getGzipCompressionMinContentLength() |
Returns the minimum content length to trigger GZIP compression.
|
boolean |
isGzipCompressionEnabled() |
This global property determines whether or not the container should provide
GZIP compression.
|
void |
setGzipCompressionContentType(java.lang.String[] gzipCompressionContentType) |
Sets the type of content to be included in compression.
|
void |
setGzipCompressionEnabled(boolean gzipCompressionEnabled) |
Enables GZIP compression for Web applications.
|
void |
setGzipCompressionMinContentLength(long gzipCompressionMinContentLength) |
Sets the minimum content length to trigger GZIP compression.
|
freezeCurrentValue, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSetaddPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListenergetAttribute, getAttributes, invoke, setAttribute, setAttributespostDeregister, postRegister, preDeregister, preRegisteraddNotificationListener, getNotificationInfo, removeNotificationListenergetMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParentboolean isGzipCompressionEnabled()
This global property determines whether or not the container should provide GZIP compression.
void setGzipCompressionEnabled(boolean gzipCompressionEnabled)
Enables GZIP compression for Web applications. The corresponding weblogic.xml element (container-descriptor -> gzip-compression -> enabled) takes precedence over this value (if set).
gzipCompressionEnabled - long getGzipCompressionMinContentLength()
Returns the minimum content length to trigger GZIP compression. This allows you to bypass small-sized resources where compression does not yield a great return and uses unnecessary CPU.
setGzipCompressionMinContentLength(long)void setGzipCompressionMinContentLength(long gzipCompressionMinContentLength)
Sets the minimum content length to trigger GZIP compression. The corresponding weblogic.xml element (container-descriptor -> gzip-compression -> min-content-length) takes precedence over this value (if set).
gzipCompressionMinContentLength - java.lang.String[] getGzipCompressionContentType()
Returns the type of content to be included in compression.
setGzipCompressionContentType(String[])void setGzipCompressionContentType(java.lang.String[] gzipCompressionContentType)
Sets the type of content to be included in compression. The corresponding weblogic.xml element (container-descriptor -> gzip-compression -> content-type) takes precedence over this value (if set).
gzipCompressionContentType -