Merge "BUG-2329 Add test for anyxmls inside rpc resonse for netcfon-connector"
[controller.git] / opendaylight / adsal / commons / httpclient / src / main / java / org / opendaylight / controller / commons / httpclient / HTTPResponse.java
1 /*\r
2  * Copyright IBM Corporation, 2013.  All rights reserved.\r
3  *\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
7  */\r
8 \r
9 package org.opendaylight.controller.commons.httpclient;\r
10 \r
11 import java.util.List;\r
12 import java.util.Map;\r
13 \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
18 \r
19     public HTTPResponse() {\r
20     }\r
21 \r
22     public Integer getStatus() {\r
23         return status;\r
24     }\r
25 \r
26     public void setStatus(Integer status) {\r
27         this.status = status;\r
28     }\r
29 \r
30     public String getEntity() {\r
31         return entity;\r
32     }\r
33 \r
34     public void setEntity(String entity) {\r
35         this.entity = entity;\r
36     }\r
37 \r
38     public Map<String, List<String>> getHeaders() {\r
39         return headers;\r
40     }\r
41 \r
42     public void setHeaders(Map<String, List<String>> map) {\r
43         this.headers = map;\r
44     }\r
45 }\r