Package org.apache.struts2.url
Class StrutsUrlDecoder
java.lang.Object
org.apache.struts2.url.StrutsUrlDecoder
- All Implemented Interfaces:
Serializable
,UrlDecoder
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionDecodes the input using default encoding, e.g.: struts.i18n.encodingDecodes the input using default encoding, e.g.: struts.i18n.encodingDecodes the input using default encoding, e.g.: struts.i18n.encodingvoid
setEncoding
(String encoding)
-
Constructor Details
-
StrutsUrlDecoder
public StrutsUrlDecoder()
-
-
Method Details
-
setEncoding
-
decode
Description copied from interface:UrlDecoder
Decodes the input using default encoding, e.g.: struts.i18n.encoding- Specified by:
decode
in interfaceUrlDecoder
- Parameters:
input
- String to decodeencoding
- encoding used in decodingisQueryString
- indicates if input is a query string- Returns:
- the decoded string
-
decode
Description copied from interface:UrlDecoder
Decodes the input using default encoding, e.g.: struts.i18n.encoding- Specified by:
decode
in interfaceUrlDecoder
- Parameters:
input
- String to decodeisQueryString
- indicates if input is a query string- Returns:
- the decoded string
-
decode
Description copied from interface:UrlDecoder
Decodes the input using default encoding, e.g.: struts.i18n.encoding- Specified by:
decode
in interfaceUrlDecoder
- Parameters:
input
- String to decode- Returns:
- the decoded string
-