Methods@Deprecated public enum StandardMethods extends Enum<StandardMethods>
| Enum Constant and Description |
|---|
CONNECT
Deprecated.
|
DELETE
Deprecated.
|
GET
Deprecated.
|
HEAD
Deprecated.
|
OPTIONS
Deprecated.
|
PATCH
Deprecated.
|
POST
Deprecated.
|
PUT
Deprecated.
|
TRACE
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isIdempotent()
Deprecated.
|
static boolean |
isIdempotent(String value)
Deprecated.
|
boolean |
isSafe()
Deprecated.
|
static boolean |
isSafe(String value)
Deprecated.
|
static StandardMethods |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static StandardMethods[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StandardMethods GET
public static final StandardMethods HEAD
public static final StandardMethods POST
public static final StandardMethods PUT
public static final StandardMethods DELETE
public static final StandardMethods CONNECT
public static final StandardMethods TRACE
public static final StandardMethods OPTIONS
public static final StandardMethods PATCH
public static StandardMethods[] values()
for (StandardMethods c : StandardMethods.values()) System.out.println(c);
public static StandardMethods 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 isSafe()
public boolean isIdempotent()
public static boolean isSafe(String value)
public static boolean isIdempotent(String value)
Copyright © 1999–2019 The Apache Software Foundation. All rights reserved.