protected HttpMethod createMethod(Exchange exchange) { String uri = HttpHelper.createURL(exchange, endpoint); return new GetMethod(uri); }
protected HttpMethod createMethod(Exchange exchange) throws Exception { String url = HttpHelper.createURL(exchange, getEndpoint()); URI uri = HttpHelper.createURI(exchange, url, getEndpoint());