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