|
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 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GzipCompressionMBean
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).
Field Summary |
---|
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean |
---|
DEFAULT_EMPTY_BYTE_ARRAY |
Method Summary | |
---|---|
abstract String[] |
getGzipCompressionContentType() Returns the type of content to be included in compression. |
abstract long |
getGzipCompressionMinContentLength() Returns the minimum content length to trigger GZIP compression. |
abstract boolean |
isGzipCompressionEnabled() This global property determines whether or not the container should provide GZIP compression. |
abstract void |
setGzipCompressionContentType(String[] gzipCompressionContentType) Sets the type of content to be included in compression. |
abstract void |
setGzipCompressionEnabled(boolean gzipCompressionEnabled) Enables GZIP compression for Web applications. |
abstract void |
setGzipCompressionMinContentLength(long gzipCompressionMinContentLength) Sets the minimum content length to trigger GZIP compression. |
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 |
---|
boolean 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.
GzipCompressionMBean.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
-String[] getGzipCompressionContentType()
Returns the type of content to be included in compression.
GzipCompressionMBean.setGzipCompressionContentType(String[])
void setGzipCompressionContentType(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
-
|
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 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |