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 GzipCompressionMBean

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

public 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).


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

isGzipCompressionEnabled

boolean isGzipCompressionEnabled()

This global property determines whether or not the container should provide GZIP compression.

Returns:
isGzipCompressionEnabled

setGzipCompressionEnabled

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).

Parameters:
gzipCompressionEnabled -

getGzipCompressionMinContentLength

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.

Returns:
The gzipCompressionMinContentLength value
See Also:
GzipCompressionMBean.setGzipCompressionMinContentLength(long)

setGzipCompressionMinContentLength

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).

Parameters:
gzipCompressionMinContentLength -

getGzipCompressionContentType

String[] getGzipCompressionContentType()

Returns the type of content to be included in compression.

Returns:
The gzipCompressionContentType value
See Also:
GzipCompressionMBean.setGzipCompressionContentType(String[])

setGzipCompressionContentType

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).

Parameters:
gzipCompressionContentType -

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