Mercurial Hosting > luan
comparison src/luan/webserver/Request.java @ 1237:275d1b52dbce
add Request.scheme
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 11 Jun 2018 18:22:51 -0600 |
parents | e2d2354807f3 |
children | e8020216dee7 |
comparison
equal
deleted
inserted
replaced
1236:5b9856045e51 | 1237:275d1b52dbce |
---|---|
9 public volatile String rawHead; | 9 public volatile String rawHead; |
10 public volatile String method; | 10 public volatile String method; |
11 public volatile String rawPath; | 11 public volatile String rawPath; |
12 public volatile String path; | 12 public volatile String path; |
13 public volatile String protocol; // only HTTP/1.1 is accepted | 13 public volatile String protocol; // only HTTP/1.1 is accepted |
14 public volatile String scheme; | |
14 public final Map<String,Object> headers = Collections.synchronizedMap(new LinkedHashMap<String,Object>()); | 15 public final Map<String,Object> headers = Collections.synchronizedMap(new LinkedHashMap<String,Object>()); |
15 public final Map<String,Object> parameters = Collections.synchronizedMap(new LinkedHashMap<String,Object>()); | 16 public final Map<String,Object> parameters = Collections.synchronizedMap(new LinkedHashMap<String,Object>()); |
16 public final Map<String,String> cookies = Collections.synchronizedMap(new LinkedHashMap<String,String>()); | 17 public final Map<String,String> cookies = Collections.synchronizedMap(new LinkedHashMap<String,String>()); |
17 public volatile byte[] body; | 18 public volatile byte[] body; |
18 | 19 |