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 |
---|---|
default boolean |
allowsPutForCreation()
Returns whether
HttpMethod.PUT requests are supported for item resource creation. |
HttpMethods |
getMethodsFor(PersistentProperty<?> property)
Returns the supported
HttpMethod s for the given PersistentProperty . |
HttpMethods |
getMethodsFor(ResourceType type)
Returns the supported
HttpMethod s for the given ResourceType . |
HttpMethods getMethodsFor(ResourceType type)
HttpMethod
s for the given ResourceType
.type
- must not be null.HttpMethods getMethodsFor(PersistentProperty<?> property)
HttpMethod
s for the given PersistentProperty
.property
- must not be null.default boolean allowsPutForCreation()
HttpMethod.PUT
requests are supported for item resource creation.Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.