X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=sdnc-a1-controller%2Fnorthbound%2Fnonrt-ric-api%2Fprovider%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Fsdnc%2Fnorthbound%2Frestadpter%2FRestAdapter.java;fp=sdnc-a1-controller%2Fnorthbound%2Fnonrt-ric-api%2Fprovider%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Fsdnc%2Fnorthbound%2Frestadpter%2FRestAdapter.java;h=504c128d8a3cfd9770e9c04949dd2f7899dfc501;hb=799dafa576935e93c262a20f2b055a94dd637ddd;hp=98759fd50c893fc97a030bd16fc61c725acc268f;hpb=1279d1964e3a02af70fcc3532928a82b869181be;p=nonrtric.git diff --git a/sdnc-a1-controller/northbound/nonrt-ric-api/provider/src/main/java/org/onap/sdnc/northbound/restadpter/RestAdapter.java b/sdnc-a1-controller/northbound/nonrt-ric-api/provider/src/main/java/org/onap/sdnc/northbound/restadpter/RestAdapter.java index 98759fd5..504c128d 100644 --- a/sdnc-a1-controller/northbound/nonrt-ric-api/provider/src/main/java/org/onap/sdnc/northbound/restadpter/RestAdapter.java +++ b/sdnc-a1-controller/northbound/nonrt-ric-api/provider/src/main/java/org/onap/sdnc/northbound/restadpter/RestAdapter.java @@ -25,7 +25,7 @@ import com.google.common.base.Optional; /** * An interface to wrap the generic HTTP methods - * + * * @author lathishbabu.ganesan@est.tech * */ @@ -34,7 +34,7 @@ public interface RestAdapter { /** * Retrieve a representation by doing a GET on the specified URL. The response (if any) is * converted and returned. - * + * * @param uri the URL * @param clazz responseType the type of the return value * @return the converted object @@ -44,16 +44,16 @@ public interface RestAdapter { /** * Create or update a resource by PUTting the given object to the URI. - * + * * @param url the URL - * @param request the Object to be PUT (may be {@code null}) + * @param request the String to be PUT (may be {@code null}) * @return the response code */ - Optional put(final String url, final Object object); + Optional put(final String url, final String body); /** * Delete resource for the given object to the URI. - * + * * @param url the URL * @return the response code */