private void addSensorEx(){
		Form form = new Form();
		form.add("name", "Capteur_Vent");
		form.add("date", "2015-01-31 17:14:06");
		form.add("unity", "m/s");
		form.add("sensorType", SensorType.GRAPH.toString());
		form.add("samplingFrequency", 1222);
		form.add("statementFrequency", 1000);
		try {
			ClientConfig clientConfig = new DefaultClientConfig();
			clientConfig.getFeatures().put(JSONConfiguration.FEATURE_POJO_MAPPING, Boolean.TRUE);
			Client client = Client.create(clientConfig);

			WebResource webResource = client.resource(URL_SERVEUR);
			ClientResponse response = webResource.path("rest").path("sensor").path("post").path("param").type(MediaType.APPLICATION_FORM_URLENCODED).post(ClientResponse.class, form);

			if (response.getStatus() != Response.Status.CREATED.getStatusCode()) {
				throw new RuntimeException("Failed : HTTP error code : " + response.getStatus());
			}
			String output = response.getEntity(String.class);
			System.out.println("Sensor : " + output);

		} catch (Exception e) {
			e.printStackTrace();
		}
	}