Libraryless. Click here for Pure Java version (2585L/17K).
1 | sS subBot_completeRequestURL() { |
2 | int port = subBot_currentPort(); |
3 | bool https = subBot_isHttps(); |
4 | bool standardPort = port == (https ? 443 : 80); |
5 | ret "http" + (https ? "s" : "") + "://" + domain() |
6 | + (standardPort ? "" : ":" + port) + getActualURI(); |
7 | } |
Began life as a copy of #1014670
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: | #1028640 |
Snippet name: | subBot_completeRequestURL (with domain and port) |
Eternal ID of this version: | #1028640/3 |
Text MD5: | 2c99166145ed8540baac5b9808553fe2 |
Transpilation MD5: | f3f8c06d02cdb2cbdb087a2d8bcf5d37 |
Author: | stefan |
Category: | javax / web |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-06-30 16:19:33 |
Source code size: | 268 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 181 / 285 |
Version history: | 2 change(s) |
Referenced in: | [show references] |