title: UrlRewriteFilter and CouchbaseClient depend on different versions of httpclient
body: <p><a href="http://www.tuckey.org/urlrewrite/" rel="nofollow">UrlRewriteFilter</a> depends on httpclient-3.1, while <a href="http://www.couchbase.com/develop/java/next" rel="nofollow">Couchbase client</a> depends on httpclient-4.0.</p>
  
  <p>I came up with two choices:</p>
  
  <ol>
  <li><p>Use two different versions of httpclient together</p></li>
  <li><p>Replace UrlRewriteFilter with other solutions</p></li>
  </ol>
  
  <p>I found that using httpclient 3.1 and 4.0 together is ok (<a href="https://groups.google.com/forum/?fromgroups#!topic/jets3t-users/fUzcEEEJmx4" rel="nofollow">reference</a>), but is it the best way?</p>
  
  <p>As for the second choice, I use proxying, redirecting, and forwarding with UrlRewriteFilter. Redirecting and forwarding would be possible if I user Spring MVC. But I have no idea how can I proxy some URIs without using Apache web server or haproxy.</p>
  
  <p>Any advices or corrections for this question are welcomed.</p>