Piranha Nano is the smallest in our lineup and it delivers you with a very opinionated partial embeddable implementation of a Servlet container. While very small it most certainly is very capable and it is very easy to use.
Internally Piranha Nano uses a very light-weight request and response chain that is illustrated by the image below. Note since there is no notion of mapping the request URI there is only ONE chain of Filters and a Servlet. The arrows illustrate the flow the order in which the Filters and the Servlet will be called.
How do I use Piranha Nano?
See our documentation for more information.
Class Summary Class Description NanoPiranhaThe smallest version of Piranha in our lineup. NanoPiranhaBuilderThe builder so you can easily build instances of
NanoRequestThe WebApplicationRequest class used by
NanoRequestBuilderThe builder so you can easily build instances of
NanoResponseThe WebApplicationResponse class used by
NanoResponseBuilderThe builder so you can easily build instances of