ke
2024-11-27 3c6a1e27bd0057f570f06808c0b2a54e51888aa5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package cn.gistack.by.nettyUpload.config;
 
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
 
@ConfigurationProperties(prefix = "netty.http")
@Component
@Data
public class NettyHttpConfig {
    private String serverSocketIp;
    private int serverSocketPort;
    private int bossGroupThreads;
    private int workerGroupThreads;
    private int maxContentLength;
    private int nettySoBacklog;
    private String fileSaveRootPath;
    private String fileUpPasswd;
    private int businessThreadsQueueCapacity;
    private int businessThreadsCoreNum;
    private String authorization;
}