diff options
author | tian.ming@huawei.com <tian.ming@huawei.com> | 2016-09-10 12:41:16 +0800 |
---|---|---|
committer | tian.ming@huawei.com <tian.ming@huawei.com> | 2016-09-10 15:46:25 +0800 |
commit | 7476493080d6c7dc895f1eeda7d4781c8295b03f (patch) | |
tree | dcbbaa7f416fa7e2da285f60085bbb8dcbb331d2 /rest-client/src/main/java/org/openo/baseservice/roa/util/restclient/RestfulResponse.java | |
parent | fd23b5c6940b86e1f98742ea0537917d4266f0c9 (diff) |
Modify license information.
JIRA:https://jira.open-o.org/browse/OCS-46
Change-Id: Iff62c4f5a9f29e20ab6f54772f60b1ab7ea65b1a
Signed-off-by: tian.ming@huawei.com <tian.ming@huawei.com>
fix the build error.
Change-Id: Iecab881eaad2442d48da9a162f2207f742e6982c
Signed-off-by: tian.ming@huawei.com <tian.ming@huawei.com>
fix the build error.
Change-Id: Iecab881eaad2442d48da9a162f2207f742e6982c
Signed-off-by: tian.ming@huawei.com <tian.ming@huawei.com>
Diffstat (limited to 'rest-client/src/main/java/org/openo/baseservice/roa/util/restclient/RestfulResponse.java')
-rw-r--r-- | rest-client/src/main/java/org/openo/baseservice/roa/util/restclient/RestfulResponse.java | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/rest-client/src/main/java/org/openo/baseservice/roa/util/restclient/RestfulResponse.java b/rest-client/src/main/java/org/openo/baseservice/roa/util/restclient/RestfulResponse.java index 28a0c6d..25105b7 100644 --- a/rest-client/src/main/java/org/openo/baseservice/roa/util/restclient/RestfulResponse.java +++ b/rest-client/src/main/java/org/openo/baseservice/roa/util/restclient/RestfulResponse.java @@ -1,11 +1,11 @@ /* - * 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, @@ -24,7 +24,7 @@ import java.util.Map; * </p> * * @author - * @version SDNO 0.5 28-May-2016 + * @version 28-May-2016 */ public class RestfulResponse { @@ -38,7 +38,7 @@ public class RestfulResponse { * <br/> * * @return - * @since SDNO 0.5 + * @since */ public int getStatus() { return status; @@ -48,7 +48,7 @@ public class RestfulResponse { * <br/> * * @param status - * @since SDNO 0.5 + * @since */ public void setStatus(final int status) { this.status = status; @@ -58,7 +58,7 @@ public class RestfulResponse { * <br/> * * @return - * @since SDNO 0.5 + * @since */ public Map<String, String> getRespHeaderMap() { return respHeaderMap; @@ -68,7 +68,7 @@ public class RestfulResponse { * <br/> * * @param header - * @since SDNO 0.5 + * @since */ public void setRespHeaderMap(final Map<String, String> header) { this.respHeaderMap = header; @@ -79,7 +79,7 @@ public class RestfulResponse { * * @param key header param name. * @return header param value as integer. (-1 if error) - * @since SDNO 0.5 + * @since */ public int getRespHeaderInt(final String key) { if(respHeaderMap != null) { @@ -96,7 +96,7 @@ public class RestfulResponse { * * @param key header param name. * @return value as long. -1 if no value. - * @since SDNO 0.5 + * @since */ public long getRespHeaderLong(final String key) { if(respHeaderMap != null) { @@ -113,7 +113,7 @@ public class RestfulResponse { * * @param key header name. * @return header value. - * @since SDNO 0.5 + * @since */ public String getRespHeaderStr(final String key) { if(respHeaderMap != null) { @@ -126,7 +126,7 @@ public class RestfulResponse { * <br/> * * @return - * @since SDNO 0.5 + * @since */ public String getResponseContent() { return responseContent; @@ -136,7 +136,7 @@ public class RestfulResponse { * <br/> * * @param responseString - * @since SDNO 0.5 + * @since */ public void setResponseJson(final String responseString) { this.responseContent = responseString; |