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 di...@apache.org on 2007/11/21 11:02:14 UTC

svn commit: r597015 - /webservices/axis2/trunk/c/include/axis2_msg_ctx.h

Author: dinesh
Date: Wed Nov 21 02:02:14 2007
New Revision: 597015

URL: http://svn.apache.org/viewvc?rev=597015&view=rev
Log:
REST fault handling

Modified:
    webservices/axis2/trunk/c/include/axis2_msg_ctx.h

Modified: webservices/axis2/trunk/c/include/axis2_msg_ctx.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_msg_ctx.h?rev=597015&r1=597014&r2=597015&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_msg_ctx.h (original)
+++ webservices/axis2/trunk/c/include/axis2_msg_ctx.h Wed Nov 21 02:02:14 2007
@@ -1,4 +1,3 @@
-
 /*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
@@ -1509,6 +1508,31 @@
         axis2_msg_ctx_t * msg_ctx,
         const axutil_env_t * env,
         axutil_string_t * str);
+
+    /**
+     * Gets the integer value indicating http status_code.
+     * @param msg_ctx message context
+     * @param env pointer to environment struct
+     * @return status value
+     */
+    AXIS2_EXTERN int AXIS2_CALL
+    axis2_msg_ctx_get_status_code(
+        axis2_msg_ctx_t * msg_ctx,
+        const axutil_env_t * env);
+
+    /**
+     * Sets the int value indicating http status code
+     * @param msg_ctx message context
+     * @param env pointer to environment struct
+     * @param status code, of the http response
+     * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+     */
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axis2_msg_ctx_set_status_code(
+        axis2_msg_ctx_t * msg_ctx,
+        const axutil_env_t * env,
+        const int status_code);
+
 
     AXIS2_EXTERN axutil_stream_t *AXIS2_CALL
 



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org