File tree 2 files changed +7
-2
lines changed
src/main/java/com/googlecode/jsonrpc4j 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ dependencies {
92
92
93
93
implementation " org.slf4j:slf4j-api:${ slf4jVersion} "
94
94
95
-
95
+ // TODO: remove deprecated portlet-api when support is removed from the code
96
96
servletSupportImplementation ' javax.portlet:portlet-api:3.0.1'
97
97
servletSupportImplementation ' javax.servlet:javax.servlet-api:4.0.1'
98
98
Original file line number Diff line number Diff line change @@ -74,12 +74,17 @@ public JsonRpcServer(Object handler) {
74
74
}
75
75
76
76
/**
77
- * Handles a portlet request.
77
+ * (Deprecated) Handles a portlet request.
78
+ * <p>
79
+ * Note: this method is marked for removal.
80
+ * Please use {@link JsonRpcBasicServer#handleRequest(InputStream, OutputStream)} instead,
81
+ * and propagate request and response data streams to it.
78
82
*
79
83
* @param request the {@link ResourceRequest}
80
84
* @param response the {@link ResourceResponse}
81
85
* @throws IOException on error
82
86
*/
87
+ @ Deprecated
83
88
public void handle (ResourceRequest request , ResourceResponse response ) throws IOException {
84
89
logger .debug ("Handing ResourceRequest {}" , request .getMethod ());
85
90
response .setContentType (contentType );
You can’t perform that action at this time.
0 commit comments