Package org.apache.struts2.url
Interface UrlEncoder
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
StrutsUrlEncoder
URL Encoder used internally by Struts
- Since:
- Struts 6.1.0
-
Method Summary
-
Method Details
-
encode
Encodes the input tb be used with URL using the provided encoding- Parameters:
input
- String to encodeencoding
- encoding to use- Returns:
- encoded string
-
encode
Encodes the input to be used with URL using default encoding, e.g.: struts.i18n.encoding- Parameters:
input
- String to encode- Returns:
- encoded string
-