Uncommented test case
This commit is contained in:
parent
35040a6572
commit
aff17ca9e5
|
@ -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