public static enum SolrRequest.METHOD extends Enum<SolrRequest.METHOD>
Modifier and Type | Method and Description |
---|---|
static SolrRequest.METHOD |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SolrRequest.METHOD[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SolrRequest.METHOD GET
public static final SolrRequest.METHOD POST
public static final SolrRequest.METHOD PUT
public static SolrRequest.METHOD[] values()
for (SolrRequest.METHOD c : SolrRequest.METHOD.values()) System.out.println(c);
public static SolrRequest.METHOD 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 nullCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.