import com.google.common.base.Optional;
import javax.annotation.Nonnull;
-import javax.ws.rs.core.UriInfo;
import org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType;
import org.opendaylight.yangtools.yang.common.OperationFailedException;
* @param payload the payload data in JSON format.
* @throws OperationFailedException if the request fails.
*/
- void put(String uriPath, @Nonnull String payload, UriInfo uriInfo) throws OperationFailedException;
+ void put(String uriPath, @Nonnull String payload) throws OperationFailedException;
/**
* Issues a restconf POST request to the configuration data store.
* @param payload the payload data in JSON format.
* @throws OperationFailedException if the request fails.
*/
- void post(String uriPath, @Nonnull String payload, UriInfo uriInfo) throws OperationFailedException;
+ void post(String uriPath, @Nonnull String payload) throws OperationFailedException;
/**
* Issues a restconf DELETE request to the configuration data store.
* @return an Optional containing the data in JSON format if present.
* @throws OperationFailedException if the request fails.
*/
- Optional<String> get(String uriPath, LogicalDatastoreType datastoreType, UriInfo uriInfo)
+ Optional<String> get(String uriPath, LogicalDatastoreType datastoreType)
throws OperationFailedException;
/**