org.hecl.net
Class HttpCmd
- java.lang.Object
-
- org.hecl.Operator
-
- org.hecl.net.HttpCmd
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.Stringcontentlanguageheaderstatic java.lang.Stringdefcharsetstatic intFORMATQUERYstatic intGETDATAstatic intGETNCODEstatic intGETSTATUSstatic intGETURLstatic java.lang.Stringuseragentheader
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description static voidload(Interp ip)Thingoperate(int cmd, Interp interp, Thing[] argv)Theoperatemethod dispatches to the actual code.static voidunload(Interp ip)
-
-
-
Field Detail
-
GETURL
public static final int GETURL
- See Also:
- Constant Field Values
-
FORMATQUERY
public static final int FORMATQUERY
- See Also:
- Constant Field Values
-
GETDATA
public static final int GETDATA
- See Also:
- Constant Field Values
-
GETNCODE
public static final int GETNCODE
- See Also:
- Constant Field Values
-
GETSTATUS
public static final int GETSTATUS
- See Also:
- Constant Field Values
-
useragentheader
public static final java.lang.String useragentheader
- See Also:
- Constant Field Values
-
contentlanguageheader
public static final java.lang.String contentlanguageheader
- See Also:
- Constant Field Values
-
defcharset
public static final java.lang.String defcharset
- See Also:
- Constant Field Values
-
-
Method Detail
-
operate
public Thing operate(int cmd, Interp interp, Thing[] argv) throws HeclException
Description copied from class:OperatorTheoperatemethod dispatches to the actual code.- Specified by:
operatein classOperator- Parameters:
cmd- anintvalueinterp- anInterpvalueargv- aThing[]value- Returns:
- a
Thingvalue, or null when no value has been - Throws:
HeclException- if an error occurs
-
load
public static void load(Interp ip) throws HeclException
- Throws:
HeclException
-
unload
public static void unload(Interp ip) throws HeclException
- Throws:
HeclException
-
-
DataMelt 3.0 © DataMelt by jWork.ORG