Package org.apache.struts2.url
Class StrutsUrlEncoder
java.lang.Object
org.apache.struts2.url.StrutsUrlEncoder
- All Implemented Interfaces:
Serializable
,UrlEncoder
- See Also:
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
StrutsUrlEncoder
public StrutsUrlEncoder()
-
-
Method Details
-
setEncoding
-
encode
Description copied from interface:UrlEncoder
Encodes the input tb be used with URL using the provided encoding- Specified by:
encode
in interfaceUrlEncoder
- Parameters:
input
- String to encodeencoding
- encoding to use- Returns:
- encoded string
-
encode
Description copied from interface:UrlEncoder
Encodes the input to be used with URL using default encoding, e.g.: struts.i18n.encoding- Specified by:
encode
in interfaceUrlEncoder
- Parameters:
input
- String to encode- Returns:
- encoded string
-