1 16 17 package org.apache.axis.transport.http; 18 19 26 public class HTTPConstants { 27 31 32 public static final String HEADER_PROTOCOL_10 = "HTTP/1.0"; 33 public static final String HEADER_PROTOCOL_11 = "HTTP/1.1"; 34 public static final String HEADER_PROTOCOL_V10 = "1.0".intern(); 35 public static final String HEADER_PROTOCOL_V11 = "1.1".intern(); 36 public static final String HEADER_POST = "POST"; 37 public static final String HEADER_HOST = "Host"; 38 public static final String HEADER_CONTENT_DESCRIPTION = "Content-Description"; 39 public static final String HEADER_CONTENT_TYPE = "Content-Type"; 40 public static final String HEADER_CONTENT_TRANSFER_ENCODING = "Content-Transfer-Encoding"; 41 public static final String HEADER_CONTENT_TYPE_JMS = "ContentType"; 42 public static final String HEADER_CONTENT_LENGTH = "Content-Length"; 43 public static final String HEADER_CONTENT_LOCATION = "Content-Location"; 44 public static final String HEADER_CONTENT_ID = "Content-Id"; 45 public static final String HEADER_SOAP_ACTION = "SOAPAction"; 46 public static final String HEADER_AUTHORIZATION = "Authorization"; 47 public static final String HEADER_PROXY_AUTHORIZATION = "Proxy-Authorization"; 48 public static final String HEADER_EXPECT = "Expect"; 49 public static final String HEADER_EXPECT_100_Continue = "100-continue"; 50 public static final String HEADER_USER_AGENT = "User-Agent"; 51 public static final String HEADER_CACHE_CONTROL = "Cache-Control"; 52 public static final String HEADER_CACHE_CONTROL_NOCACHE = "no-cache"; 53 public static final String HEADER_PRAGMA = "Pragma"; 54 public static final String HEADER_LOCATION = "Location"; 55 56 57 58 59 public static final String REQUEST_HEADERS = "HTTP-Request-Headers"; 60 public static final String RESPONSE_HEADERS = "HTTP-Response-Headers"; 61 62 63 public static final String HEADER_TRANSFER_ENCODING = "Transfer-Encoding".intern(); 64 public static final String HEADER_TRANSFER_ENCODING_CHUNKED = "chunked".intern(); 65 66 public static final String HEADER_CONNECTION = "Connection"; 67 public static final String HEADER_CONNECTION_CLOSE = "close".intern(); 68 public static final String HEADER_CONNECTION_KEEPALIVE = "Keep-Alive".intern(); 70 public static final String HEADER_ACCEPT = "Accept"; 71 public static final String HEADER_ACCEPT_TEXT_ALL = "text/*"; 72 public static final String HEADER_ACCEPT_APPL_SOAP = "application/soap+xml"; 73 public static final String HEADER_ACCEPT_MULTIPART_RELATED = "multipart/related"; 74 public static final String HEADER_ACCEPT_APPLICATION_DIME = "application/dime"; 75 76 77 80 public static final String HEADER_COOKIE = "Cookie"; 81 public static final String HEADER_COOKIE2 = "Cookie2"; 82 public static final String HEADER_SET_COOKIE = "Set-Cookie"; 83 public static final String HEADER_SET_COOKIE2 = "Set-Cookie2"; 84 85 87 public static String MC_HTTP_STATUS_CODE = "transport.http.statusCode"; 88 89 91 public static String MC_HTTP_STATUS_MESSAGE = "transport.http.statusMessage"; 92 93 95 public static String MC_HTTP_SERVLET = "transport.http.servlet" ; 96 97 99 public static String MC_HTTP_SERVLETREQUEST = "transport.http.servletRequest"; 100 102 public static String MC_HTTP_SERVLETRESPONSE= "transport.http.servletResponse"; 103 public static String MC_HTTP_SERVLETLOCATION= "transport.http.servletLocation"; 104 public static String MC_HTTP_SERVLETPATHINFO= "transport.http.servletPathInfo"; 105 106 109 public static String MC_HTTP_SOAPACTION = javax.xml.rpc.Call.SOAPACTION_URI_PROPERTY; 110 111 113 public static final String HEADER_DEFAULT_CHAR_ENCODING = "iso-8859-1"; 114 115 118 119 public static final String PLUGIN_NAME = "transport.http.plugin.pluginName"; 120 public static final String PLUGIN_SERVICE_NAME = "transport.http.plugin.serviceName"; 121 public static final String PLUGIN_IS_DEVELOPMENT = "transport.http.plugin.isDevelopment"; 122 public static final String PLUGIN_ENABLE_LIST = "transport.http.plugin.enableList"; 123 public static final String PLUGIN_ENGINE = "transport.http.plugin.engine"; 124 public static final String PLUGIN_WRITER = "transport.http.plugin.writer"; 125 public static final String PLUGIN_LOG = "transport.http.plugin.log"; 126 public static final String PLUGIN_EXCEPTION_LOG = "transport.http.plugin.exceptionLog"; 127 } 128 | Popular Tags |