X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fcommons%2Fhttpclient%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcommons%2Fhttpclient%2FHTTPResponse.java;fp=opendaylight%2Fcommons%2Fhttpclient%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcommons%2Fhttpclient%2FHTTPResponse.java;h=096fce2662a4624d802fb14981bd94334f020f0f;hb=c35484bda3c82b4e907d0496b01608e478dd00a0;hp=0000000000000000000000000000000000000000;hpb=53dddf23bfb571973be6f3d96886aa0006c87fa8;p=controller.git diff --git a/opendaylight/commons/httpclient/src/main/java/org/opendaylight/controller/commons/httpclient/HTTPResponse.java b/opendaylight/commons/httpclient/src/main/java/org/opendaylight/controller/commons/httpclient/HTTPResponse.java new file mode 100644 index 0000000000..096fce2662 --- /dev/null +++ b/opendaylight/commons/httpclient/src/main/java/org/opendaylight/controller/commons/httpclient/HTTPResponse.java @@ -0,0 +1,45 @@ +/* + * Copyright IBM Corporation, 2013. All rights reserved. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License v1.0 which accompanies this distribution, + * and is available at http://www.eclipse.org/legal/epl-v10.html + */ + +package org.opendaylight.controller.commons.httpclient; + +import java.util.List; +import java.util.Map; + +public class HTTPResponse { + Integer status; // response status + String entity; // response entity + Map> headers; // http header values + + public HTTPResponse() { + } + + public Integer getStatus() { + return status; + } + + public void setStatus(Integer status) { + this.status = status; + } + + public String getEntity() { + return entity; + } + + public void setEntity(String entity) { + this.entity = entity; + } + + public Map> getHeaders() { + return headers; + } + + public void setHeaders(Map> map) { + this.headers = map; + } +}