public String getHttpCommand() {
		String ret = "";
		if (this.method.equals(HttpMethod.GET)) {
			ret = "GET " + this.url.getPath() + " HTTP/1.1 \r\n" + "Host: "
					+ this.url.getHost() + "\r\n";

			Enumeration<String> e = this.header.keys();
			String field;
			while (e.hasMoreElements()) {
				field = e.nextElement();
				ret = ret + field + ": " + this.header.get(field) + " \r\n";

				ret = ret + "\r\n" + this.Body;
			}

		} else if (this.method.equals(HttpMethod.POST)) {

			ret = "POST " + this.url.getPath() + " HTTP/1.1 \r\n" + "Host: "
					+ this.url.getHost() + "\r\n";
			Enumeration<String> e = this.header.keys();
			String field;
			while (e.hasMoreElements()) {
				field = e.nextElement();
				ret = ret + field + ": " + this.header.get(field) + " \r\n";

				
			}

			ret = ret + "Content-Length: " + this.Body.length() + "\r\n\r\n"
					+ this.Body;

		} else if (this.method.equals(HttpMethod.PUT)) {

			ret = "POST " + this.url.getPath() + "?_method=put HTTP/1.1 \r\n"
					+ "Host: " + this.url.getHost() + "\r\n";

			Enumeration<String> e = this.header.keys();
			String field;
			while (e.hasMoreElements()) {
				field = e.nextElement();
				ret = ret + field + ": " + this.header.get(field) + " \r\n";

			}
			ret = ret + "Content-Length: " + this.Body.length() + "\r\n\r\n"
					+ this.Body;

		} else if (this.method.equals(HttpMethod.DELETE)) {

			ret = "DELETE " + this.url.getPath() + "?_method=put HTTP/1.1 \r\n"
					+ "Host: " + this.url.getHost() + "\r\n";
			Enumeration<String> e = this.header.keys();
			String field;
			while (e.hasMoreElements()) {
				field = e.nextElement();
				ret = ret + field + ": " + this.header.get(field) + " \r\n";
			}

			ret = ret + "Content-Length: " + this.Body.length() + "\r\n\r\n"
					+ this.Body;
		}

		return ret;
	}