Class EncoderCache
-
- All Implemented Interfaces:
public class EncoderCache
-
-
Field Summary
Fields Modifier and Type Field Description public final static String
URL_ARGUMENT_ENCODING
-
Constructor Summary
Constructors Constructor Description EncoderCache(int cacheSize)
-
Method Summary
Modifier and Type Method Description String
getEncoded(String k)
Get the specified value URL encoded using UTF-8 encoding String
getEncoded(String k, String contentEncoding)
Get the specified value URL encoded using the specified encoding -
-
Method Detail
-
getEncoded
String getEncoded(String k)
Get the specified value URL encoded using UTF-8 encoding
- Parameters:
k
- the value to encode
-
getEncoded
String getEncoded(String k, String contentEncoding)
Get the specified value URL encoded using the specified encoding
- Parameters:
k
- the value to encodecontentEncoding
- the encoding to use when URL encoding
-
-
-
-