首页

基于netty文件网络传输(上传及下载)java完整pom项目demo下载

标签:netty demo,文件传输     发布时间:2021-05-23   

一、项目依赖pom

服务端server    

<dependency>@b@			<groupId>io.netty</groupId>@b@			<artifactId>netty-all</artifactId>@b@			<version>4.1.17.Final</version>@b@		</dependency>@b@@b@		<dependency>@b@			<groupId>org.springframework</groupId>@b@			<artifactId>spring-core</artifactId>@b@			<version>3.2.3.RELEASE</version>@b@		</dependency>@b@@b@		<dependency>@b@			<groupId>org.mortbay.jetty</groupId>@b@			<artifactId>servlet-api-2.5</artifactId>@b@			<version>6.1.10</version>@b@		</dependency>@b@@b@		<dependency>@b@			<groupId>org.slf4j</groupId>@b@			<artifactId>slf4j-api</artifactId>@b@			<version>1.6.6</version>@b@		</dependency>@b@		@b@		<dependency>@b@			<groupId>org.slf4j</groupId>@b@			<artifactId>slf4j-log4j12</artifactId>@b@			<version>1.6.6</version>@b@		</dependency>@b@		@b@		<dependency>@b@            <groupId>com.alibaba</groupId>@b@            <artifactId>fastjson</artifactId>@b@            <version>1.2.2</version>@b@        </dependency>

客户端client

<dependency>@b@			<groupId>io.netty</groupId>@b@			<artifactId>netty-all</artifactId>@b@			<version>4.1.17.Final</version>@b@		</dependency>@b@		@b@		<dependency>@b@			<groupId>org.slf4j</groupId>@b@			<artifactId>slf4j-api</artifactId>@b@			<version>1.6.6</version>@b@		</dependency>@b@		@b@		<dependency>@b@            <groupId>com.alibaba</groupId>@b@            <artifactId>fastjson</artifactId>@b@            <version>1.2.2</version>@b@        </dependency>
  • 云盘下载:
  • [提取码:s3n6]
  • 本地下载: