Mercurial Hosting > luan
comparison src/goodjava/webserver/Status.java @ 1604:8a7519dee55c
FileHandler handles if-modified-since
| author | Franklin Schmidt <fschmidt@gmail.com> |
|---|---|
| date | Fri, 16 Apr 2021 19:19:39 -0600 |
| parents | 27efb1fcbcb5 |
| children | f7e3adae4907 |
comparison
equal
deleted
inserted
replaced
| 1603:bd125ee375d2 | 1604:8a7519dee55c |
|---|---|
| 35 } | 35 } |
| 36 | 36 |
| 37 public static final Status OK = newStatus(200,"OK"); | 37 public static final Status OK = newStatus(200,"OK"); |
| 38 public static final Status MOVED_PERMANENTLY = newStatus(301,"Moved Permanently"); | 38 public static final Status MOVED_PERMANENTLY = newStatus(301,"Moved Permanently"); |
| 39 public static final Status FOUND = newStatus(302,"Found"); | 39 public static final Status FOUND = newStatus(302,"Found"); |
| 40 public static final Status NOT_MODIFIED = newStatus(304,"Not Modified"); | |
| 40 public static final Status BAD_REQUEST = newStatus(400,"Bad Request"); | 41 public static final Status BAD_REQUEST = newStatus(400,"Bad Request"); |
| 41 public static final Status NOT_FOUND = newStatus(404,"Not Found"); | 42 public static final Status NOT_FOUND = newStatus(404,"Not Found"); |
| 42 public static final Status INTERNAL_SERVER_ERROR = newStatus(500,"Internal Server Error"); | 43 public static final Status INTERNAL_SERVER_ERROR = newStatus(500,"Internal Server Error"); |
| 43 } | 44 } |
