|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.faunos.util.net.http.QueryString
public class QueryString
Utility for parsing a URI for its query string.
Constructor Summary | |
---|---|
QueryString()
|
Method Summary | |
---|---|
boolean |
load(String uri)
Loads the given uri into the instance and returns true
, if successful. |
Map<String,String> |
nameValues()
Returns the name-value map. |
String |
path()
Returns the path. |
String |
queryString()
Returns the query string part of the URI as is. |
String |
uri()
Returns the URI that was passed into the last successful load operation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QueryString()
Method Detail |
---|
public boolean load(String uri)
true
, if successful. Otherwise, false
is returned and
the state of the instance remains unchanged.
public final String uri()
public final String path()
public String queryString()
public Map<String,String> nameValues()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |