hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Speirs <bill.spe...@gmail.com>
Subject RequestLine's getUri() Return Type
Date Thu, 16 Jun 2011 13:50:34 GMT
Why does RequestLine's getUri() return a String instead of a URI
object? I find that most of the time when I'm calling getUri() I just
turn around and create a URI Object so I can parse out the pieces I
need: schema, port, etc.

I also noticed that BasicRequestLine, for example, doesn't perform any
validation on the URI. If RequestLine was changed to return a URI
object, it would necessitate the validating (through creating the URI
object) of the URI.



To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org

View raw message