org.rhq.core.gui.util
Class UrlUtility

java.lang.Object
  extended by org.rhq.core.gui.util.UrlUtility

public abstract class UrlUtility
extends Object

A set of utility methods for working with URLs.

Author:
Ian Springer

Constructor Summary
UrlUtility()
           
 
Method Summary
static String addParametersToQueryString(String url, Map<String,String> parameters)
          Add the specified parameters to the specified URL's query string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UrlUtility

public UrlUtility()
Method Detail

addParametersToQueryString

@NotNull
public static String addParametersToQueryString(@NotNull
                                                        String url,
                                                        @Nullable
                                                        Map<String,String> parameters)
Add the specified parameters to the specified URL's query string.

Parameters:
url - a URL
parameters - a map of request parameters
Returns:
the updated URL


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.