public class SpringAffordanceBuilder extends Object
Affordance from a Spring MVC web method.| Modifier and Type | Field and Description |
|---|---|
static MappingDiscoverer |
DISCOVERER |
| Constructor and Description |
|---|
SpringAffordanceBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static List<Affordance> |
getAffordances(Class<?> type,
Method method,
String href)
Returns all
Affordances for the given type's method and base URI. |
static String |
getMapping(Class<?> type,
Method method)
Returns the mapping for the given type's method.
|
public static final MappingDiscoverer DISCOVERER
public static List<Affordance> getAffordances(Class<?> type, Method method, String href)
Affordances for the given type's method and base URI.type - must not be null.method - must not be null.href - must not be null or empty.Copyright © 2011–2022 Pivotal, Inc.. All rights reserved.