Mercurial Hosting > luan
comparison src/luan/webserver/Request.java @ 1146:2dda3c92a473
webserver - implement cookies
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 01 Feb 2018 03:08:21 -0700 |
parents | ae0a048f3bc7 |
children | 30d87b7d1d62 |
comparison
equal
deleted
inserted
replaced
1145:12ececf30597 | 1146:2dda3c92a473 |
---|---|
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 final Map<String,String> headers = Collections.synchronizedMap(new LinkedHashMap<String,String>()); | 14 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>()); | 15 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>()); | |
16 public volatile String body; | 17 public volatile String body; |
17 } | 18 } |