-
Netty core repository: https://github.com/netty/netty
-
License: Apache-2.0 License
-
Required Java version: Java 11
-
Maven coordinates:
-
io.netty.contrib:netty-codec-multipart:5.0.0.Alpha1-SNAPSHOT
-
This project is a porting of the Netty 4.x Multipart codec to the new Netty 5.0.0 Buffer API.
mvn clean install;
cd benchmark;
mvn clean package -P benchmark-jar
java -jar target/microbenchmarks.jar
you can run the following http server example showing how to use the HTTP multipart package for file uploads and decoding post data:
cd examples;
mvn compile exec:java -Dexec.mainClass="io.netty.contrib.handler.codec.example.http.multipart.HttpUploadServer"
And then run the http client example from another console:
cd examples
mvn compile exec:java -Dexec.mainClass="io.netty.contrib.handler.codec.example.http.multipart.HttpUploadClient"