public static enum SupportedHttpMethods.NoSupportedMethods extends Enum<SupportedHttpMethods.NoSupportedMethods> implements SupportedHttpMethods
SupportedHttpMethods.NoSupportedMethods| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowsPutForCreation()
Returns whether
HttpMethod.PUT requests are supported for item resource creation. |
HttpMethods |
getMethodsFor(PersistentProperty<?> property)
Returns the supported
HttpMethods for the given PersistentProperty. |
HttpMethods |
getMethodsFor(ResourceType resourcType)
Returns the supported
HttpMethods for the given ResourceType. |
static SupportedHttpMethods.NoSupportedMethods |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SupportedHttpMethods.NoSupportedMethods[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SupportedHttpMethods.NoSupportedMethods INSTANCE
public static SupportedHttpMethods.NoSupportedMethods[] values()
for (SupportedHttpMethods.NoSupportedMethods c : SupportedHttpMethods.NoSupportedMethods.values()) System.out.println(c);
public static SupportedHttpMethods.NoSupportedMethods 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 HttpMethods getMethodsFor(ResourceType resourcType)
SupportedHttpMethodsHttpMethods for the given ResourceType.getMethodsFor in interface SupportedHttpMethodsresourcType - must not be null.public HttpMethods getMethodsFor(PersistentProperty<?> property)
SupportedHttpMethodsHttpMethods for the given PersistentProperty.getMethodsFor in interface SupportedHttpMethodsproperty - must not be null.public boolean allowsPutForCreation()
SupportedHttpMethodsHttpMethod.PUT requests are supported for item resource creation.allowsPutForCreation in interface SupportedHttpMethodsCopyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.