2 * Copyright IBM Corporation, 2013. All rights reserved.
\r
4 * This program and the accompanying materials are made available under the
\r
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
\r
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
\r
9 package org.opendaylight.controller.commons.httpclient;
\r
11 import java.util.List;
\r
12 import java.util.Map;
\r
14 public class HTTPResponse {
\r
15 Integer status; // response status
\r
16 String entity; // response entity
\r
17 Map<String, List<String>> headers; // http header values
\r
19 public HTTPResponse() {
\r
22 public Integer getStatus() {
\r
26 public void setStatus(Integer status) {
\r
27 this.status = status;
\r
30 public String getEntity() {
\r
34 public void setEntity(String entity) {
\r
35 this.entity = entity;
\r
38 public Map<String, List<String>> getHeaders() {
\r
42 public void setHeaders(Map<String, List<String>> map) {
\r