Commit 01f9ceb
committed
Add another handler method into JsonServiceExporter with jakarta request and response objects
Newer Spring Framework uses jakarta.servlet.http.HttpServletRequest
and jakarta.servlet.http.HttpServletResponse objects from the jakarta.* namespace.
If JsonRpcServer is registered with @AutoJsonRpcServiceImpl in newer
Spring Framework, then request fail due to missing method in a web handler.
Newer org.springframework.web.HttpRequestHandler has a signature with jakarta objects,
and if JsonServiceExporter has a method with same signature,
then it can work with newer Spring MVC.1 parent 59ff0c9 commit 01f9ceb
File tree
1 file changed
+11
-0
lines changed- src/main/java/com/googlecode/jsonrpc4j/spring
1 file changed
+11
-0
lines changedLines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
34 | 45 | | |
0 commit comments