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

com.king.platform.net.http.netty.HttpClientCaller Maven / Gradle / Ivy

// Copyright (C) king.com Ltd 2016
// https://github.com/king/king-http-client
// Author: Magnus Gustafsson
// License: Apache 2.0, https://raw.github.com/king/king-http-client/LICENSE-APACHE

package com.king.platform.net.http.netty;


import com.king.platform.net.http.*;
import com.king.platform.net.http.netty.eventbus.ExternalEventTrigger;
import com.king.platform.net.http.netty.request.NettyHttpClientRequest;
import io.netty.handler.codec.http.HttpMethod;

import java.util.concurrent.CompletableFuture;
import java.util.concurrent.Executor;

public interface HttpClientCaller {
	 CompletableFuture> execute(HttpMethod httpMethod, NettyHttpClientRequest nettyHttpClientRequest, HttpCallback httpCallback,
												   NioCallback nioCallback, UploadCallback uploadCallback, ResponseBodyConsumer responseBodyConsumer,
												   Executor callbackExecutor, ExternalEventTrigger externalEventTrigger, CustomCallbackSubscriber customCallbackSubscriber, int idleTimeoutMillis,
												   int totalRequestTimeoutMillis, boolean followRedirects, boolean keepAlive);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy