1 8 package mx4j.tools.adaptor.http; 9 10 15 public class HttpConstants 16 { 17 20 public final static String SERVER_INFO = "MX4J-HTTPD/1.0"; 21 22 25 public final static String HTTP_VERSION = "HTTP/1.0 "; 26 27 30 public final static String METHOD_GET = "GET"; 31 32 35 public final static String METHOD_POST = "POST"; 36 37 40 public final static int STATUS_OKAY = 200; 41 42 45 public final static int STATUS_NO_CONTENT = 204; 46 47 50 public final static int STATUS_MOVED_PERMANENTLY = 301; 51 52 55 public final static int STATUS_MOVED_TEMPORARILY = 302; 56 57 60 public final static int STATUS_BAD_REQUEST = 400; 61 62 65 public final static int STATUS_AUTHENTICATE = 401; 66 67 70 public final static int STATUS_FORBIDDEN = 403; 71 72 75 public final static int STATUS_NOT_FOUND = 404; 76 77 80 public final static int STATUS_NOT_ALLOWED = 405; 81 82 85 public final static int STATUS_INTERNAL_ERROR = 500; 86 87 90 public final static int STATUS_NOT_IMPLEMENTED = 501; 91 92 } 93 | Popular Tags |