Package org.jolokia.jvmagent
Class ParsedUri
java.lang.Object
org.jolokia.jvmagent.ParsedUri
Enhanced URI class in order to provide means to get to the query string
and the request parameters
- Since:
- Mar 21, 2010
- Author:
- roland
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetParameter(String name) Get a single parameter of the parsed URIGet the map with parsed parameters as key-value pairs, where the value is multi valued (array of value)Return the pathinfo fo this query objectgetUri()Get the complete URI which was parsedtoString()
-
Constructor Details
-
ParsedUri
Constructor- Parameters:
pUri- URI to parsepContext- an optional context which is tripped from the path itself
-
-
Method Details
-
getPathInfo
Return the pathinfo fo this query object- Returns:
- path info
-
getUri
Get the complete URI which was parsed- Returns:
- original URI
-
getParameter
Get a single parameter of the parsed URI- Parameters:
name- parameter name- Returns:
- the value of the parameter or
nullif no such parameter is stored
-
getParameterMap
Get the map with parsed parameters as key-value pairs, where the value is multi valued (array of value)- Returns:
- the parameter map
-
toString
-