MINA 3.0 HTTP CodecPage edited by Julien VermillardChanges (5)
Full ContentKey ideasI started this project because I needed a well know codec for testing MINA 3.0 ideas and because I needed some "Lego" bricks for building very specialized HTTP servers and proxy. The goal of the mina-http module is to provide :
What is not going to beA full feature web client/server like AsyncWeb, Deft, Apache HC nor a web servlet container but it can be a basis for building all this kind of project. HTTP elementsHTTP is quite a simple protocol : a HTTP client send a HTTP request to the server and it replies with a HTTP response. It's a good idea until you want to send small body contents (in HTTP request post/put or in HTTP response). For example in Asyncweb if you want to send a large document you are doomed to create the whole HTTP object containing the big document in memory. The same problem occurs with streaming and Comet style server. For solving that the servlet API expose an old fashioned OutpuStream for writing your contents. It's not compatible with NIO ByteBuffer so you need to use plain old byte arrays and you can't achieve zero copy. That why in MINA 3.0 HTTP codec the elements and splitted a stream of different class.
How an HTTP Request is decoded to different slice for easier processing
Change Notification Preferences
View Online
|
View Changes
|
Add Comment
|
- [CONF] Apache MINA > MINA 3.0 HTTP Codec confluence
- [CONF] Apache MINA > MINA 3.0 HTTP Codec confluence
- [CONF] Apache MINA > MINA 3.0 HTTP Codec confluence
- [CONF] Apache MINA > MINA 3.0 HTTP Codec confluence
- [CONF] Apache MINA > MINA 3.0 HTTP Codec confluence
- [CONF] Apache MINA > MINA 3.0 HTTP Codec confluence
