public interface MethodResourceMapping extends ResourceMapping
ResourceMapping
that is backed by a Method
.Modifier and Type | Method and Description |
---|---|
Method |
getMethod()
Returns the
Method backing the resource. |
ParametersMetadata |
getParametersMetadata()
Returns
ParameterMetadata instances for all named parameters. |
Class<?> |
getReturnedDomainType()
Returns the domain type that the query method returns.
|
boolean |
isSortableResource()
Returns whether the resource is sortable.
|
getDescription, getPath, getRel, isExported, isPagingResource
ParametersMetadata getParametersMetadata()
ParameterMetadata
instances for all named parameters.boolean isSortableResource()
Class<?> getReturnedDomainType()
Collection
s,
Map
s, Optional
s etc.) for their element or value types.Copyright © 2011-2015–2016 Pivotal Software, Inc.. All rights reserved.