Spray valve for can or cylinder of fire extinguishers