public static enum HttpCrawlerConfig.HttpMethodSupport extends Enum<HttpCrawlerConfig.HttpMethodSupport>
Modifier and Type | Method and Description |
---|---|
boolean |
is(HttpCrawlerConfig.HttpMethodSupport methodSupport) |
static boolean |
isEnabled(HttpCrawlerConfig.HttpMethodSupport methodSupport) |
static HttpCrawlerConfig.HttpMethodSupport |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpCrawlerConfig.HttpMethodSupport[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpCrawlerConfig.HttpMethodSupport DISABLED
public static final HttpCrawlerConfig.HttpMethodSupport OPTIONAL
public static final HttpCrawlerConfig.HttpMethodSupport REQUIRED
public static HttpCrawlerConfig.HttpMethodSupport[] values()
for (HttpCrawlerConfig.HttpMethodSupport c : HttpCrawlerConfig.HttpMethodSupport.values()) System.out.println(c);
public static HttpCrawlerConfig.HttpMethodSupport valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean is(HttpCrawlerConfig.HttpMethodSupport methodSupport)
public static boolean isEnabled(HttpCrawlerConfig.HttpMethodSupport methodSupport)
Copyright © 2009–2023 Norconex Inc.. All rights reserved.