Class FilterChainBuilder.FilterChainNode<T,TYPE extends Invoker<T>,FILTER extends BaseFilter>

java.lang.Object
org.apache.dubbo.rpc.cluster.filter.FilterChainBuilder.FilterChainNode<T,TYPE,FILTER>
Type Parameters:
T -
TYPE -
All Implemented Interfaces:
org.apache.dubbo.common.Node, Invoker<T>
Direct Known Subclasses:
FilterChainBuilder.ClusterFilterChainNode
Enclosing interface:
FilterChainBuilder

public static class FilterChainBuilder.FilterChainNode<T,TYPE extends Invoker<T>,FILTER extends BaseFilter> extends Object implements Invoker<T>
Works on provider side
  • Constructor Details

    • FilterChainNode

      public FilterChainNode(TYPE originalInvoker, Invoker<T> nextNode, FILTER filter)
  • Method Details

    • getOriginalInvoker

      public TYPE getOriginalInvoker()
    • getInterface

      public Class<T> getInterface()
      Specified by:
      getInterface in interface Invoker<T>
    • getUrl

      public org.apache.dubbo.common.URL getUrl()
      Specified by:
      getUrl in interface org.apache.dubbo.common.Node
    • isAvailable

      public boolean isAvailable()
      Specified by:
      isAvailable in interface org.apache.dubbo.common.Node
    • invoke

      public Result invoke(Invocation invocation) throws RpcException
      Specified by:
      invoke in interface Invoker<T>
      Throws:
      RpcException
    • destroy

      public void destroy()
      Specified by:
      destroy in interface org.apache.dubbo.common.Node
    • toString

      public String toString()
      Overrides:
      toString in class Object