public class URLEncoderImpl extends Object implements URLEncoder
Constructor and Description |
---|
URLEncoderImpl() |
Modifier and Type | Method and Description |
---|---|
String |
decode(String input)
Given a previously encoded string, returns the original input.
|
String |
encode(String input)
Given an input value containing any characters, returns the input string, or an encoded version of the string (as
outlined above).
|
public URLEncoderImpl()
public String encode(String input)
URLEncoder
encode
in interface URLEncoder
input
- string to be encoded, which may be nullpublic String decode(String input)
URLEncoder
decode
in interface URLEncoder
input
- encoded string (may not be null)5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.