mx4j.tools.adaptor.http
public class HttpUtil extends Object
Version: $Revision: 1.3 $
| Method Summary | |
|---|---|
| static boolean | booleanVariableValue(HttpInputStream in, String variable, boolean defaultValue)
Returns whether a boolean variable is in the variables. |
| static String | canonicalizePath(String path)
Makes a path canonical
|
| static String | getCodeMessage(int code)
Gets a message apropriate for a give HTTP code
|
| protected static int | indexOf(char[] chars, int length, char chr, int from) |
true or 1 and the answer is true.
Otherwise is falseParameters: path Target path
Returns: The canonicalized path
Parameters: code Reference Code
Returns: The result message
See Also: HttpConstants