Send a file (with zero-copy) to the client with a 200 OK status. This method doesn't provide any security guarantee. The caller is responsible for the argument they pass in. @param path The path to the file to send to the client. @param max_age The expiration time of this entity, in seconds. This
(final String path,
final int max_age)
| 609 | * caching. |
| 610 | */ |
| 611 | public void sendFile(final String path, |
| 612 | final int max_age) throws IOException { |
| 613 | sendFile(HttpResponseStatus.OK, path, max_age); |
| 614 | } |
| 615 | |
| 616 | /** |
| 617 | * Send a file (with zero-copy) to the client. |
no test coverage detected