public class SpringAffordanceBuilder extends Object
Affordance
from a Spring MVC web method.Constructor and Description |
---|
SpringAffordanceBuilder() |
Modifier and Type | Method and Description |
---|---|
static List<Affordance> |
create(Class<?> type,
Method method,
String href,
MappingDiscoverer discoverer)
Use the attributes of the current method call along with a collection of
AffordanceModelFactory 's to create
a set of Affordance s. |
public static List<Affordance> create(Class<?> type, Method method, String href, MappingDiscoverer discoverer)
AffordanceModelFactory
's to create
a set of Affordance
s.type
- must not be null.method
- must not be null.href
- must not be null.discoverer
- must not be null.Copyright © 2011–2020 Pivotal, Inc.. All rights reserved.