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

7
LINES

< > BotCompany Repo | #1032483 // serveFavIcon

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

Libraryless. Click here for Pure Java version (6185L/37K).

static virtual Response serveFavIcon(S icoSnippet) {
  ret serveFavIcon(loadLibrary(icoSnippet));
}

static virtual Response serveFavIcon(File icoFile) {
  ret favIconHeaders(subBot_serveFile(icoFile, faviconMimeType()));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx

No comments. add comment

Snippet ID: #1032483
Snippet name: serveFavIcon
Eternal ID of this version: #1032483/1
Text MD5: a831b01e0f51ffc7568efc2706f95ac6
Transpilation MD5: 349d2ea164cc6b4c9839cd6b790fada9
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-09-10 05:13:08
Source code size: 229 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 149 / 215
Referenced in: [show references]