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

com.fireflysource.net.tcp.secure.ApplicationProtocolSelector Maven / Gradle / Ivy

There is a newer version: 5.0.2
Show newest version
package com.fireflysource.net.tcp.secure;

import java.util.List;

/**
 * The TLS application layer protocol negotiation.
 *
 * @author Pengtao Qiu
 */
public interface ApplicationProtocolSelector {

    /**
     * The protocol negotiation result.
     *
     * @return The protocol negotiation result.
     */
    default String getApplicationProtocol() {
        return "";
    }

    /**
     * The current connection supports the protocols.
     *
     * @return The current connection supports the protocols.
     */
    List getSupportedApplicationProtocols();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy