Package cloud.piranha.embedded

Piranha Embedded delivers you with an embeddable implementation of a Servlet container. It is used extensively within the Piranha project itself to test all the Servlet functionality.

The image below illustrates how the request and response handling is done by Piranha Embedded. When an EmbeddedRequest comes in it uses a WebApplicationRequestMapper to determine which FilterChain needs to process the incoming request.

Embedded request and response handling

Recommendation

We recommend using EmbeddedPiranhaBuilder to create your instances of EmbeddedPiranha..

Expectations and assumptions

Limitations

Maven coordinates

Please use the following dependency.

 <dependency>
   <groupId>cloud.piranha</groupId>
   <artifactId>piranha-embedded</artifactId>
   <version>y.m.p</version>
 <dependency>
 

where y is the year, m is the month and p is the patch version of the release you want to use.

Author:
Manfred Riem ([email protected])
See Also:
EmbeddedPiranhaBuilder
Skip navigation links

Copyright © 2020 Piranha Cloud. All rights reserved.