|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.portal.common.http.QueryStringParser
public class QueryStringParser
A parser for query string for the HTTP protocol. This class is thread safe.
| Constructor Summary | |
|---|---|
QueryStringParser()
Creates a new parser with a decoder that will decode x-www-formurlencoded parameters with the UTF-8 charset. |
|
QueryStringParser(CharEncoder parameterDecoder)
Create a new parser with the specified parameter decoder. |
|
| Method Summary | |
|---|---|
static QueryStringParser |
getInstance()
|
CharEncoder |
getParameterDecoder()
|
ParameterMap |
parseQueryString(java.lang.String queryString)
Parse the query string and build an unmodifiable parameter map of it. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QueryStringParser(CharEncoder parameterDecoder)
throws java.lang.IllegalArgumentException
parameterDecoder - the parameter decoder
java.lang.IllegalArgumentException - if the decoder is nullpublic QueryStringParser()
| Method Detail |
|---|
public static QueryStringParser getInstance()
public CharEncoder getParameterDecoder()
public ParameterMap parseQueryString(java.lang.String queryString)
throws java.lang.IllegalArgumentException
queryString - the non null query string
java.lang.IllegalArgumentException - if the query string is null
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||