public class EMProperties extends Object
限定符和类型 | 类和说明 |
---|---|
static class |
EMProperties.Builder |
static class |
EMProperties.Realm |
构造器和说明 |
---|
EMProperties(EMProperties.Realm realm,
String appKey,
Credentials credentials,
String baseUri,
EMProxy proxy,
int httpConnectionPoolSize,
int httpConnectionMaxIdleTime,
int httpConnectionMaxLifeTime,
int httpConnectionEvictInBackground,
int httpConnectionPendingAcquireMaxCount,
int httpConnectionPendingAcquireTimeout,
int nettyWorkerCount,
String serverTimezone,
int agoraTokenExpireInSeconds,
reactor.netty.transport.logging.AdvancedByteBufFormat httpLogFormat,
boolean validateUserName) |
EMProperties(String baseUri,
String appKey,
EMProxy proxy,
String clientId,
String clientSecret,
int httpConnectionPoolSize,
String serverTimezone,
int httpConnectionMaxIdleTime,
int httpConnectionMaxLifeTime,
int httpConnectionEvictInBackground,
int nettyWorkerCount,
int httpConnectionPendingAcquireMaxCount,
int httpConnectionPendingAcquireTimeout)
已过时。
use
builder() instead. |
限定符和类型 | 方法和说明 |
---|---|
static EMProperties.Builder |
builder() |
int |
getAgoraTokenExpireInSeconds() |
String |
getAppCert() |
String |
getAppId() |
String |
getAppkey() |
String |
getAppKey() |
String |
getAppkeySlashDelimited() |
String |
getAppkeyUrlEncoded() |
String |
getBaseUri() |
String |
getClientId() |
String |
getClientSecret() |
Credentials |
getCredentials() |
int |
getHttpConnectionEvictInBackground() |
int |
getHttpConnectionMaxIdleTime() |
int |
getHttpConnectionMaxLifeTime() |
int |
getHttpConnectionPendingAcquireMaxCount() |
int |
getHttpConnectionPendingAcquireTimeout() |
int |
getHttpConnectionPoolSize() |
reactor.netty.transport.logging.AdvancedByteBufFormat |
getHttpLogFormat() |
int |
getNettyWorkerCount() |
EMProxy |
getProxy() |
EMProperties.Realm |
getRealm() |
String |
getServerTimezone() |
boolean |
getValidateUserName() |
String |
toString() |
public EMProperties(EMProperties.Realm realm, String appKey, Credentials credentials, String baseUri, EMProxy proxy, int httpConnectionPoolSize, int httpConnectionMaxIdleTime, int httpConnectionMaxLifeTime, int httpConnectionEvictInBackground, int httpConnectionPendingAcquireMaxCount, int httpConnectionPendingAcquireTimeout, int nettyWorkerCount, String serverTimezone, int agoraTokenExpireInSeconds, reactor.netty.transport.logging.AdvancedByteBufFormat httpLogFormat, boolean validateUserName)
@Deprecated public EMProperties(String baseUri, String appKey, EMProxy proxy, String clientId, String clientSecret, int httpConnectionPoolSize, String serverTimezone, int httpConnectionMaxIdleTime, int httpConnectionMaxLifeTime, int httpConnectionEvictInBackground, int nettyWorkerCount, int httpConnectionPendingAcquireMaxCount, int httpConnectionPendingAcquireTimeout)
builder()
instead.baseUri
- baseUriappKey
- appKeyproxy
- proxyclientId
- clientIdclientSecret
- clientSecrethttpConnectionPoolSize
- httpConnectionPoolSizeserverTimezone
- serverTimezonehttpConnectionMaxIdleTime
- httpConnectionMaxIdleTimehttpConnectionMaxLifeTime
- httpConnectionEvictInBackground
- nettyWorkerCount
- nettyWorkerCounthttpConnectionPendingAcquireMaxCount
- httpConnectionPendingAcquireMaxCounthttpConnectionPendingAcquireTimeout
- public static EMProperties.Builder builder()
public String getAppkey()
public String getClientId()
public String getClientSecret()
public String getAppId()
public String getAppCert()
public EMProperties.Realm getRealm()
public Credentials getCredentials()
public String getBaseUri()
public EMProxy getProxy()
public String getAppkeyUrlEncoded()
public String getAppkeySlashDelimited()
public int getHttpConnectionPoolSize()
public int getHttpConnectionMaxIdleTime()
public int getHttpConnectionMaxLifeTime()
public int getHttpConnectionEvictInBackground()
public int getHttpConnectionPendingAcquireMaxCount()
public int getHttpConnectionPendingAcquireTimeout()
public String getServerTimezone()
public String getAppKey()
public int getAgoraTokenExpireInSeconds()
public reactor.netty.transport.logging.AdvancedByteBufFormat getHttpLogFormat()
public boolean getValidateUserName()
public int getNettyWorkerCount()
Copyright © 2024. All rights reserved.