/*
- * 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 class RestfulResponse {
* <br/>
*
* @return
- * @since SDNO 0.5
+ * @since
*/
public int getStatus() {
return status;
* <br/>
*
* @param status
- * @since SDNO 0.5
+ * @since
*/
public void setStatus(final int status) {
this.status = status;
* <br/>
*
* @return
- * @since SDNO 0.5
+ * @since
*/
public Map<String, String> getRespHeaderMap() {
return respHeaderMap;
* <br/>
*
* @param header
- * @since SDNO 0.5
+ * @since
*/
public void setRespHeaderMap(final Map<String, String> header) {
this.respHeaderMap = header;
*
* @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) {
*
* @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) {
*
* @param key header name.
* @return header value.
- * @since SDNO 0.5
+ * @since
*/
public String getRespHeaderStr(final String key) {
if(respHeaderMap != null) {
* <br/>
*
* @return
- * @since SDNO 0.5
+ * @since
*/
public String getResponseContent() {
return responseContent;
* <br/>
*
* @param responseString
- * @since SDNO 0.5
+ * @since
*/
public void setResponseJson(final String responseString) {
this.responseContent = responseString;