/** * Return the request {@link URI}. Note that if the request got redirected, the value of the * {@link URI} will be the last valid redirect url. * * @return the request {@link URI}. */ public URI getUri() { try { return ahcResponse.getUri().toJavaNetURI(); } catch (URISyntaxException e) { throw new RuntimeException(e); } } }
/** * Return the request {@link URI}. Note that if the request got redirected, the value of the * {@link URI} will be the last valid redirect url. * * @return the request {@link URI}. */ public URI getUri() { try { return ahcResponse.getUri().toJavaNetURI(); } catch (URISyntaxException e) { throw new RuntimeException(e); } } }