类 DubboMatchRequest
- java.lang.Object
-
- org.apache.dubbo.rpc.cluster.router.mesh.rule.virtualservice.DubboMatchRequest
-
public class DubboMatchRequest extends Object
-
-
构造器概要
构造器 构造器 说明 DubboMatchRequest()
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 DubboAttachmentMatchgetAttachments()Map<String,StringMatch>getHeaders()DubboMethodMatchgetMethod()StringgetName()Map<String,String>getSourceLabels()DoubleMatchgetThreshold()static booleanisMatch(DubboMatchRequest dubboMatchRequest, String methodName, String[] parameterTypeList, Object[] parameters, Map<String,String> sourceLabels, Map<String,String> eagleeyeContext, Map<String,String> dubboContext, Map<String,String> headers)voidsetAttachments(DubboAttachmentMatch attachments)voidsetHeaders(Map<String,StringMatch> headers)voidsetMethod(DubboMethodMatch method)voidsetName(String name)voidsetSourceLabels(Map<String,String> sourceLabels)voidsetThreshold(DoubleMatch threshold)StringtoString()
-
-
-
方法详细资料
-
getName
public String getName()
-
setName
public void setName(String name)
-
getMethod
public DubboMethodMatch getMethod()
-
setMethod
public void setMethod(DubboMethodMatch method)
-
getAttachments
public DubboAttachmentMatch getAttachments()
-
setAttachments
public void setAttachments(DubboAttachmentMatch attachments)
-
getHeaders
public Map<String,StringMatch> getHeaders()
-
setHeaders
public void setHeaders(Map<String,StringMatch> headers)
-
getThreshold
public DoubleMatch getThreshold()
-
setThreshold
public void setThreshold(DoubleMatch threshold)
-
isMatch
public static boolean isMatch(DubboMatchRequest dubboMatchRequest, String methodName, String[] parameterTypeList, Object[] parameters, Map<String,String> sourceLabels, Map<String,String> eagleeyeContext, Map<String,String> dubboContext, Map<String,String> headers)
-
-