public class DefaultUrlCreator extends java.lang.Object implements UrlCreator
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ARGUMENT_ID |
| Constructor and Description |
|---|
DefaultUrlCreator(java.lang.String controller,
java.lang.String action) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
createRelativeURL(java.lang.String controller,
java.lang.String action,
java.util.Map parameterValues,
java.lang.String encoding)
Creates a URL for the given parameters values, controller and action names without the context path information
|
java.lang.String |
createRelativeURL(java.lang.String controller,
java.lang.String action,
java.util.Map parameterValues,
java.lang.String encoding,
java.lang.String fragment)
Creates a URL for the given parameters values, controller and action names without the context path information
|
java.lang.String |
createRelativeURL(java.lang.String controller,
java.lang.String action,
java.lang.String pluginName,
java.util.Map parameterValues,
java.lang.String encoding)
Creates a URL for the given parameters values, controller and action names without the context path information
|
java.lang.String |
createRelativeURL(java.lang.String controller,
java.lang.String action,
java.lang.String namespace,
java.lang.String pluginName,
java.util.Map parameterValues,
java.lang.String encoding)
Creates a URL for the given parameters values, controller and action names without the context path information
|
java.lang.String |
createRelativeURL(java.lang.String controller,
java.lang.String action,
java.lang.String namespace,
java.lang.String pluginName,
java.util.Map parameterValues,
java.lang.String encoding,
java.lang.String fragment)
Creates a URL for the given parameters values, controller and action names without the context path information
|
java.lang.String |
createURL(java.util.Map parameterValues,
java.lang.String encoding)
Creates a URL for the given parameter values
|
java.lang.String |
createURL(java.util.Map parameterValues,
java.lang.String encoding,
java.lang.String fragment)
Creates a URL for the given parameter values
|
java.lang.String |
createURL(java.lang.String controller,
java.lang.String action,
java.util.Map parameterValues,
java.lang.String encoding)
Creates a URL for the given parameters values, controller and action names
|
java.lang.String |
createURL(java.lang.String controller,
java.lang.String action,
java.util.Map parameterValues,
java.lang.String encoding,
java.lang.String fragment)
Creates a URL for the given parameters values, controller and action names
|
java.lang.String |
createURL(java.lang.String controller,
java.lang.String action,
java.lang.String pluginName,
java.util.Map parameterValues,
java.lang.String encoding)
Creates a URL for the given parameters values, controller and action names
|
java.lang.String |
createURL(java.lang.String controller,
java.lang.String action,
java.lang.String namespace,
java.lang.String pluginName,
java.util.Map parameterValues,
java.lang.String encoding)
Creates a URL for the given parameters values, controller and action names
|
java.lang.String |
createURL(java.lang.String controller,
java.lang.String action,
java.lang.String namespace,
java.lang.String pluginName,
java.util.Map parameterValues,
java.lang.String encoding,
java.lang.String fragment)
Creates a URL for the given parameters values, controller and action names
|
public static final java.lang.String ARGUMENT_ID
public DefaultUrlCreator(java.lang.String controller,
java.lang.String action)
public java.lang.String createURL(java.util.Map parameterValues,
java.lang.String encoding)
UrlCreatorcreateURL in interface UrlCreatorparameterValues - The parameter valuesencoding - The encoding to use for parameterspublic java.lang.String createURL(java.util.Map parameterValues,
java.lang.String encoding,
java.lang.String fragment)
UrlCreatorcreateURL in interface UrlCreatorparameterValues - The parameter valuesencoding - The encoding to use for parametersfragment - The URL fragment to be appended to the URL following a #public java.lang.String createURL(java.lang.String controller,
java.lang.String action,
java.util.Map parameterValues,
java.lang.String encoding)
UrlCreatorcreateURL in interface UrlCreatorcontroller - The controller nameaction - The action nameparameterValues - The parameter valuesencoding - The encoding to use for parameterspublic java.lang.String createURL(java.lang.String controller,
java.lang.String action,
java.lang.String pluginName,
java.util.Map parameterValues,
java.lang.String encoding)
UrlCreatorcreateURL in interface UrlCreatorcontroller - The controller nameaction - The action namepluginName - The name of the plugin which provides the controllerparameterValues - The parameter valuesencoding - The encoding to use for parameterspublic java.lang.String createURL(java.lang.String controller,
java.lang.String action,
java.lang.String namespace,
java.lang.String pluginName,
java.util.Map parameterValues,
java.lang.String encoding)
UrlCreatorcreateURL in interface UrlCreatorcontroller - The controller nameaction - The action namenamespace - The controller namespacepluginName - The name of the plugin which provides the controllerparameterValues - The parameter valuesencoding - The encoding to use for parameterspublic java.lang.String createRelativeURL(java.lang.String controller,
java.lang.String action,
java.util.Map parameterValues,
java.lang.String encoding)
UrlCreatorcreateRelativeURL in interface UrlCreatorcontroller - The controller nameaction - The action nameparameterValues - The parameter valuesencoding - The encoding to use for parameterspublic java.lang.String createRelativeURL(java.lang.String controller,
java.lang.String action,
java.lang.String pluginName,
java.util.Map parameterValues,
java.lang.String encoding)
UrlCreatorcreateRelativeURL in interface UrlCreatorcontroller - The controller nameaction - The action namepluginName - The name of the plugin which provides the controllerparameterValues - The parameter valuesencoding - The encoding to use for parameterspublic java.lang.String createRelativeURL(java.lang.String controller,
java.lang.String action,
java.lang.String namespace,
java.lang.String pluginName,
java.util.Map parameterValues,
java.lang.String encoding)
UrlCreatorcreateRelativeURL in interface UrlCreatorcontroller - The controller nameaction - The action namenamespace - The controller namespacepluginName - The name of the plugin which provides the controllerparameterValues - The parameter valuesencoding - The encoding to use for parameterspublic java.lang.String createRelativeURL(java.lang.String controller,
java.lang.String action,
java.util.Map parameterValues,
java.lang.String encoding,
java.lang.String fragment)
UrlCreatorcreateRelativeURL in interface UrlCreatorcontroller - The controller nameaction - The action nameparameterValues - The parameter valuesencoding - The encoding to use for parametersfragment - The fragment to append to the endpublic java.lang.String createRelativeURL(java.lang.String controller,
java.lang.String action,
java.lang.String namespace,
java.lang.String pluginName,
java.util.Map parameterValues,
java.lang.String encoding,
java.lang.String fragment)
UrlCreatorcreateRelativeURL in interface UrlCreatorcontroller - The controller nameaction - The action namenamespace - The controller namespacepluginName - The name of the plugin which provides the controllerparameterValues - The parameter valuesencoding - The encoding to use for parametersfragment - The fragment to append to the endpublic java.lang.String createURL(java.lang.String controller,
java.lang.String action,
java.util.Map parameterValues,
java.lang.String encoding,
java.lang.String fragment)
UrlCreatorcreateURL in interface UrlCreatorcontroller - The controller nameaction - The action nameparameterValues - The parameter valuesencoding - The encoding to use for parametersfragment - The URL fragment to be appended to the URL following a #public java.lang.String createURL(java.lang.String controller,
java.lang.String action,
java.lang.String namespace,
java.lang.String pluginName,
java.util.Map parameterValues,
java.lang.String encoding,
java.lang.String fragment)
UrlCreatorcreateURL in interface UrlCreatorcontroller - The controller nameaction - The action namenamespace - The controller namespacepluginName - The name of the plugin which provides the controllerparameterValues - The parameter valuesencoding - The encoding to use for parametersfragment - The URL fragment to be appended to the URL following a #