Allow to access uri of QueryStringDecoder. Related to [#2896]
Motivation: Sometimes it is useful to be able to access the uri that was used to initialize the QueryStringDecoder. Modifications: Add method which allows to retrieve the uri. Result: Allow to retrieve the uri that was used to create the QueryStringDecoder.
This commit is contained in:
parent
c9a1356e20
commit
ae8493a567
@ -165,6 +165,13 @@ public class QueryStringDecoder {
|
|||||||
this.maxParams = maxParams;
|
this.maxParams = maxParams;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the uri used to initialize this {@link QueryStringDecoder}.
|
||||||
|
*/
|
||||||
|
public String uri() {
|
||||||
|
return uri;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the decoded path string of the URI.
|
* Returns the decoded path string of the URI.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user