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

com.firefly.client.http2.HTTPClientRequest Maven / Gradle / Ivy

There is a newer version: 4.0.3.2
Show newest version
package com.firefly.client.http2;

import com.firefly.codec.http2.model.HttpFields;
import com.firefly.codec.http2.model.HttpURI;
import com.firefly.codec.http2.model.HttpVersion;
import com.firefly.codec.http2.model.MetaData;

public class HTTPClientRequest extends MetaData.Request {

	public HTTPClientRequest(String method, String uri) {
		super(method, new HttpURI(uri), HttpVersion.HTTP_1_1, new HttpFields());
	}

	public HTTPClientRequest(String method, String uri, int contentLength) {
		super(method, new HttpURI(uri), HttpVersion.HTTP_1_1, new HttpFields(), contentLength);
	}
	
	public HTTPClientRequest(String method, HttpURI uri, HttpFields fields, long contentLength) {
		super(method, uri, HttpVersion.HTTP_1_1, new HttpFields(), contentLength);
	}
	
	public HTTPClientRequest(String method, HttpURI uri, HttpVersion version, HttpFields fields, long contentLength) {
		super(method, uri, version, new HttpFields(), contentLength);
	}

	public HTTPClientRequest(MetaData.Request request) {
		super(request);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy