Package com.yahoo.net
Class UriTools
java.lang.Object
com.yahoo.net.UriTools
Utility methods for working with URIs.
- Author:
- Steinar Knutsen
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
rawRequest
(URI uri) Build a string representation of the normalized form of the given URI, containg the path and optionally query and fragment parts.
-
Method Details
-
rawRequest
Build a string representation of the normalized form of the given URI, containg the path and optionally query and fragment parts. The query part will be delimeted from the preceding data with "?" and the fragment with "#".- Parameters:
uri
- source for path, query and fragment in returned data- Returns:
- a string containing path, and optionally query and fragment, delimited by question mark and hash
-