static final class Result.FileEntityResult extends Result
| Constructor and description |
|---|
FileEntityResult(java.util.function.Consumer<Context> contextConsumer) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
FileEntityResult |
contentDisposition(java.lang.String contentDisposition)Set the Content-Disposition header |
|
static void |
copy(java.io.InputStream is, java.io.OutputStream out) |
|
protected void |
send() |
| Methods inherited from class | Name |
|---|---|
class Result |
flashing, removingCookie, send, withCookie, withCookie, withCookie, withHeader, withStatus |
Set the Content-Disposition header
contentDisposition - The header value