Uncommented test case
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@645 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
parent
2cc90393aa
commit
14847cc662
|
|
@ -167,13 +167,11 @@ public class UriTemplateServletAnnotationControllerTests {
|
||||||
writer.write("specific");
|
writer.write("specific");
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
@RequestMapping("/hotels/{hotel}")
|
@RequestMapping("/hotels/{hotel}")
|
||||||
public void handleVars(@PathVariable("hotel") String hotel, Writer writer) throws IOException {
|
public void handleVars(@PathVariable("hotel") String hotel, Writer writer) throws IOException {
|
||||||
assertEquals("Invalid path variable value", "42", hotel);
|
assertEquals("Invalid path variable value", "42", hotel);
|
||||||
writer.write("variables");
|
writer.write("variables");
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|
||||||
@RequestMapping("/hotels/*")
|
@RequestMapping("/hotels/*")
|
||||||
public void handleWildCard(Writer writer) throws IOException {
|
public void handleWildCard(Writer writer) throws IOException {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue