Code example for HttpDelete

Methods: setURI

0
				post.setEntity(new UrlEncodedFormEntity(HeaderData, HTTP.UTF_8));
				response = httpClient.execute(post);
				break; 
			case HttpMode.DELETE:
				Log.v(TAG, "DELETE " + myurl);
				HttpDelete delete = new HttpDelete();
				delete.setURI(new URI(myurl));
				response = httpClient.execute(delete);
				break; 
			default: 
				Log.wtf("HTTP-MODE", "Unknown Http-Mode");
				return null; 
			} 
		} catch (Exception e) {
			Log.e(TAG, "No Networkconnection available");
			Log.w(TAG, Log.getStackTraceString(e));
			return ""; 
		} 
		Log.v(TAG, "Http-Status: " + response.getStatusLine().getStatusCode());
		if (response.getEntity() == null)
			return "";