|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--mx4j.adaptor.http.HttpUtil
Utility methods for the HTTP adaptor
| Constructor Summary | |
HttpUtil()
|
|
| Method Summary | |
static boolean |
booleanVariableValue(HttpInputStream in,
java.lang.String variable,
boolean defaultValue)
Returns whether a boolean variable is in the variables. |
static java.lang.String |
canonicalizePath(java.lang.String path)
Makes a path canonical |
static java.lang.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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public HttpUtil()
| Method Detail |
public static java.lang.String getCodeMessage(int code)
code - Reference Code
HttpConstantspublic static java.lang.String canonicalizePath(java.lang.String path)
path - Target path
protected static int indexOf(char[] chars,
int length,
char chr,
int from)
public static boolean booleanVariableValue(HttpInputStream in,
java.lang.String variable,
boolean defaultValue)
true or 1 and the answer is true.
Otherwise is false
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||