Why does RequestLine's getUri() return a String instead of a URI
(http://download.oracle.com/javase/6/docs/api/java/net/URI.html)
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.

Thoughts?

Bill-

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to