polishing
This commit is contained in:
parent
572abbcff9
commit
5f7f37f1c1
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2002-2009 the original author or authors.
|
* Copyright 2002-2010 the original author or authors.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
|
@ -303,10 +303,8 @@ public abstract class AbstractUrlHandlerMapping extends AbstractHandlerMapping {
|
||||||
* @param uriTemplateVariables the URI template variables, can be <code>null</code> if no variables found
|
* @param uriTemplateVariables the URI template variables, can be <code>null</code> if no variables found
|
||||||
* @return the final handler object
|
* @return the final handler object
|
||||||
*/
|
*/
|
||||||
protected Object buildPathExposingHandler(Object rawHandler,
|
protected Object buildPathExposingHandler(Object rawHandler, String bestMatchingPattern,
|
||||||
String bestMatchingPattern,
|
String pathWithinMapping, Map<String, String> uriTemplateVariables) {
|
||||||
String pathWithinMapping,
|
|
||||||
Map<String, String> uriTemplateVariables) {
|
|
||||||
|
|
||||||
HandlerExecutionChain chain = new HandlerExecutionChain(rawHandler);
|
HandlerExecutionChain chain = new HandlerExecutionChain(rawHandler);
|
||||||
chain.addInterceptor(new PathExposingHandlerInterceptor(bestMatchingPattern, pathWithinMapping));
|
chain.addInterceptor(new PathExposingHandlerInterceptor(bestMatchingPattern, pathWithinMapping));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue