类 AuthenticationDataBasic

  • 所有已实现的接口:
    java.io.Serializable, org.apache.pulsar.client.api.AuthenticationDataProvider

    public class AuthenticationDataBasic
    extends java.lang.Object
    implements org.apache.pulsar.client.api.AuthenticationDataProvider
    另请参阅:
    序列化表格
    • 构造器概要

      构造器 
      构造器 说明
      AuthenticationDataBasic​(java.lang.String userId, java.lang.String password)  
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      java.lang.String getCommandData()  
      java.util.Set<java.util.Map.Entry<java.lang.String,​java.lang.String>> getHttpHeaders()  
      boolean hasDataForHttp()  
      boolean hasDataFromCommand()  
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • 从接口继承的方法 org.apache.pulsar.client.api.AuthenticationDataProvider

        authenticate, getHttpAuthType, getTlsCerificateFilePath, getTlsCertificates, getTlsKeyStoreParams, getTlsPrivateKey, getTlsPrivateKeyFilePath, getTlsTrustStoreStream, hasDataForTls
    • 构造器详细资料

      • AuthenticationDataBasic

        public AuthenticationDataBasic​(java.lang.String userId,
                                       java.lang.String password)
    • 方法详细资料

      • hasDataForHttp

        public boolean hasDataForHttp()
        指定者:
        hasDataForHttp 在接口中 org.apache.pulsar.client.api.AuthenticationDataProvider
      • getHttpHeaders

        public java.util.Set<java.util.Map.Entry<java.lang.String,​java.lang.String>> getHttpHeaders()
        指定者:
        getHttpHeaders 在接口中 org.apache.pulsar.client.api.AuthenticationDataProvider
      • hasDataFromCommand

        public boolean hasDataFromCommand()
        指定者:
        hasDataFromCommand 在接口中 org.apache.pulsar.client.api.AuthenticationDataProvider
      • getCommandData

        public java.lang.String getCommandData()
        指定者:
        getCommandData 在接口中 org.apache.pulsar.client.api.AuthenticationDataProvider