类 StringToOptionalConverter
- java.lang.Object
-
- org.apache.dubbo.common.convert.StringToOptionalConverter
-
- 所有已实现的接口:
Comparable<Prioritized>
,Converter<String,Optional>
,StringConverter<Optional>
,Prioritized
public class StringToOptionalConverter extends Object implements StringConverter<Optional>
- 从以下版本开始:
- 2.7.6
-
-
字段概要
-
从接口继承的字段 org.apache.dubbo.common.lang.Prioritized
COMPARATOR, MAX_PRIORITY, MIN_PRIORITY, NORMAL_PRIORITY
-
-
构造器概要
构造器 构造器 说明 StringToOptionalConverter()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Optional
convert(String source)
Convert the source-typed value to the target-typed valueint
getPriority()
Get the priority-
从接口继承的方法 org.apache.dubbo.common.convert.Converter
accept, getSourceType, getTargetType
-
从接口继承的方法 org.apache.dubbo.common.lang.Prioritized
compareTo
-
-
-
-
方法详细资料
-
convert
public Optional convert(String source)
从接口复制的说明:Converter
Convert the source-typed value to the target-typed value
-
getPriority
public int getPriority()
从接口复制的说明:Prioritized
Get the priority- 指定者:
getPriority
在接口中Prioritized
- 返回:
- the default is
Prioritized.NORMAL_PRIORITY
-
-