public class QueryStringParser extends Object
Constructor and Description |
---|
QueryStringParser() |
QueryStringParser(String charset) |
QueryStringParser(String charset,
String defaultCharset) |
Modifier and Type | Method and Description |
---|---|
protected void |
add(String key,
String value) |
QueryStringParser |
append(Map<String,String> values) |
QueryStringParser |
append(String key,
String value) |
String |
getAndSign() |
String |
getCharacterEncoding() |
String |
getEqualSign() |
void |
parse(String queryString)
解析query string。
|
QueryStringParser |
setAndSign(String andSign)
设置用来替代“&”的字符。
|
QueryStringParser |
setEqualSign(String equalSign)
设置用来替代“=”的字符。
|
String |
toQueryString() |
public QueryStringParser()
public QueryStringParser(String charset)
public String getCharacterEncoding()
public String getEqualSign()
public QueryStringParser setEqualSign(String equalSign)
public String getAndSign()
public QueryStringParser setAndSign(String andSign)
public QueryStringParser append(String key, String value)
public QueryStringParser append(Map<String,String> values)
public String toQueryString()
public void parse(String queryString)
Copyright © 2006–2018 TinyGroup. All rights reserved.