Mercurial Hosting > luan
comparison src/luan/webserver/Status.java @ 1194:bd0420fb3dd0
handle ParseException in webserver
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 26 Feb 2018 16:29:07 -0700 |
parents | 4beabb087be6 |
children | 8b61c8c4e07a |
comparison
equal
deleted
inserted
replaced
1193:9f522cfe0c30 | 1194:bd0420fb3dd0 |
---|---|
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 BAD_REQUEST = newStatus(400,"Bad Request"); | |
40 public static final Status NOT_FOUND = newStatus(404,"Not Found"); | 41 public static final Status NOT_FOUND = newStatus(404,"Not Found"); |
41 public static final Status INTERNAL_SERVER_ERROR = newStatus(500,"Internal Server Error"); | 42 public static final Status INTERNAL_SERVER_ERROR = newStatus(500,"Internal Server Error"); |
42 } | 43 } |