Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

15
LINES

< > BotCompany Repo | #1028368 // subBot_serveFileWithName_noCache

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2516L/16K).

static O subBot_serveFileWithName_noCache(File file) {
  ret subBot_noCacheHeaders(subBot_serveFileWithName(file));
}

static O subBot_serveFileWithName_noCache(File file, S name) {
  ret subBot_noCacheHeaders(subBot_serveFileWithName(file, name));
}

static O subBot_serveFileWithName_noCache(S name, File file) {
  ret subBot_serveFileWithName_noCache(file, name);
}

static O subBot_serveFileWithName_noCache(File file, S name, S mimeType) {
  ret subBot_noCacheHeaders(subBot_serveFileWithName(file, name, mimeType));
}

Author comment

Began life as a copy of #1014663

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1028368
Snippet name: subBot_serveFileWithName_noCache
Eternal ID of this version: #1028368/1
Text MD5: a64eed27a62284c1de911205437b85bd
Transpilation MD5: 30b88c8848b37498e30f70d13396a2bd
Author: stefan
Category: javax / html
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-06-13 17:38:55
Source code size: 537 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 274 / 358
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)