All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.windowsazure.samples.internal.web.HttpResult Maven / Gradle / Ivy

Go to download

jpa4azure, implements a subset of the JPA specification using Azure Storage for pesisting beans. see http://jpa4azure.codeplex.com for more information.

There is a newer version: 0.7
Show newest version
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