Expose mapped handler as an exchange attribute

Issue: SPR-15564
This commit is contained in:
Rossen Stoyanchev
2017-06-29 13:09:28 -04:00
parent 58a5e7f17b
commit 67330dfc23
6 changed files with 57 additions and 39 deletions

View File

@@ -96,11 +96,11 @@ public interface HandlerMapping {
/**
* Name of the {@link HttpServletRequest} attribute that contains a map with
* URI matrix variables.
* URI variable names and a corresponding MultiValueMap of URI matrix
* variables for each.
* <p>Note: This attribute is not required to be supported by all
* HandlerMapping implementations and may also not be present depending on
* whether the HandlerMapping is configured to keep matrix variable content
* in the request URI.
*/
String MATRIX_VARIABLES_ATTRIBUTE = HandlerMapping.class.getName() + ".matrixVariables";