public class UseGZip
extends java.lang.Object
Constant values are bitwise defined to be used with | or & bit operators.
ItsNatServletConfig.setUseGZip(int)
Modifier and Type | Field and Description |
---|---|
static int |
MARKUP
Defines that markup is sent to the client compressed.
|
static int |
NONE
Defines that neither markup nor JavaScript code is sent to the client compressed.
|
static int |
SCRIPT
Defines that markup is sent to the client compressed.
|
Constructor and Description |
---|
UseGZip() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isMarkupUsingGZip(int value)
Informs whether the argument includes the MARKUP
bit.
|
static boolean |
isNoneUsingGZip(int value)
Informs whether the argument is NONE.
|
static boolean |
isScriptUsingGZip(int value)
Informs whether the argument includes the SCRIPT
bit.
|
public static final int NONE
public static final int MARKUP
public static final int SCRIPT
public static boolean isScriptUsingGZip(int value)
value
- the value to inspect.public static boolean isMarkupUsingGZip(int value)
value
- the value to inspect.public static boolean isNoneUsingGZip(int value)
value
- the value to inspect.Copyright © 2007 Innowhere Software Services S.L. All Rights Reserved.