Package | Description |
---|---|
io.jooby |
Modifier and Type | Method and Description |
---|---|
static FileDownload.Builder |
FileDownload.build(byte[] content,
String fileName)
Creates a builder with the specified content which can be used to create
a
FileDownload with any FileDownload.Mode . |
static FileDownload.Builder |
FileDownload.build(InputStream content,
String fileName)
Creates a builder with the specified content which can be used to create
a
FileDownload with any FileDownload.Mode . |
static FileDownload.Builder |
FileDownload.build(InputStream content,
String fileName,
long fileSize)
Creates a builder with the specified content which can be used to create
a
FileDownload with any FileDownload.Mode . |
static FileDownload.Builder |
FileDownload.build(Path file)
Creates a builder with the specified content which can be used to create
a
FileDownload with any FileDownload.Mode . |
static FileDownload.Builder |
FileDownload.build(Path file,
String fileName)
Creates a builder with the specified content which can be used to create
a
FileDownload with any FileDownload.Mode . |
Copyright © 2022. All rights reserved.