org.apache.jmeter.protocol.http.util
Class EncoderCache
public class EncoderCache
static String | URL_ARGUMENT_ENCODING- The encoding which should be usd for URLs, according to HTTP specification
|
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
|
URL_ARGUMENT_ENCODING
public static final String URL_ARGUMENT_ENCODING
The encoding which should be usd for URLs, according to HTTP specification
EncoderCache
public EncoderCache(int cacheSize)
getEncoded
public String getEncoded(String k)
Get the specified value URL encoded using UTF-8 encoding
- the value URL encoded using UTF-8
getEncoded
public String getEncoded(String k,
String contentEncoding)
throws UnsupportedEncodingException Get the specified value URL encoded using the specified encoding
k - the value to encodecontentEncoding - the encoding to use when URL encoding
- the value URL encoded using the specified encoding
Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.