public static enum SupportedHttpMethods.NoSupportedMethods extends Enum<SupportedHttpMethods.NoSupportedMethods> implements SupportedHttpMethods
SupportedHttpMethods.NoSupportedMethods
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
Set<HttpMethod> |
getMethodsFor(PersistentProperty<?> property)
Returns the supported
HttpMethod s for the given PersistentProperty . |
Set<HttpMethod> |
getMethodsFor(ResourceType resourcType)
Returns the supported
HttpMethod s 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 Set<HttpMethod> getMethodsFor(ResourceType resourcType)
SupportedHttpMethods
HttpMethod
s for the given ResourceType
.getMethodsFor
in interface SupportedHttpMethods
resourcType
- must not be null.public Set<HttpMethod> getMethodsFor(PersistentProperty<?> property)
SupportedHttpMethods
HttpMethod
s for the given PersistentProperty
.getMethodsFor
in interface SupportedHttpMethods
property
- must not be null.Copyright © 2011-2015–2016 Pivotal Software, Inc.. All rights reserved.