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

3
LINES

< > BotCompany Repo | #1010839 // serveText_direct - for callers of serveHttp()

JavaX fragment (include)

static NanoHTTPD.Response serveText_direct(S s) {
  ret serveByteArray(toUtf8(s), "text/plain; charset=utf8");
}

Author comment

Began life as a copy of #1007901

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1010839
Snippet name: serveText_direct - for callers of serveHttp()
Eternal ID of this version: #1010839/2
Text MD5: 8efbe8a5cf5a6ec41cb397ed84768e89
Author: stefan
Category: javax / html
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-02 15:56:08
Source code size: 114 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 415 / 424
Version history: 1 change(s)
Referenced in: [show references]