|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
@SuppressWarnings("rawtypes") public interface UrlCreator
Creates URL patterns as Strings. A UrlCreator is passed is a set of parameter values and produces a valid relative URI.
Method Summary | |
---|---|
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.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.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, 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.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.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, java.lang.String fragment)
Creates a URL for the given parameters values, controller and action names |
Method Detail |
---|
public java.lang.String createRelativeURL(java.lang.String controller, java.lang.String action, java.util.Map parameterValues, java.lang.String encoding)
controller
- The controller nameaction
- The action nameparameterValues
- The parameter valuesencoding
- The encoding to use for parameters
public java.lang.String createRelativeURL(java.lang.String controller, java.lang.String action, java.lang.String pluginName, java.util.Map parameterValues, java.lang.String encoding)
controller
- The controller nameaction
- The action namepluginName
- The name of the plugin which provides the controllerparameterValues
- The parameter valuesencoding
- The encoding to use for parameters
public java.lang.String createRelativeURL(java.lang.String controller, java.lang.String action, java.util.Map parameterValues, java.lang.String encoding, java.lang.String fragment)
controller
- The controller nameaction
- The action nameparameterValues
- The parameter valuesencoding
- The encoding to use for parametersfragment
- The fragment to append to the end
public java.lang.String createRelativeURL(java.lang.String controller, java.lang.String action, java.lang.String pluginName, java.util.Map parameterValues, java.lang.String encoding, java.lang.String fragment)
controller
- The controller nameaction
- The action namepluginName
- The name of the plugin which provides the controllerparameterValues
- The parameter valuesencoding
- The encoding to use for parametersfragment
- The fragment to append to the end
public java.lang.String createURL(java.util.Map parameterValues, java.lang.String encoding)
parameterValues
- The parameter valuesencoding
- The encoding to use for parameters
public java.lang.String createURL(java.util.Map parameterValues, java.lang.String encoding, java.lang.String fragment)
parameterValues
- 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)
controller
- The controller nameaction
- The action nameparameterValues
- The parameter valuesencoding
- The encoding to use for parameters
public java.lang.String createURL(java.lang.String controller, java.lang.String action, java.lang.String pluginName, java.util.Map parameterValues, java.lang.String encoding)
controller
- The controller nameaction
- The action namepluginName
- The name of the plugin which provides the controllerparameterValues
- The parameter valuesencoding
- The encoding to use for parameters
public java.lang.String createURL(java.lang.String controller, java.lang.String action, java.util.Map parameterValues, java.lang.String encoding, java.lang.String fragment)
controller
- 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 pluginName, java.util.Map parameterValues, java.lang.String encoding, java.lang.String fragment)
controller
- The controller nameaction
- The action namepluginName
- 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 #
Groovy Documentation