All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.dingtalk.open.app.api.ClientOption Maven / Gradle / Ivy

There is a newer version: 1.3.7
Show newest version
package com.dingtalk.open.app.api;

/**
 * @author feiyin
 * @date 2023/3/1
 */
class ClientOption {
    /**
     * 最大连接数
     */
    private int maxConnectionCount;
    /**
     * 连接生命周期 ms
     */
    private int connectionTTL;
    /**
     * 建连超时时间
     */
    private long connectTimeout;

    private String openApiHost;

    private KeepAliveOption keepAliveOption;

    public int getMaxConnectionCount() {
        return maxConnectionCount;
    }

    public void setMaxConnectionCount(int maxConnectionCount) {
        this.maxConnectionCount = maxConnectionCount;
    }

    public int getConnectionTTL() {
        return connectionTTL;
    }

    public void setConnectionTTL(int connectionTTL) {
        this.connectionTTL = connectionTTL;
    }

    public String getOpenApiHost() {
        return openApiHost;
    }

    public void setOpenApiHost(String openApiHost) {
        this.openApiHost = openApiHost;
    }

    public KeepAliveOption getKeepAliveOption() {
        return keepAliveOption;
    }

    public void setKeepAliveOption(KeepAliveOption keepAliveOption) {
        this.keepAliveOption = keepAliveOption;
    }

    public long getConnectTimeout() {
        return connectTimeout;
    }

    public void setConnectTimeout(long connectTimeout) {
        this.connectTimeout = connectTimeout;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy