Libraryless. Click here for Pure Java version (2806L/17K).
sclass ModifiedWebRequest implements IWebRequest { IWebRequest originalRequest; // any non-null field will override original value S uri; SS params; SS headers; SS files; S cookie; *(IWebRequest *originalRequest) {} public S uri() { ret uri != null ? uri : originalRequest.uri(); } public SS params() { ret params != null ? params : originalRequest.params(); } public SS headers() { ret headers != null ? headers : originalRequest.headers(); } public SS files() { ret files != null ? files : originalRequest.files(); } public S cookie() { ret cookie != null ? cookie : originalRequest.cookie(); } public bool isHttps() { ret originalRequest.isHttps(); } }
Began life as a copy of #1028677
download show line numbers debug dex old transpilations
Travelled to 5 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1029855 |
Snippet name: | ModifiedWebRequest |
Eternal ID of this version: | #1029855/3 |
Text MD5: | bcdc59415849aa1dc519dbbeb591899b |
Transpilation MD5: | b3ca94ef7fb02927cd6290531b170443 |
Author: | stefan |
Category: | javax / web |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-06-14 01:43:45 |
Source code size: | 704 bytes / 18 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 213 / 460 |
Version history: | 2 change(s) |
Referenced in: | [show references] |