8687888990919293949596
switch (supportedProtocol) { case FILE: protocolHandler = new FileProtocolHandler(); break; case HTTP: protocolHandler = new HttpProtocolHandler(); break; case HTTPS: protocolHandler = new HttpsProtocolHandler(); break; case SFTP: