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

com.netease.stream.http.Protocol Maven / Gradle / Ivy

package com.netease.stream.http;

/**
 * Represents the communication protocol to use when sending requests to AWS.
 * 
 */
public enum Protocol {

    /**
     * HTTP Protocol -
     */
    HTTP("http"),

    /**
     * HTTPS Protocol - Using the HTTPS protocol is more secure than using the HTTP protocol.
     */
    HTTPS("https");

    private final String protocol;

    private Protocol(String protocol) {
        this.protocol = protocol;
    }

    /*
     * (non-Javadoc)
     * 
     * @see java.lang.Enum#toString()
     */
    @Override
    public String toString() {
        return protocol;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy