io.netty.contrib:netty-codec-multipart-parent

Netty is an asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers and clients.


License
Apache-2.0

Documentation

Netty 5.x Codec Http Multipart Repository for Netty Contrib

  • 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

Project description

This project is a porting of the Netty 4.x Multipart codec to the new Netty 5.0.0 Buffer API.

Running the benchmarks

mvn clean install;
cd benchmark;
mvn clean package -P benchmark-jar
java -jar target/microbenchmarks.jar

Running the server example

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"