Package org.webappos.webcaller
Enum IWebCaller.CallingConventions
- java.lang.Object
-
- java.lang.Enum<IWebCaller.CallingConventions>
-
- org.webappos.webcaller.IWebCaller.CallingConventions
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<IWebCaller.CallingConventions>
- Enclosing interface:
- IWebCaller
public static enum IWebCaller.CallingConventions extends java.lang.Enum<IWebCaller.CallingConventions>
Specifies the calling convention for web calls. Currently, jsoncall and webmemcall are supported.- Author:
- Sergejs Kozlovics
-
-
Enum Constant Summary
Enum Constants Enum Constant Description JSONCALL
WEBMEMCALL
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IWebCaller.CallingConventions
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static IWebCaller.CallingConventions[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
JSONCALL
public static final IWebCaller.CallingConventions JSONCALL
-
WEBMEMCALL
public static final IWebCaller.CallingConventions WEBMEMCALL
-
-
Method Detail
-
values
public static IWebCaller.CallingConventions[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (IWebCaller.CallingConventions c : IWebCaller.CallingConventions.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IWebCaller.CallingConventions valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-