Package | Description |
---|---|
org.springframework.data.rest.core.mapping |
Modifier and Type | Class and Description |
---|---|
class |
ExposureConfiguration
Configuration type to register filters customizing the HTTP methods supported.
|
Modifier and Type | Method and Description |
---|---|
ExposureConfigurer |
ExposureConfigurer.disablePutForCreation()
Disables the ability to create new item resources via
HttpMethod.PUT . |
ExposureConfigurer |
ExposureConfiguration.forDomainType(Class<?> type)
Returns a
ExposureConfigurer to allow the registration of type specific
AggregateResourceHttpMethodsFilter and AssociationResourceHttpMethodsFilter s which means the
configured filters will only be invoked for aggregates of the given type and properties owned by that type
respectively. |
ExposureConfigurer |
ExposureConfigurer.withAssociationExposure(ExposureConfigurer.AssociationResourceHttpMethodsFilter filter)
Registers the given
ExposureConfigurer.AssociationResourceHttpMethodsFilter . |
ExposureConfigurer |
ExposureConfigurer.withCollectionExposure(ExposureConfigurer.AggregateResourceHttpMethodsFilter filter)
Registers the given
ExposureConfigurer.AggregateResourceHttpMethodsFilter to be used for collection resources. |
ExposureConfigurer |
ExposureConfigurer.withItemExposure(ExposureConfigurer.AggregateResourceHttpMethodsFilter filter)
Registers the given
ExposureConfigurer.AggregateResourceHttpMethodsFilter to be used for item resources. |
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.