Package com.linecorp.bot.client
Enum LineClientConstants
- java.lang.Object
-
- java.lang.Enum<LineClientConstants>
-
- com.linecorp.bot.client.LineClientConstants
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<LineClientConstants>
public enum LineClientConstants extends java.lang.Enum<LineClientConstants>
Common constant holder.
-
-
Field Summary
Fields Modifier and Type Field Description static java.net.URI
DEFAULT_API_END_POINT
static java.net.URI
DEFAULT_BLOB_END_POINT
static long
DEFAULT_CONNECT_TIMEOUT_MILLIS
static long
DEFAULT_READ_TIMEOUT_MILLIS
static long
DEFAULT_WRITE_TIMEOUT_MILLIS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LineClientConstants
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LineClientConstants[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Field Detail
-
DEFAULT_API_END_POINT
public static final java.net.URI DEFAULT_API_END_POINT
-
DEFAULT_BLOB_END_POINT
public static final java.net.URI DEFAULT_BLOB_END_POINT
-
DEFAULT_CONNECT_TIMEOUT_MILLIS
public static final long DEFAULT_CONNECT_TIMEOUT_MILLIS
- See Also:
- Constant Field Values
-
DEFAULT_READ_TIMEOUT_MILLIS
public static final long DEFAULT_READ_TIMEOUT_MILLIS
- See Also:
- Constant Field Values
-
DEFAULT_WRITE_TIMEOUT_MILLIS
public static final long DEFAULT_WRITE_TIMEOUT_MILLIS
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static LineClientConstants[] 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 (LineClientConstants c : LineClientConstants.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LineClientConstants 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
-
-