package com.jcdm.common.constant; /** * 返回状æ€ç * * @author jc */ public class HttpStatus { /** * æ“作æˆåŠŸ */ public static final int SUCCESS = 200; /** * 对象创建æˆåŠŸ */ public static final int CREATED = 201; /** * 请求已ç»è¢«æŽ¥å— */ public static final int ACCEPTED = 202; /** * æ“作已ç»æ‰§è¡ŒæˆåŠŸï¼Œä½†æ˜¯æ²¡æœ‰è¿”å›žæ•°æ® */ public static final int NO_CONTENT = 204; /** * 资æºå·²è¢«ç§»é™¤ */ public static final int MOVED_PERM = 301; /** * é‡å®šå‘ */ public static final int SEE_OTHER = 303; /** * 资æºæ²¡æœ‰è¢«ä¿®æ”¹ */ public static final int NOT_MODIFIED = 304; /** * å‚æ•°åˆ—è¡¨é”™è¯¯ï¼ˆç¼ºå°‘ï¼Œæ ¼å¼ä¸åŒ¹é…) */ public static final int BAD_REQUEST = 400; /** * æœªæŽˆæƒ */ public static final int UNAUTHORIZED = 401; /** * 访问å—é™ï¼ŒæŽˆæƒè¿‡æœŸ */ public static final int FORBIDDEN = 403; /** * 资æºï¼ŒæœåŠ¡æœªæ‰¾åˆ° */ public static final int NOT_FOUND = 404; /** * ä¸å…许的http方法 */ public static final int BAD_METHOD = 405; /** * 资æºå†²çªï¼Œæˆ–者资æºè¢«é” */ public static final int CONFLICT = 409; /** * ä¸æ”¯æŒçš„æ•°æ®ï¼Œåª’体类型 */ public static final int UNSUPPORTED_TYPE = 415; /** * 系统内部错误 */ public static final int ERROR = 500; /** * 接å£æœªå®žçŽ° */ public static final int NOT_IMPLEMENTED = 501; /** * 系统è¦å‘Šæ¶ˆæ¯ */ public static final int WARN = 601; }