Skip to content

Commit 856815f

Browse files
committed
Add generic type test method.
1 parent 7588386 commit 856815f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

httprpc-test/src/main/java/org/httprpc/test/TestService.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,12 @@ public TestMap testGetMap() {
157157
return new TestMap();
158158
}
159159

160+
@RequestMethod("GET")
161+
@ResourcePath("generic")
162+
public Iterable<List<Map<String, Double>>> testGetGeneric() {
163+
return null;
164+
}
165+
160166
@Override
161167
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException {
162168
PrintWriter writer = response.getWriter();

0 commit comments

Comments
 (0)