1 55 56 package org.jboss.axis.transport.http; 57 58 65 public class HTTPConstants 66 { 67 72 73 public static final String HEADER_PROTOCOL_10 = "HTTP/1.0"; 74 public static final String HEADER_PROTOCOL_11 = "HTTP/1.1"; 75 public static final String HEADER_PROTOCOL_V10 = "1.0".intern(); 76 public static final String HEADER_PROTOCOL_V11 = "1.1".intern(); 77 public static final String HEADER_POST = "POST"; 78 public static final String HEADER_HOST = "Host"; 79 public static final String HEADER_CONTENT_DESCRIPTION = "Content-Description"; 80 public static final String HEADER_CONTENT_TYPE = "Content-Type"; 81 public static final String HEADER_CONTENT_TRANSFER_ENCODING = "Content-Transfer-Encoding"; 82 public static final String HEADER_CONTENT_TYPE_JMS = "ContentType"; 83 public static final String HEADER_CONTENT_LENGTH = "Content-Length"; 84 public static final String HEADER_CONTENT_LOCATION = "Content-Location"; 85 public static final String HEADER_CONTENT_ID = "Content-Id"; 86 public static final String HEADER_SOAP_ACTION = "SOAPAction"; 87 public static final String HEADER_AUTHORIZATION = "Authorization"; 88 public static final String HEADER_PROXY_AUTHORIZATION = "Proxy-Authorization"; 89 public static final String HEADER_EXPECT = "Expect"; 90 public static final String HEADER_EXPECT_100_Continue = "100-continue"; 91 public static final String HEADER_USER_AGENT = "User-Agent"; 92 public static final String HEADER_CACHE_CONTROL = "Cache-Control"; 93 public static final String HEADER_CACHE_CONTROL_NOCACHE = "no-cache"; 94 public static final String HEADER_PRAGMA = "Pragma"; 95 96 97 public static final String REQUEST_HEADERS = "HTTP-Request-Headers"; 98 public static final String RESPONSE_HEADERS = "HTTP-Response-Headers"; 99 100 101 public static final String HEADER_TRANSFER_ENCODING = "Transfer-Encoding".intern(); 102 public static final String HEADER_TRANSFER_ENCODING_CHUNKED = "chunked".intern(); 103 104 public static final String HEADER_CONNECTION = "Connection"; 105 public static final String HEADER_CONNECTION_CLOSE = "close".intern(); 106 public static final String HEADER_CONNECTION_KEEPALIVE = "Keep-Alive".intern(); 108 public static final String HEADER_ACCEPT = "Accept"; 109 public static final String HEADER_ACCEPT_TEXT_ALL = "text/*"; 110 public static final String HEADER_ACCEPT_APPL_SOAP = "application/soap+xml"; 111 public static final String HEADER_ACCEPT_MULTIPART_RELATED = "multipart/related"; 112 public static final String HEADER_ACCEPT_APPLICATION_DIME = "application/dime"; 113 114 115 118 public static final String HEADER_COOKIE = "Cookie"; 119 public static final String HEADER_COOKIE2 = "Cookie2"; 120 public static final String HEADER_SET_COOKIE = "Set-Cookie"; 121 public static final String HEADER_SET_COOKIE2 = "Set-Cookie2"; 122 123 126 public static String MC_HTTP_STATUS_CODE = "transport.http.statusCode"; 127 128 131 public static String MC_HTTP_STATUS_MESSAGE = "transport.http.statusMessage"; 132 133 136 public static String MC_HTTP_SERVLET = "transport.http.servlet"; 137 138 141 public static String MC_HTTP_SERVLETREQUEST = "transport.http.servletRequest"; 142 145 public static String MC_HTTP_SERVLETRESPONSE = "transport.http.servletResponse"; 146 public static String MC_HTTP_SERVLETLOCATION = "transport.http.servletLocation"; 147 public static String MC_HTTP_SERVLETPATHINFO = "transport.http.servletPathInfo"; 148 149 152 public static String MC_HTTP_SOAPACTION = javax.xml.rpc.Call.SOAPACTION_URI_PROPERTY; 153 154 157 public static final String HEADER_DEFAULT_CHAR_ENCODING = "iso-8859-1"; 158 } 159 | Popular Tags |