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

org.archive.format.http.HttpRequest Maven / Gradle / Ivy

There is a newer version: 1.1.9
Show newest version
package org.archive.format.http;

import java.io.FilterInputStream;
import java.io.InputStream;

public class HttpRequest extends FilterInputStream {
	private HttpRequestMessage message = null;
	private HttpHeaders headers = null;
	private int headerBytes = 0;

	protected HttpRequest(InputStream in,
			HttpRequestMessage message, HttpHeaders headers) {
		super(in);
		this.message = message;
		this.headers = headers;
	}

	public HttpRequestMessage getMessage() {
		return message;
	}

	public HttpHeaders getHeaders() {
		return headers;
	}

	public int getHeaderBytes() {
		return headerBytes;
	}

	public void setHeaderBytes(int headerBytes) {
		this.headerBytes = headerBytes;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy