public class QueryStringDecoder extends Object
QueryStringDecoder decoder = new QueryStringDecoder("/hello?recipient=world"); assert decoder.getPath().equals("/hello"); assert decoder.getParameters().get("recipient").equals("world");
QueryStringEncoder
Constructor and Description |
---|
QueryStringDecoder(String uri)
Creates a new decoder that decodes the specified URI.
|
QueryStringDecoder(String uri,
String charset)
Creates a new decoder that decodes the specified URI encoded in the
specified charset.
|
QueryStringDecoder(URI uri)
Creates a new decoder that decodes the specified URI.
|
QueryStringDecoder(URI uri,
String charset)
Creates a new decoder that decodes the specified URI encoded in the
specified charset.
|
public QueryStringDecoder(String uri)
public QueryStringDecoder(String uri, String charset)
public QueryStringDecoder(URI uri)
Copyright © 2008-2012 JBoss, by Red Hat. All Rights Reserved.