Module cloud.piranha.nano
Package cloud.piranha.nano
package cloud.piranha.nano
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.
- Author:
- Manfred Riem (mriem@manorrock.com)
- See Also:
-
ClassesClassDescriptionThe FilterChain class used by
NanoPiranhafor processing of a request and generating a response.The FilterConfig class used byNanoPiranhaBuilderso it can initialize a Filter.The smallest version of Piranha in our lineup.The builder so you can easily build instances ofNanoPiranha.The WebApplicationRequest class used byNanoPiranhaThe builder so you can easily build instances ofNanoRequest.The WebApplicationResponse class used byNanoPiranhaThe builder so you can easily build instances ofNanoResponse.The ServletConfig class used byNanoPiranhaBuilderso it can initialize the Servlet.