Mercurial Hosting > luan
comparison src/org/eclipse/jetty/http/HttpFields.java @ 1021:e350c11242be
minor
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 31 Oct 2016 22:49:25 -0600 |
parents | 6be43ef1eb96 |
children | 3718afd99988 |
comparison
equal
deleted
inserted
replaced
1020:6be43ef1eb96 | 1021:e350c11242be |
---|---|
300 final List<String> list = new ArrayList<String>(_fields.size()); | 300 final List<String> list = new ArrayList<String>(_fields.size()); |
301 | 301 |
302 for (Field f : _fields) | 302 for (Field f : _fields) |
303 { | 303 { |
304 if (f!=null) | 304 if (f!=null) |
305 list.add(BufferUtil.to8859_1_String(f._name)); | 305 list.add(f._name.toString()); |
306 } | 306 } |
307 return list; | 307 return list; |
308 } | 308 } |
309 | 309 |
310 /* -------------------------------------------------------------- */ | 310 /* -------------------------------------------------------------- */ |
1225 BufferUtil.putCRLF(buffer); | 1225 BufferUtil.putCRLF(buffer); |
1226 } | 1226 } |
1227 | 1227 |
1228 private String getName() | 1228 private String getName() |
1229 { | 1229 { |
1230 return BufferUtil.to8859_1_String(_name); | 1230 return _name.toString(); |
1231 } | 1231 } |
1232 | 1232 |
1233 public int getNameOrdinal() | 1233 public int getNameOrdinal() |
1234 { | 1234 { |
1235 return HttpHeaders.CACHE.getOrdinal(_name); | 1235 return HttpHeaders.CACHE.getOrdinal(_name); |