1 19 20 package com.sslexplorer.boot; 21 22 29 public class HttpConstants { 30 31 34 35 38 public static final String HDR_IF_MODIFIED_SINCE = "If-Modified-Since"; 39 40 43 public static final String HDR_PROXY_CONNECTION = "Proxy-Connection"; 44 45 48 public static final String HDR_CLOSE = "Close"; 49 50 53 public static final String HDR_COOKIE = "Cookie"; 54 55 58 public static final String HDR_X_FORWARDED_FOR = "X-Forwarded-For"; 59 60 63 public static final String HDR_ACCEPT_ENCODING = "Accept-Encoding"; 64 65 68 public static final String HDR_TRANSFER_ENCODING = "Transfer-Encoding"; 69 70 73 public static final String HDR_TE = "TE"; 74 75 78 public static final String HDR_TRAILER = "Trailer"; 79 80 83 public static final String HDR_PROXY_AUTHORIZATION = "Proxy-Authorization"; 84 85 88 public static final String HDR_PROXY_AUTHENTICATE = "Proxy-Authenticate"; 89 90 93 public static final String HDR_UPGRADE = "Upgrade"; 94 95 98 public static final String HDR_KEEP_ALIVE = "Keep-Alive"; 99 100 103 public static final String HDR_CONTENT_TYPE = "Content-Type"; 104 105 108 public static final String HDR_CONTENT_LENGTH = "Content-Length"; 109 110 113 public final static String HDR_HOST = "Host"; 114 115 118 public final static String HDR_REFERER = "Referer"; 119 120 123 public final static String HDR_CONNECTION = "Connection"; 124 125 128 public static final String HDR_AUTHORIZATION = "Authorization"; 129 130 133 public static final String HDR_WWW_AUTHENTICATE = "WWW-Authenticate"; 134 135 138 public static final String HDR_CONTENT_ENCODING = "Content-Encoding"; 139 140 143 public static final String HDR_LOCATION = "Location"; 144 145 148 public static final String HDR_CACHE_CONTROL = "Cache-Control"; 149 150 153 public static final String HDR_SERVER = "Server"; 154 155 158 public static final String HDR_DATE = "Date"; 159 160 163 public static final String HDR_PRAGMA = "Pragma"; 164 165 168 public static final String HDR_EXPIRES = "Expires"; 169 170 173 public static final String HDR_SET_COOKIE = "Set-Cookie"; 174 175 178 179 182 public final static String METHOD_CONNECT = "CONNECT"; 183 184 187 public final static String METHOD_GET = "GET"; 188 189 192 public final static String METHOD_POST = "POST"; 193 194 197 public static final int RESP_200_OK = 200; 198 199 202 public static final int RESP_304_NOT_MODIFIED = 304; 203 204 207 public static final int RESP_401_UNAUTHORIZED = 401; 208 209 212 public final static int RESP_403_FORBIDDEN = 403; 213 214 217 public static final int RESP_407_PROXY_AUTHENTICATION_REQUIRED = 407; 218 219 222 public static final int RESP_500_INTERNAL_SERVER_ERROR = 500; 223 224 227 public static final int RESP_503_SERVICE_UNAVAILABLE = 503; 228 229 } 230 | Popular Tags |