Class DubboMatchRequest
java.lang.Object
org.apache.dubbo.rpc.cluster.router.mesh.rule.virtualservice.DubboMatchRequest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()booleanisMatch(Invocation invocation, Map<String, String> sourceLabels, Set<TracingContextProvider> contextProviders) voidsetAttachments(DubboAttachmentMatch attachments) voidsetHeaders(Map<String, StringMatch> headers) voidsetMethod(DubboMethodMatch method) voidvoidsetSourceLabels(Map<String, String> sourceLabels) toString()
-
Constructor Details
-
DubboMatchRequest
public DubboMatchRequest()
-
-
Method Details
-
getName
-
setName
-
getMethod
-
setMethod
-
getSourceLabels
-
setSourceLabels
-
getAttachments
-
setAttachments
-
getHeaders
-
setHeaders
-
toString
-
isMatch
public boolean isMatch(Invocation invocation, Map<String, String> sourceLabels, Set<TracingContextProvider> contextProviders)
-