code: public void setProtocol(String protocol)
      throws ConfigException
    {
      _protocol = protocol;
  
      String []values = Pattern.compile("\\s+").split(protocol);
  
      int protocolFlags = _defaultProtocolFlags;
      for (int i = 0; i < values.length; i++) {
        if (values[i].equalsIgnoreCase("+all")) {
          protocolFlags = ~0;
        }
        else if (values[i].equalsIgnoreCase("-all")) {
          protocolFlags = 0;
        }
        else if (values[i].equalsIgnoreCase("+sslv2")) {
          protocolFlags |= PROTOCOL_SSL2;
        }
        else if (values[i].equalsIgnoreCase("-sslv2")) {
          protocolFlags &= ~PROTOCOL_SSL2;
        }
        else if (values[i].equalsIgnoreCase("+sslv3")) {
          protocolFlags |= PROTOCOL_SSL3;
        }
        else if (values[i].equalsIgnoreCase("-sslv3")) {
          protocolFlags &= ~PROTOCOL_SSL3;
        }
        else if (values[i].equalsIgnoreCase("+tlsv1")) {
          protocolFlags |= PROTOCOL_TLS1;
        }
        else if (values[i].equalsIgnoreCase("-tlsv1")) {
          protocolFlags &= ~PROTOCOL_TLS1;
        }
        else if (values[i].equalsIgnoreCase("+tlsv1.1")) {
          protocolFlags |= PROTOCOL_TLS1_1;
        }
        else if (values[i].equalsIgnoreCase("-tlsv1.1")) {
          protocolFlags &= ~PROTOCOL_TLS1_1;
        }
        else if (values[i].equalsIgnoreCase("+tlsv1.2")) {
          protocolFlags |= PROTOCOL_TLS1_2;
        }
        else if (values[i].equalsIgnoreCase("-tlsv1.2")) {
          protocolFlags &= ~PROTOCOL_TLS1_2;
        }
        else
          throw new ConfigException(L.l("unknown protocol value '{0}'",
                                        protocol));
      }
  
      if (values.length > 0)
        _protocolFlags = protocolFlags;
    }
docs: Sets the protocol: +SSLv3