DATAREST-56 - RepositoryRestHandlerMapping now uses lowest precedence.

Invoke super constructor with Ordered.LOWEST_PRECEDENCE to allow custom controller implementations hook into the URI space managed by the RepositoryRestController.
This commit is contained in:
Oliver Gierke
2012-11-02 08:52:41 +01:00
parent 334e079348
commit 9adcd01aa3

View File

@@ -32,7 +32,7 @@ public class RepositoryRestHandlerMapping extends RequestMappingHandlerMapping {
private Set<String> repositoryNames = new HashSet<String>();
public RepositoryRestHandlerMapping() {
setOrder(Ordered.HIGHEST_PRECEDENCE);
setOrder(Ordered.LOWEST_PRECEDENCE);
}
@SuppressWarnings({"unchecked"})