public Map < String , String > getUrlParams ( URI uri ) throws URIException { Map < String , String > map = new HashMap <> ( ) ; for ( NameValuePair parameter : getUrlParamParser ( uri . toString ( ) ) . parseParameters ( uri . getEscapedQuery ( ) ) ) { String value = parameter . getValue ( ) ; if ( value == null ) { value = "" ; } map . put ( parameter . getName ( ) , value ) ; } return map ; }
Returns the URL parameters for the given URL based on the parser associated with the first context found that includes the URL or the default parser if it is not in a context