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

12
LINES

< > BotCompany Repo | #1024138 // Test serving big images over HTTPS (JDK 11+ bug)

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Libraryless. Click here for Pure Java version (6385L/47K).

1  
!7
2  
3  
p {
4  
  serveHttps/*_botCompany*/(1443);
5  
  disableCertificateValidation();
6  
  loadPage("https://localhost:1443");
7  
  print("Page loaded OK");
8  
}
9  
10  
html {
11  
  ret serveFileWithName(loadImageAsFile(#1101761), "image.jpg");
12  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1024138
Snippet name: Test serving big images over HTTPS (JDK 11+ bug)
Eternal ID of this version: #1024138/7
Text MD5: e36928f7f3f738bf47e965c58d1ebe67
Transpilation MD5: 0e075566d66ef602a3d800e841b691f7
Author: stefan
Category: javax / networking
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-22 21:47:06
Source code size: 229 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 191 / 692
Version history: 6 change(s)
Referenced in: [show references]