(String name, long value)
| 965 | |
| 966 | |
| 967 | @Override |
| 968 | public void addDateHeader(String name, long value) { |
| 969 | |
| 970 | if (name == null || name.isEmpty()) { |
| 971 | return; |
| 972 | } |
| 973 | |
| 974 | if (isCommitted()) { |
| 975 | return; |
| 976 | } |
| 977 | |
| 978 | // Ignore any call from an included servlet |
| 979 | if (included) { |
| 980 | return; |
| 981 | } |
| 982 | |
| 983 | addHeader(name, FastHttpDateFormat.formatDate(value)); |
| 984 | } |
| 985 | |
| 986 | |
| 987 | @Override |
nothing calls this directly
no test coverage detected