org.qas.api.http.Protocol Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtest-sdk-java Show documentation
Show all versions of qtest-sdk-java Show documentation
A java SDK client wrap qTest REST API
The newest version!
package org.qas.api.http;
/**
* Protocol
*
* @author: Dzung Nguyen
* @version: $Id Protocol 2014-03-26 14:49:30z dungvnguyen $
* @since 1.0
*/
public enum Protocol {
/**
* HTTP protocol - Using the HTTP protocol is less secure than HTTPS, but can
* slightly reduce the system resources used when communicating with the
* target server.
*/
HTTP("http"),
/**
* HTTPS protocol - Using the HTTPS protocol is more secure than HTTP, but
* may use slightly more system resources.
*/
HTTPS("https");
//~ class members ===========================================================
private final String protocol;
Protocol(String protocol) {
this.protocol = protocol;
}
@Override
public String toString() {
return protocol;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy