--- /dev/null
+/*\r
+ * Copyright IBM Corporation, 2013. All rights reserved.\r
+ *\r
+ * This program and the accompanying materials are made available under the\r
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
+ * and is available at http://www.eclipse.org/legal/epl-v10.html\r
+ */\r
+\r
+package org.opendaylight.controller.commons.httpclient;\r
+\r
+import java.util.List;\r
+import java.util.Map;\r
+\r
+public class HTTPResponse {\r
+ Integer status; // response status\r
+ String entity; // response entity\r
+ Map<String, List<String>> headers; // http header values\r
+\r
+ public HTTPResponse() {\r
+ }\r
+\r
+ public Integer getStatus() {\r
+ return status;\r
+ }\r
+\r
+ public void setStatus(Integer status) {\r
+ this.status = status;\r
+ }\r
+\r
+ public String getEntity() {\r
+ return entity;\r
+ }\r
+\r
+ public void setEntity(String entity) {\r
+ this.entity = entity;\r
+ }\r
+\r
+ public Map<String, List<String>> getHeaders() {\r
+ return headers;\r
+ }\r
+\r
+ public void setHeaders(Map<String, List<String>> map) {\r
+ this.headers = map;\r
+ }\r
+}\r