com.firefly.client.http2.HTTPClientConnection Maven / Gradle / Ivy
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);
}