this.clientHelper.getLogger().log(Level.FINE,
this.clientHelper.getLogger().log(Level.WARNING,
	public Status sendRequest(Request request)	{		Status result = null;		try		{			final Representation entity = request.getEntity();			// Set the request headers			for (Parameter header : getRequestHeaders())			{				getHttpMethod().setRequestHeader(header.getName(), header.getValue());			}			// For those method that accept enclosing entites, provide it			if ((entity != null) && (getHttpMethod() instanceof EntityEnclosingMethod))			{				EntityEnclosingMethod eem = (EntityEnclosingMethod) getHttpMethod();				eem.setRequestEntity(new RequestEntity()				{					public long getContentLength()					{						return entity.getSize();					}					public String getContentType()					{						return entity.getMediaType().toString();					}					public boolean isRepeatable()					{						return !entity.isTransient();					}					public void writeRequest(OutputStream os) throws IOException					{						entity.write(os);					}				});			}			// Ensure that the connections is active			this.clientHelper.getHttpClient().executeMethod(getHttpMethod());						// Now we can access the status code, this MUST happen after closing any open request stream.			result = new Status(getStatusCode(), null, getReasonPhrase(), null);			// If there is not response body, immediatly release the connection			if(getHttpMethod().getResponseBodyAsStream() == null)			{				getHttpMethod().releaseConnection();			}		}		catch (IOException ioe)		{			this.clientHelper.getLogger().log(Level.FINE,					"An error occured during the communication with the remote HTTP server.",					ioe);			result = new Status(Status.CONNECTOR_ERROR_COMMUNICATION,					"Unable to complete the HTTP call due to a communication error with the remote server. "							+ ioe.getMessage());			// Release the connection			getHttpMethod().releaseConnection();		}		return result;	}