public class QueryStringParser extends Object
| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
static QueryStringParser |
getInstance() |
CharEncoder |
getParameterDecoder() |
ParameterMap |
parseQueryString(String queryString)
Parse the query string and build an unmodifiable parameter map of it.
|
public QueryStringParser(CharEncoder parameterDecoder) throws IllegalArgumentException
parameterDecoder - the parameter decoderIllegalArgumentException - if the decoder is nullpublic QueryStringParser()
public static QueryStringParser getInstance()
public CharEncoder getParameterDecoder()
public ParameterMap parseQueryString(String queryString) throws IllegalArgumentException
queryString - the non null query stringIllegalArgumentException - if the query string is nullCopyright © 2025 JBoss by Red Hat. All Rights Reserved.