title: How to extract the relative url from the absolute url in Java
body: <p>I have this website:</p>
  
  <pre><code>https://asd.com/somestuff/another.html
  </code></pre>
  
  <p>and I want to extract the relative part out of it:</p>
  
  <pre><code>somestuff/another.html
  </code></pre>
  
  <p>How do I do that?</p>
  
  <p>EDIT: I was offered an answer to a question, but the problem there was to build the absolute url out of the relative which is not what I'm interested in.</p>