类 RpcInvocation

    • 方法详细资料

      • getInvoker

        public Invoker<?> getInvoker()
        指定者:
        getInvoker 在接口中 Invocation
        指定者:
        getInvoker 在接口中 org.apache.dubbo.rpc.Invocation
      • setInvoker

        public void setInvoker​(Invoker<?> invoker)
      • getProtocolServiceKey

        public String getProtocolServiceKey()
        指定者:
        getProtocolServiceKey 在接口中 org.apache.dubbo.rpc.Invocation
      • getMethodName

        public String getMethodName()
        指定者:
        getMethodName 在接口中 org.apache.dubbo.rpc.Invocation
      • setMethodName

        public void setMethodName​(String methodName)
      • getParameterTypes

        public Class<?>[] getParameterTypes()
        指定者:
        getParameterTypes 在接口中 org.apache.dubbo.rpc.Invocation
      • setParameterTypes

        public void setParameterTypes​(Class<?>[] parameterTypes)
      • getArguments

        public Object[] getArguments()
        指定者:
        getArguments 在接口中 org.apache.dubbo.rpc.Invocation
      • setArguments

        public void setArguments​(Object[] arguments)
      • getAttachments

        public Map<String,​String> getAttachments()
        指定者:
        getAttachments 在接口中 org.apache.dubbo.rpc.Invocation
      • setAttachments

        public void setAttachments​(Map<String,​String> attachments)
      • setAttachment

        public void setAttachment​(String key,
                                  String value)
        指定者:
        setAttachment 在接口中 Invocation
        指定者:
        setAttachment 在接口中 org.apache.dubbo.rpc.Invocation
      • setAttachmentIfAbsent

        public void setAttachmentIfAbsent​(String key,
                                          String value)
        指定者:
        setAttachmentIfAbsent 在接口中 Invocation
        指定者:
        setAttachmentIfAbsent 在接口中 org.apache.dubbo.rpc.Invocation
      • addAttachments

        public void addAttachments​(Map<String,​String> attachments)
      • addAttachmentsIfAbsent

        public void addAttachmentsIfAbsent​(Map<String,​String> attachments)
      • getAttachment

        public String getAttachment​(String key)
        指定者:
        getAttachment 在接口中 org.apache.dubbo.rpc.Invocation
      • getAttachment

        public String getAttachment​(String key,
                                    String defaultValue)
        指定者:
        getAttachment 在接口中 Invocation
        指定者:
        getAttachment 在接口中 org.apache.dubbo.rpc.Invocation