Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.codehaus.groovy.grails.web.mapping
Interface UrlMappingEvaluator

All Known Implementing Classes:
  DefaultUrlMappingEvaluator

    public interface UrlMappingEvaluator

Evaluates URL mapping from the given Spring Resource or class.

Since:
  0.5
Author:
  Graeme Rocher
See Also:
  `UrlMapping`, `UrlMappingInfo`

Field Summary
`static Map<String,String>` | `DEFAULT_REST_MAPPING`

Method Summary
`List` | `evaluateMappings(Class theClass)` Evaluates mapping from the given class if possible
`List` | `evaluateMappings(groovy.lang.Closure closure)` Evaluates mapping from the given closure if possible
`List` | `evaluateMappings(Resource resource)` Evaluates URL mapping from the give Spring Resource

Field Detail

### DEFAULT_REST_MAPPING

    static final Map<String,String> DEFAULT_REST_MAPPING

Method Detail

### evaluateMappings

    List evaluateMappings(Resource resource)

  Evaluates URL mapping from the give Spring Resource

  Parameters:
    `resource` - The Spring Resource to evaluate mapping from
  Returns:
    A list of UrlMapping instances

### evaluateMappings

    List evaluateMappings(Class theClass)

  Evaluates mapping from the given class if possible

  Parameters:
    `theClass` - The class to evaluate mapping from
  Returns:
    A list of UrlMapping instances

### evaluateMappings

    List evaluateMappings(groovy.lang.Closure closure)

  Evaluates mapping from the given closure if possible

  Parameters:
    `closure` - The closure to evaluate mapping from
  Returns:
    A list of UrlMapping instances

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD