public interface SupportedHttpMethods
HttpMethod
s supported on a given ResourceType
.Modifier and Type | Interface and Description |
---|---|
static class |
SupportedHttpMethods.NoSupportedMethods
Null object to abstract the absence of any support for any HTTP method.
|
Modifier and Type | Method and Description |
---|---|
Set<org.springframework.http.HttpMethod> |
getMethodsFor(org.springframework.data.mapping.PersistentProperty<?> property)
Returns the supported
HttpMethod s for the given PersistentProperty . |
Set<org.springframework.http.HttpMethod> |
getMethodsFor(ResourceType type)
Returns the supported
HttpMethod s for the given ResourceType . |
Set<org.springframework.http.HttpMethod> getMethodsFor(ResourceType type)
HttpMethod
s for the given ResourceType
.type
- must not be null.Set<org.springframework.http.HttpMethod> getMethodsFor(org.springframework.data.mapping.PersistentProperty<?> property)
HttpMethod
s for the given PersistentProperty
.property
- must not be null.Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.