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

com.taskadapter.redmineapi.internal.comm.BasicHttpResponse Maven / Gradle / Ivy

Go to download

Free open-source Java API for Redmine and Chiliproject bug/task management systems. This project was originally a part of Task Adapter application (http://www.taskadapter.com) and then was open-sourced.

The newest version!
package com.taskadapter.redmineapi.internal.comm;

import java.io.InputStream;

/**
 * Basic http entity. Just an iternal implementation to use with proper
 * wrappers, etc...
 * 
 * @author maxkar
 * 
 */
public final class BasicHttpResponse {
	private final int responseCode;
	private final InputStream stream;
	private final String charset;

	public BasicHttpResponse(int responseCode, InputStream stream,
			String charset) {
		super();
		this.responseCode = responseCode;
		this.stream = stream;
		this.charset = charset;
	}

	public int getResponseCode() {
		return responseCode;
	}

	public InputStream getStream() {
		return stream;
	}

	public String getCharset() {
		return charset;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy