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

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

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

import java.nio.ByteBuffer;

import com.firefly.codec.http2.frame.SettingsFrame;
import com.firefly.codec.http2.model.MetaData;
import com.firefly.codec.http2.stream.HTTPConnection;
import com.firefly.codec.http2.stream.HTTPOutputStream;
import com.firefly.utils.concurrent.Promise;

public interface HTTPClientConnection extends HTTPConnection {

	public void send(MetaData.Request request, Promise promise, ClientHTTPHandler handler);

	public void send(MetaData.Request request, ClientHTTPHandler handler);

	public void send(MetaData.Request request, ByteBuffer buffer, ClientHTTPHandler handler);

	public void send(MetaData.Request request, ByteBuffer[] buffers, ClientHTTPHandler handler);

	public HTTPOutputStream sendRequestWithContinuation(MetaData.Request request, ClientHTTPHandler handler);

	public HTTPOutputStream getHTTPOutputStream(MetaData.Request request, ClientHTTPHandler handler);

	public void upgradeHTTP2(final MetaData.Request request, final SettingsFrame settings,
			final Promise promise, final ClientHTTPHandler handler);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy