|
Spring Hateoas | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MappingDiscoverer
Strategy interface to discover a URI mapping for either a given type or method.
| Method Summary | |
|---|---|
String |
getMapping(Class<?> type)
Returns the mapping associated with the given type. |
String |
getMapping(Class<?> type,
Method method)
Returns the mapping for the given Method invoked on the given type. |
String |
getMapping(Method method)
Returns the mapping associated with the given Method. |
| Method Detail |
|---|
String getMapping(Class<?> type)
type - must not be null.
String getMapping(Method method)
Method. This will include the type-level mapping.
method - must not be null.
String getMapping(Class<?> type,
Method method)
Method invoked on the given type. This can be used to calculate the
mapping for a super type method being invoked on a sub-type with a type mapping.
type - must not be null.method - must not be null.
|
Spring Hateoas | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||