You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by sh...@apache.org on 2009/09/02 16:44:08 UTC

svn commit: r810530 - in /webservices/axis2/trunk/c/include: axis2_http_header.h axis2_http_request_line.h axis2_http_status_line.h axis2_simple_http_svr_conn.h

Author: shankar
Date: Wed Sep  2 14:44:07 2009
New Revision: 810530

URL: http://svn.apache.org/viewvc?rev=810530&view=rev
Log:
adding comments

Modified:
    webservices/axis2/trunk/c/include/axis2_http_header.h
    webservices/axis2/trunk/c/include/axis2_http_request_line.h
    webservices/axis2/trunk/c/include/axis2_http_status_line.h
    webservices/axis2/trunk/c/include/axis2_simple_http_svr_conn.h

Modified: webservices/axis2/trunk/c/include/axis2_http_header.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_http_header.h?rev=810530&r1=810529&r2=810530&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_http_header.h (original)
+++ webservices/axis2/trunk/c/include/axis2_http_header.h Wed Sep  2 14:44:07 2009
@@ -92,11 +92,12 @@
         const axis2_char_t * value);
 
     /**
+     * Creates http header object from a string having format "header_name:     header_value"
+     * (e.g. "SOAPAction: urn:hello")
      * @param env pointer to environment struct
      * @param str pointer to str
      */
     AXIS2_EXTERN axis2_http_header_t *AXIS2_CALL
-
     axis2_http_header_create_by_str(
         const axutil_env_t * env,
         const axis2_char_t * str);

Modified: webservices/axis2/trunk/c/include/axis2_http_request_line.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_http_request_line.h?rev=810530&r1=810529&r2=810530&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_http_request_line.h (original)
+++ webservices/axis2/trunk/c/include/axis2_http_request_line.h Wed Sep  2 14:44:07 2009
@@ -104,11 +104,13 @@
         const axis2_char_t * http_version);
 
     /**
+     * Parses a line "<http method> <uri location> <http version>CRLF" and creates http_request_line
+     * object. E.g "POST /axis2/services/echo HTTP/1.1\r\n"
      * @param env pointer to environment struct
-     * @param str pointer to str
+     * @param str pointer to the line to be parsed
+     * @return created object if success. NULL otherwise
      */
     AXIS2_EXTERN axis2_http_request_line_t *AXIS2_CALL
-
     axis2_http_request_line_parse_line(
         const axutil_env_t * env,
         const axis2_char_t * str);

Modified: webservices/axis2/trunk/c/include/axis2_http_status_line.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_http_status_line.h?rev=810530&r1=810529&r2=810530&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_http_status_line.h (original)
+++ webservices/axis2/trunk/c/include/axis2_http_status_line.h Wed Sep  2 14:44:07 2009
@@ -105,11 +105,17 @@
      * @param str pointer to str
      */
     AXIS2_EXTERN axis2_http_status_line_t *AXIS2_CALL
-
     axis2_http_status_line_create(
         const axutil_env_t * env,
         const axis2_char_t * str);
 
+    AXIS2_EXTERN axis2_http_status_line_t *AXIS2_CALL
+    axis2_http_status_line_create_with_values(
+        const axutil_env_t * env,
+        const axis2_char_t * http_ver,
+        const int status_code,
+        const axis2_char_t * phrase);
+
     AXIS2_EXTERN void AXIS2_CALL
     axis2_http_status_line_set_http_version(
         axis2_http_status_line_t * status_line,

Modified: webservices/axis2/trunk/c/include/axis2_simple_http_svr_conn.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_simple_http_svr_conn.h?rev=810530&r1=810529&r2=810530&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_simple_http_svr_conn.h (original)
+++ webservices/axis2/trunk/c/include/axis2_simple_http_svr_conn.h Wed Sep  2 14:44:07 2009
@@ -110,7 +110,6 @@
      * @param env pointer to environment struct
      */
     AXIS2_EXTERN axis2_http_simple_request_t *AXIS2_CALL
-
     axis2_simple_http_svr_conn_read_request(
         axis2_simple_http_svr_conn_t * svr_conn,
         const axutil_env_t * env);