Class URLEncoderImpl
- java.lang.Object
-
- org.apache.tapestry5.internal.services.URLEncoderImpl
-
- All Implemented Interfaces:
URLEncoder
public class URLEncoderImpl extends Object implements URLEncoder
-
-
Constructor Summary
Constructors Constructor Description URLEncoderImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringdecode(String input)Given a previously encoded string, returns the original input.Stringencode(String input)Given an input value containing any characters, returns the input string, or an encoded version of the string (as outlined above).
-
-
-
Constructor Detail
-
URLEncoderImpl
public URLEncoderImpl()
-
-
Method Detail
-
encode
public String encode(String input)
Description copied from interface:URLEncoderGiven an input value containing any characters, returns the input string, or an encoded version of the string (as outlined above).- Specified by:
encodein interfaceURLEncoder- Parameters:
input- string to be encoded, which may be null- Returns:
- encoded version of input
-
decode
public String decode(String input)
Description copied from interface:URLEncoderGiven a previously encoded string, returns the original input.- Specified by:
decodein interfaceURLEncoder- Parameters:
input- encoded string (may not be null)- Returns:
- decoded input
-
-