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

com.fireflysource.net.http.common.HttpConnection Maven / Gradle / Ivy

There is a newer version: 5.0.2
Show newest version
package com.fireflysource.net.http.common;

import com.fireflysource.net.Connection;
import com.fireflysource.net.http.common.model.HttpVersion;
import com.fireflysource.net.tcp.TcpCoroutineDispatcher;

/**
 * The HTTP connection.
 *
 * @author Pengtao Qiu
 */
public interface HttpConnection extends Connection, TcpCoroutineDispatcher {

    /**
     * Get the HTTP version.
     *
     * @return The HTTP version.
     */
    HttpVersion getHttpVersion();

    /**
     * If you enable the TLS protocol, it returns true.
     *
     * @return If you enable the TLS protocol, it returns true.
     */
    boolean isSecureConnection();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy