Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Examples

axis2_http_transport.h

00001 /*
00002  * Copyright 2004,2005 The Apache Software Foundation.
00003  *
00004  * Licensed under the Apache License, Version 2.0 (the "License");
00005  * you may not use this file except in compliance with the License.
00006  * You may obtain count copy of the License at
00007  *
00008  *      http://www.apache.org/licenses/LICENSE-2.0
00009  *
00010  * Unless required by applicable law or agreed to in writing, software
00011  * distributed under the License is distributed on an "AS IS" BASIS,
00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  * See the License for the specific language governing permissions and
00014  * limitations under the License.
00015  */
00016 
00017 #ifndef AXIS2_HTTP_TRANSPORT_H
00018 #define AXIS2_HTTP_TRANSPORT_H
00019 
00020 #include <axis2_const.h>
00021 
00022 #ifdef __cplusplus
00023 extern "C"
00024 {
00025 #endif
00026 
00037     #define AXIS2_HTTP_OUT_TRANSPORT_INFO "HTTPOutTransportInfo" 
00038 
00041     #define AXIS2_HTTP_CRLF "\r\n"
00042 
00045     #define AXIS2_HTTP_PROTOCOL_VERSION "PROTOCOL"
00046     
00050     #define AXIS2_HTTP_REQUEST_URI "REQUEST_URI"
00051     
00055     #define AXIS2_HTTP_RESPONSE_CODE "RESPONSE_CODE"
00056     
00060     #define AXIS2_HTTP_RESPONSE_WORD "RESPONSE_WORD"
00061     
00065     #define AXIS2_HTTP_RESPONSE_ACK_CODE_VAL 202
00066 
00067     /*
00068      * RESPONSE_OK_CODE_VAL
00069      */
00070     #define AXIS2_HTTP_RESPONSE_OK_CODE_VAL 200
00071 
00072     /*
00073      * RESPONSE_CONTINUE_CODE_VAL
00074      */
00075     #define AXIS2_HTTP_RESPONSE_CONTINUE_CODE_VAL 100
00076    
00077     /*
00078      * RESPONSE_INTERNAL_SERVER_ERROR_CODE_VAL
00079      */ 
00080     #define  AXIS2_HTTP_RESPONSE_INTERNAL_SERVER_ERROR_CODE_VAL 500
00081 
00085     #define AXIS2_SOCKET "SOCKET"
00086     
00090     #define AXIS2_HTTP_HEADER_PROTOCOL_10 "HTTP/1.0"
00091     
00095     #define AXIS2_HTTP_HEADER_PROTOCOL_11 "HTTP/1.1"
00096     
00100     #define AXIS2_HTTP_CHAR_SET_ENCODING "charset"
00101     
00105     #define AXIS2_HTTP_HEADER_POST  "POST"
00106     
00110     #define AXIS2_HTTP_HEADER_GET "GET"
00111     
00115     #define AXIS2_HTTP_HEADER_HOST "Host"
00116     
00120     #define AXIS2_HTP_HEADER_CONTENT_DESCRIPTION "Content-Description"
00121     
00125     #define AXIS2_HTTP_HEADER_CONTENT_TYPE "Content-Type"
00126     
00130     #define AXIS2_HTTP_HEADER_CONTENT_TYPE_MIME_BOUNDARY "boundary"
00131     
00135     #define AXIS2_HTTP_HEADER_CONTENT_TRANSFER_ENCODING \
00136                                     "Content-Transfer-Encoding"
00137     
00141     #define AXIS2_HTTP_HEADER_CONTENT_LENGTH "Content-Length"
00142     
00146     #define AXIS2_HTTP_HEADER_CONTENT_LOCATION "Content-Location"
00147     
00151     #define AXIS2_HTTP_HEADER_CONTENT_ID "Content-Id"
00152     
00156     #define AXIS2_HTTP_HEADER_SOAP_ACTION "SOAPAction"
00157     
00161     #define AXIS2_HTTP_HEADER_AUTHORIZATION "Authorization"
00162     
00166     #define AXIS2_HTTP_HEADER_PROXY_AUTHORIZATION "Proxy-Authorization"
00167     
00171     #define AXIS2_HTTP_HEADER_EXPECT "Expect"
00172     
00176     #define AXIS2_HTTP_HEADER_EXPECT_100_CONTINUE "100-continue"
00177     
00181     #define AXIS2_HTTP_HEADER_USER_AGENT "User-Agent"
00182     
00186     #define AXIS2_HTTP_HEADER_CACHE_CONTROL "Cache-Control"
00187     
00191     #define AXIS2_HTTP_HEADER_CACHE_CONTROL_NOCACHE "no-cache"
00192     
00196     #define AXIS2_HTTP_HEADER_PRAGMA "Pragma"
00197     
00201     #define AXIS2_HTTP_HEADER_LOCATION "Location"
00202     
00206     #define AXIS2_HTTP_REQUEST_HEADERS "HTTP-Request-Headers"
00207     
00211     #define AXIS2_HTTP_RESPONSE_HEADERS "HTTP-Response-Headers"
00212     
00213     /* http 1.1 */
00214     
00218     #define AXIS2_HTTP_HEADER_TRANSFER_ENCODING "Transfer-Encoding"
00219     
00223     #define AXIS2_HTTP_HEADER_TRANSFER_ENCODING_CHUNKED "chunked"
00224     
00228     #define AXIS2_HTTP_HEADER_CONNECTION "Connection"
00229     
00233     #define AXIS2_HTTP_HEADER_CONNECTION_CLOSE "close"
00234     
00238     #define AXIS2_HTTP_HEADER_CONNECTION_KEEPALIVE "Keep-Alive"
00239     
00243     #define AXIS2_HTTP_HEADER_ACCEPT "Accept"
00244     
00248     #define AXIS2_HTTP_HEADER_ACCEPT_TEXT_ALL "text/*"
00249     
00253     #define AXIS2_HTTP_HEADER_ACCEPT_TEXT_PLAIN "text/plain"
00254     
00258     #define AXIS2_HTTP_HEADER_ACCEPT_TEXT_XML "text/xml"
00259 
00263     #define AXIS2_HTTP_HEADER_ACCEPT_APPL_SOAP "application/soap+xml"
00264     
00268     #define AXIS2_HTTP_HEADER_ACCEPT_MULTIPART_RELATED "multipart/related"
00269     
00273     #define AXIS2_HTTP_HEADER_ACCEPT_APPLICATION_DIME "application/dime"
00274     
00278     #define AXIS2_HTTP_HEADER_COOKIE "Cookie"
00279     
00283     #define AXIS2_HTTP_HEADER_COOKIE2 "Cookie2"
00284     
00288     #define AXIS2_HTTP_HEADER_SET_COOKIE "Set-Cookie"
00289     
00293     #define AXIS2_HTTP_HEADER_SET_COOKIE2 "Set-Cookie2"
00294     
00298     #define AXIS2_HTTP_HEADER_DEFAULT_CHAR_ENCODING "iso-8859-1"
00299     
00303     #define AXIS2_HTTP_RESPONSE_OK "200 OK"
00304     
00308     #define AXIS2_HTTP_RESPONSE_NOCONTENT "202 OK";
00309     
00313     #define AXIS2_HTTP_RESPONSE_HTTP_UNAUTHORIZED "401 Unauthorized"
00314     
00318     #define AXIS2_HTTP_RESPONSE_BAD_REQUEST "400 Bad Request"
00319     
00323     #define AXIS2_HTTP_RESPONSE_INTERNAL_SERVER_ERROR "500 Internal server error"
00324     
00328     #define AXIS2_HTTP_REQ_TYPE "HTTP_REQ_TYPE"
00329     
00333     #define AXIS2_HTTP_SO_TIMEOUT "SO_TIMEOUT"
00334     
00338     #define AXIS2_HTTP_CONNECTION_TIMEOUT "CONNECTION_TIMEOUT"
00339     
00343     #define AXIS2_HTTP_DEFAULT_SO_TIMEOUT 30000
00344     
00348     #define AXIS2_HTTP_DEFAULT_CONNECTION_TIMEOUT 60000
00349     
00350     #define AXIS2_HTTP_PROXY "PROXY"
00351     
00355     #define AXIS2_HTTP_ISO_8859_1 "ISO-8859-1"
00359     #define AXIS2_HTTP_DEFAULT_CONTENT_CHARSET "ISO-8859-1"
00360    
00364     #define AXIS2_TRANSPORT_HTTP "http"
00365    
00369    #define AXIS2_RESPONSE_WRITTEN "CONTENT_WRITTEN"
00370     
00374     #define MTOM_RECIVED_CONTENT_TYPE "MTOM_RECEIVED"
00375 
00379     #define AXIS2_HTTP_PROXY "PROXY"
00380     
00384     #define AXIS2_PROXY_HOST_NAME "proxy_host"
00385     
00389     #define AXIS2_PROXY_HOST_PORT "proxy_port"
00390     
00393 #ifdef __cplusplus
00394 }
00395 #endif  
00396 #endif                          /* AXIS2_HTTP_TRANSPORT_H */

Generated on Fri Jun 16 18:02:31 2006 for Axis2/C by  doxygen 1.4.2