Class EncoderCache
java.lang.Object
org.apache.jmeter.protocol.http.util.EncoderCache
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringThe encoding which should be usd for URLs, according to HTTP specification
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetEncoded(String k) Get the specified value URL encoded using UTF-8 encodinggetEncoded(String k, String contentEncoding) Get the specified value URL encoded using the specified encoding
- 
Field Details- 
URL_ARGUMENT_ENCODINGThe encoding which should be usd for URLs, according to HTTP specification
 
- 
- 
Constructor Details- 
EncoderCachepublic EncoderCache(int cacheSize) 
 
- 
- 
Method Details- 
getEncodedGet the specified value URL encoded using UTF-8 encoding- Parameters:
- k- the value to encode
- Returns:
- the value URL encoded using UTF-8
 
- 
getEncodedGet the specified value URL encoded using the specified encoding- Parameters:
- k- the value to encode
- contentEncoding- the encoding to use when URL encoding
- Returns:
- the value URL encoded using the specified encoding
- Throws:
- UnsupportedEncodingException- if the specified encoding is not supported
 
 
-