1 package com.atlassian.httpclient.api.factory;
2
3 /**
4 * Represents a scheme for communicating with a host (e.g. HTTP or HTTPS)
5 */
6 public enum Scheme {
7 HTTP("http"), HTTPS("https");
8
9 private final String schemeName;
10
11 public String schemeName() {
12 return schemeName;
13 }
14
15 Scheme(String name) {
16 schemeName = name;
17 }
18 }