Parent Directory | Revision Log | Patch
revision 1412 by torben, Wed Apr 20 19:05:01 2011 UTC | revision 1413 by torben, Mon May 2 15:13:56 2011 UTC | |
---|---|---|
# | Line 16 import java.util.Map; | Line 16 import java.util.Map; |
16 | ||
17 | public class HttpUtil { | public class HttpUtil { |
18 | ||
19 | static public Map<String,String> decodeUri(String uri) { | |
20 | String parts[] = uri.split("\\?"); | |
21 | return decodeParams( parts[1] ); | |
22 | } | |
23 | ||
24 | static public Map<String,String> decodeParams(String str) { | static public Map<String,String> decodeParams(String str) { |
25 | Map<String,String> res = new HashMap<String,String>(); | Map<String,String> res = new HashMap<String,String>(); |
26 |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |