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

com.webpieces.http2engine.impl.CachedRequest Maven / Gradle / Ivy

package com.webpieces.http2engine.impl;

import org.webpieces.util.futures.XFuture;

import com.webpieces.http2.api.dto.highlevel.Http2Headers;
import com.webpieces.http2.api.streaming.ResponseStreamHandle;
import com.webpieces.http2.api.streaming.StreamWriter;

public class CachedRequest {

	private Http2Headers frame;
	private ResponseStreamHandle responseListener;
	private XFuture future;

	public CachedRequest(Http2Headers frame, ResponseStreamHandle responseListener,
			XFuture future) {
				this.frame = frame;
				this.responseListener = responseListener;
				this.future = future;
	}

	public Http2Headers getFrame() {
		return frame;
	}

	public ResponseStreamHandle getResponseListener() {
		return responseListener;
	}

	public XFuture getFuture() {
		return future;
	}
	
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy