public interface ExposureConfigurer
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ExposureConfigurer.AggregateResourceHttpMethodsFilter
A filter to post-process the supported HTTP methods by aggregate resources (collection or item resource).
|
static interface |
ExposureConfigurer.AssociationResourceHttpMethodsFilter
A filter to post-process the supported HTTP methods by
Association resources. |
| Modifier and Type | Method and Description |
|---|---|
ExposureConfigurer |
disablePutForCreation()
Disables the ability to create new item resources via
HttpMethod.PUT. |
ExposureConfigurer |
withAssociationExposure(ExposureConfigurer.AssociationResourceHttpMethodsFilter filter)
Registers the given
ExposureConfigurer.AssociationResourceHttpMethodsFilter. |
ExposureConfigurer |
withCollectionExposure(ExposureConfigurer.AggregateResourceHttpMethodsFilter filter)
Registers the given
ExposureConfigurer.AggregateResourceHttpMethodsFilter to be used for collection resources. |
ExposureConfigurer |
withItemExposure(ExposureConfigurer.AggregateResourceHttpMethodsFilter filter)
Registers the given
ExposureConfigurer.AggregateResourceHttpMethodsFilter to be used for item resources. |
ExposureConfigurer withCollectionExposure(ExposureConfigurer.AggregateResourceHttpMethodsFilter filter)
ExposureConfigurer.AggregateResourceHttpMethodsFilter to be used for collection resources.filter - must not be null.ExposureConfigurer withItemExposure(ExposureConfigurer.AggregateResourceHttpMethodsFilter filter)
ExposureConfigurer.AggregateResourceHttpMethodsFilter to be used for item resources.filter - ExposureConfigurer withAssociationExposure(ExposureConfigurer.AssociationResourceHttpMethodsFilter filter)
ExposureConfigurer.AssociationResourceHttpMethodsFilter.filter - ExposureConfigurer disablePutForCreation()
HttpMethod.PUT.Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.