java.lang.Object
cloud.piranha.embedded.EmbeddedResponseBuilder
The builder so you can easily build instances of
EmbeddedResponse
.- Author:
- Manfred Riem ([email protected])
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbodyOnly
(boolean bodyOnly) Set the body only flag.build()
Build the response.webApplication
(WebApplication webApplication) Set the web application.
-
Constructor Details
-
EmbeddedResponseBuilder
public EmbeddedResponseBuilder()Constructor.
-
-
Method Details
-
bodyOnly
Set the body only flag.- Parameters:
bodyOnly
- the body only flag.- Returns:
- the builder.
-
build
Build the response.- Returns:
- the response.
-
webApplication
Set the web application.- Parameters:
webApplication
- the web application.- Returns:
- the builder.
-