/*
- * Copyright (c) 2016, Huawei Technologies Co., Ltd.
+ * Copyright 2016 Huawei Technologies Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* </p>
*
* @author
- * @version SDNO 0.5 28-May-2016
+ * @version 28-May-2016
*/
public interface Restful {
* @param restParametes: query parameters.
* @return response.
* @throws ServiceException
- * @since SDNO 0.5
+ * @since
*/
RestfulResponse get(String servicePath, RestfulParametes restParametes) throws ServiceException;
* @param options: request options.
* @return response.
* @throws ServiceException
- * @since SDNO 0.5
+ * @since
*/
RestfulResponse head(String servicePath, RestfulParametes restParametes, RestfulOptions options)
throws ServiceException;
* @param restParametes: request parameters.
* @return response.
* @throws ServiceException
- * @since SDNO 0.5
+ * @since
*/
RestfulResponse head(String servicePath, RestfulParametes restParametes) throws ServiceException;
* @param options: request options.
* @return response.
* @throws ServiceException
- * @since SDNO 0.5
+ * @since
*/
RestfulResponse get(String servicePath, RestfulParametes restParametes, RestfulOptions options)
throws ServiceException;
* @param restParametes: request parameters.
* @param callback: response callback method.
* @throws ServiceException
- * @since SDNO 0.5
+ * @since
*/
void asyncGet(String servicePath, RestfulParametes restParametes, RestfulAsyncCallback callback)
throws ServiceException;
* @param options: request options.
* @param callback: response callback method.
* @throws ServiceException
- * @since SDNO 0.5
+ * @since
*/
void asyncGet(String servicePath, RestfulParametes restParametes, RestfulOptions options,
RestfulAsyncCallback callback) throws ServiceException;
* @param restParametes: request parameters.
* @return response.
* @throws ServiceException
- * @since SDNO 0.5
+ * @since
*/
RestfulResponse put(String servicePath, RestfulParametes restParametes) throws ServiceException;
* @param options: request options.
* @return response.
* @throws ServiceException
- * @since SDNO 0.5
+ * @since
*/
RestfulResponse put(String servicePath, RestfulParametes restParametes, RestfulOptions options)
throws ServiceException;
* @param restParametes: request parameters.
* @param callback: response callback method.
* @throws ServiceException
- * @since SDNO 0.5
+ * @since
*/
void asyncPut(String servicePath, RestfulParametes restParametes, RestfulAsyncCallback callback)
throws ServiceException;
* @param options: request options.
* @param callback: response callback method.
* @throws ServiceException
- * @since SDNO 0.5
+ * @since
*/
void asyncPut(String servicePath, RestfulParametes restParametes, RestfulOptions options,
RestfulAsyncCallback callback) throws ServiceException;
* @param restParametes: request parameters.
* @return response.
* @throws ServiceException
- * @since SDNO 0.5
+ * @since
*/
RestfulResponse post(String servicePath, RestfulParametes restParametes) throws ServiceException;
* @param options: request options.
* @return response.
* @throws ServiceException
- * @since SDNO 0.5
+ * @since
*/
RestfulResponse post(String servicePath, RestfulParametes restParametes, RestfulOptions options)
throws ServiceException;
* @param restParametes: request parameters.
* @param callback: response callback method.
* @throws ServiceException
- * @since SDNO 0.5
+ * @since
*/
void asyncPost(String servicePath, RestfulParametes restParametes, RestfulAsyncCallback callback)
throws ServiceException;
* @param options: request options.
* @param callback: response callback method.
* @throws ServiceException
- * @since SDNO 0.5
+ * @since
*/
void asyncPost(String servicePath, RestfulParametes restParametes, RestfulOptions options,
RestfulAsyncCallback callback) throws ServiceException;
* @param restParametes: request parameters.
* @return response.
* @throws ServiceException
- * @since SDNO 0.5
+ * @since
*/
RestfulResponse delete(String servicePath, RestfulParametes restParametes) throws ServiceException;
* @param options: request options.
* @return response.
* @throws ServiceException
- * @since SDNO 0.5
+ * @since
*/
RestfulResponse delete(String servicePath, RestfulParametes restParametes, RestfulOptions options)
throws ServiceException;
* @param restParametes: request parameters.
* @param callback: response callback method.
* @throws ServiceException
- * @since SDNO 0.5
+ * @since
*/
void asyncDelete(String servicePath, RestfulParametes restParametes, RestfulAsyncCallback callback)
throws ServiceException;
* @param options: request options.
* @param callback: response callback method.
* @throws ServiceException
- * @since SDNO 0.5
+ * @since
*/
void asyncDelete(String servicePath, RestfulParametes restParametes, RestfulOptions options,
RestfulAsyncCallback callback) throws ServiceException;
* @param restParametes: request parameters.
* @return response.
* @throws ServiceException
- * @since SDNO 0.5
+ * @since
*/
RestfulResponse patch(String servicePath, RestfulParametes restParametes) throws ServiceException;
* @param options: request options.
* @return response.
* @throws ServiceException
- * @since SDNO 0.5
+ * @since
*/
RestfulResponse patch(String servicePath, RestfulParametes restParametes, RestfulOptions options)
throws ServiceException;
* @param restParametes: request parameters.
* @param callback: response callback method.
* @throws ServiceException
- * @since SDNO 0.5
+ * @since
*/
void asyncPatch(String servicePath, RestfulParametes restParametes, RestfulAsyncCallback callback)
throws ServiceException;
* @param options: request options.
* @param callback: response callback method.
* @throws ServiceException
- * @since SDNO 0.5
+ * @since
*/
void asyncPatch(String servicePath, RestfulParametes restParametes, RestfulOptions options,
RestfulAsyncCallback callback) throws ServiceException;