Package com.yahoo.net
Class UriTools
- java.lang.Object
-
- com.yahoo.net.UriTools
-
public final class UriTools extends Object
Utility methods for working with URIs.- Author:
- Steinar Knutsen
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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 Detail
-
rawRequest
public static 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. 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
-
-