Code Review
/
nonrtric.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Junit tests for ServiceException"
[nonrtric.git]
/
sdnc-a1-controller
/
northbound
/
nonrt-ric-api
/
provider
/
src
/
main
/
java
/
org
/
onap
/
sdnc
/
northbound
/
restadapter
/
RestAdapter.java
diff --git
a/sdnc-a1-controller/northbound/nonrt-ric-api/provider/src/main/java/org/onap/sdnc/northbound/restadapter/RestAdapter.java
b/sdnc-a1-controller/northbound/nonrt-ric-api/provider/src/main/java/org/onap/sdnc/northbound/restadapter/RestAdapter.java
index
c93caf2
..
a99edce
100644
(file)
--- a/
sdnc-a1-controller/northbound/nonrt-ric-api/provider/src/main/java/org/onap/sdnc/northbound/restadapter/RestAdapter.java
+++ b/
sdnc-a1-controller/northbound/nonrt-ric-api/provider/src/main/java/org/onap/sdnc/northbound/restadapter/RestAdapter.java
@@
-46,9
+46,10
@@
public interface RestAdapter {
*
* @param url the URL
* @param request the String to be PUT (may be {@code null})
*
* @param url the URL
* @param request the String to be PUT (may be {@code null})
+ * @param clazz responseType the type of the return value
* @return the response code
*/
* @return the response code
*/
- <T> ResponseEntity<T> put(final String url, final String body);
+ <T> ResponseEntity<T> put(final String url, final String body
, final Class<T> clazz
);
/**
* Delete resource for the given object to the URI.
/**
* Delete resource for the given object to the URI.