public final class UrlUtils extends Object
Modifier and Type | Method and Description |
---|---|
static String |
buildReturnUrl(String strControllerUrl,
String strView,
Customer customer)
Builds the URL to return to plugin gru after action on another plugin
|
static String |
buildReturnUrl(String strControllerUrl,
String strView,
Map<String,String> mapParameters)
Builds the URL to return to plugin gru after action on another plugin
|
static String |
encodeUrl(String strUrl)
Encodes a URL
|
public static String encodeUrl(String strUrl)
strUrl
- the URLpublic static String buildReturnUrl(String strControllerUrl, String strView, Map<String,String> mapParameters)
strControllerUrl
- the controller URLstrView
- the view to displaymapParameters
- the map of parameterspublic static String buildReturnUrl(String strControllerUrl, String strView, Customer customer)
strControllerUrl
- the controller URLstrView
- the view to displaycustomer
- the customerCopyright © 2016 City of Paris. All rights reserved.