public static enum FilterEngine.ContentType extends java.lang.Enum<FilterEngine.ContentType>
| Enum Constant and Description |
|---|
DOCUMENT |
ELEMHIDE |
FONT |
GENERICBLOCK |
GENERICHIDE |
IMAGE |
MEDIA |
OBJECT |
OBJECT_SUBREQUEST |
OTHER |
PING |
SCRIPT |
STYLESHEET |
SUBDOCUMENT |
WEBRTC |
WEBSOCKET |
XMLHTTPREQUEST |
| Modifier and Type | Method and Description |
|---|---|
static java.util.Set<FilterEngine.ContentType> |
maskOf(FilterEngine.ContentType... contentTypes) |
static FilterEngine.ContentType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FilterEngine.ContentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FilterEngine.ContentType OTHER
public static final FilterEngine.ContentType SCRIPT
public static final FilterEngine.ContentType IMAGE
public static final FilterEngine.ContentType STYLESHEET
public static final FilterEngine.ContentType OBJECT
public static final FilterEngine.ContentType SUBDOCUMENT
public static final FilterEngine.ContentType DOCUMENT
public static final FilterEngine.ContentType WEBSOCKET
public static final FilterEngine.ContentType WEBRTC
public static final FilterEngine.ContentType PING
public static final FilterEngine.ContentType XMLHTTPREQUEST
public static final FilterEngine.ContentType OBJECT_SUBREQUEST
public static final FilterEngine.ContentType MEDIA
public static final FilterEngine.ContentType FONT
public static final FilterEngine.ContentType GENERICBLOCK
public static final FilterEngine.ContentType ELEMHIDE
public static final FilterEngine.ContentType GENERICHIDE
public static FilterEngine.ContentType[] values()
for (FilterEngine.ContentType c : FilterEngine.ContentType.values()) System.out.println(c);
public static FilterEngine.ContentType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static java.util.Set<FilterEngine.ContentType> maskOf(FilterEngine.ContentType... contentTypes)