com.meterware.httpunit
public class HttpUnitUtils extends Object
| Field Summary | |
|---|---|
| static int | DEFAULT_BUFFER_SIZE |
| static String | DEFAULT_CHARACTER_SET |
| static int | DEFAULT_TEXT_BUFFER_SIZE |
| Method Summary | |
|---|---|
| static String | decode(String byteString)
Returns an interpretation of the specified URL-encoded string, using the iso-8859-1 character set.
|
| static String | decode(String string, String charset)
Decodes a URL safe string into its original form using the
specified character set. |
| static DocumentBuilder | newParser()
creates a parser using JAXP API. |
| static String[] | parseContentTypeHeader(String header)
Returns the content type and encoding as a pair of strings.
|
| static String | stripQuotes(String value) |
Since: 1.6
org.apache.commons.codec.net.URLCodec class.
Parameters: string URL safe string to convert into its original form
Returns: original string
Throws: IllegalArgumentException thrown if URL decoding is unsuccessful,