类 Version
- java.lang.Object
-
- com.alibaba.dubbo.common.Version
-
public final class Version extends Object
Version
-
-
字段概要
字段 修饰符和类型 字段 说明 static String
DEFAULT_DUBBO_PROTOCOL_VERSION
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static void
checkDuplicate(Class<?> cls)
static void
checkDuplicate(Class<?> cls, boolean failOnError)
static void
checkDuplicate(String path, boolean failOnError)
static int
getIntVersion(String version)
static String
getProtocolVersion()
static String
getVersion()
static String
getVersion(Class<?> cls, String defaultVersion)
static boolean
isSupportResponseAttatchment(String version)
-
-
-
方法详细资料
-
getProtocolVersion
public static String getProtocolVersion()
-
getVersion
public static String getVersion()
-
isSupportResponseAttatchment
public static boolean isSupportResponseAttatchment(String version)
-
getIntVersion
public static int getIntVersion(String version)
-
checkDuplicate
public static void checkDuplicate(Class<?> cls, boolean failOnError)
-
checkDuplicate
public static void checkDuplicate(Class<?> cls)
-
checkDuplicate
public static void checkDuplicate(String path, boolean failOnError)
-
-