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;
|
}
|