public class CrudMethodsSupportedHttpMethods extends Object implements SupportedHttpMethods
SupportedHttpMethods that are determined by a CrudMethods instance.SupportedHttpMethods.NoSupportedMethods| Constructor and Description |
|---|
CrudMethodsSupportedHttpMethods(CrudMethods crudMethods)
Creates a new
CrudMethodsSupportedHttpMethods for the given CrudMethods. |
| Modifier and Type | Method and Description |
|---|---|
Set<HttpMethod> |
getMethodsFor(PersistentProperty<?> property)
Returns the supported
HttpMethods for the given PersistentProperty. |
Set<HttpMethod> |
getMethodsFor(ResourceType resourcType)
Returns the supported
HttpMethods for the given ResourceType. |
public CrudMethodsSupportedHttpMethods(CrudMethods crudMethods)
CrudMethodsSupportedHttpMethods for the given CrudMethods.crudMethods - must not be null.public Set<HttpMethod> getMethodsFor(ResourceType resourcType)
SupportedHttpMethodsHttpMethods for the given ResourceType.getMethodsFor in interface SupportedHttpMethodsresourcType - must not be null.public Set<HttpMethod> getMethodsFor(PersistentProperty<?> property)
SupportedHttpMethodsHttpMethods for the given PersistentProperty.getMethodsFor in interface SupportedHttpMethodsproperty - must not be null.Copyright © 2011-2015–2016 Pivotal Software, Inc.. All rights reserved.