public class EmbeddedResponseBuilder extends Object
EmbeddedResponse
.EmbeddedResponse
Constructor | Description |
---|---|
EmbeddedResponseBuilder() |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
EmbeddedResponseBuilder |
bodyOnly(boolean bodyOnly) |
Set the body only flag.
|
EmbeddedResponse |
build() |
Build the response.
|
EmbeddedResponseBuilder |
webApplication(DefaultWebApplication webApp) |
Set the web application.
|
public EmbeddedResponseBuilder bodyOnly(boolean bodyOnly)
bodyOnly
- the body only flag.public EmbeddedResponse build()
public EmbeddedResponseBuilder webApplication(DefaultWebApplication webApp)
webApp
- the web application.Copyright © 2020 Piranha Cloud. All rights reserved.