comparison src/luan/webserver/Status.java @ 1160:4beabb087be6

add http/impl
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 05 Feb 2018 22:33:59 -0700
parents 4100304340bc
children bd0420fb3dd0
comparison
equal deleted inserted replaced
1159:3ef883468fd0 1160:4beabb087be6
34 return status; 34 return status;
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 NOT_FOUND = newStatus(404,"Not Found"); 40 public static final Status NOT_FOUND = newStatus(404,"Not Found");
40 public static final Status INTERNAL_SERVER_ERROR = newStatus(500,"Internal Server Error"); 41 public static final Status INTERNAL_SERVER_ERROR = newStatus(500,"Internal Server Error");
41 } 42 }