
com.windowsazure.samples.internal.web.HttpResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jpa4azure Show documentation
Show all versions of jpa4azure Show documentation
jpa4azure, implements a subset of the JPA specification using Azure Storage for pesisting beans. see http://jpa4azure.codeplex.com for more information.
package com.windowsazure.samples.internal.web;
import com.windowsazure.samples.HttpStatusCode;
public class HttpResult {
public HttpResult(HttpMethod method, HttpStatusCode statusCode, HttpHeader headers, String body) {
this.method = method;
this.statusCode = statusCode;
this.headers = headers;
this.body = body;
}
public String getBody() {
return body;
}
public HttpHeader getHeaders() {
return headers;
}
public HttpMethod getMethod() {
return method;
}
public HttpStatusCode getStatusCode() {
return statusCode;
}
private String body;
private HttpHeader headers;
private HttpMethod method;
private HttpStatusCode statusCode;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy