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 sa...@apache.org on 2006/02/07 06:56:43 UTC

svn commit: r375501 - /webservices/axis2/trunk/java/xdocs/0_94/http-transport.html

Author: saminda
Date: Mon Feb  6 21:56:41 2006
New Revision: 375501

URL: http://svn.apache.org/viewcvs?rev=375501&view=rev
Log:
Updated the http-transport.html to give details of configuring 
transport version either from deployment time or at runtime.

Modified:
    webservices/axis2/trunk/java/xdocs/0_94/http-transport.html

Modified: webservices/axis2/trunk/java/xdocs/0_94/http-transport.html
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/0_94/http-transport.html?rev=375501&r1=375500&r2=375501&view=diff
==============================================================================
--- webservices/axis2/trunk/java/xdocs/0_94/http-transport.html (original)
+++ webservices/axis2/trunk/java/xdocs/0_94/http-transport.html Mon Feb  6 21:56:41 2006
@@ -44,7 +44,7 @@
 authenticate the clients and where the server has the clients' public keys in
 its trust store.
 
-<h2>Timeout Configuraiton</h2>
+<h2>Timeout Configuration</h2>
 
 <p>There are two timeout exists in transport level. They are called, Socket
 timeout and Connection timeout. This can be configured in deployment time or
@@ -65,6 +65,16 @@
 ...</pre>
 </source>
 <p></p>
+
+<h2>HTTP Version Configuration</h2>
+<p>User can select HTTP Version either from Axis2.xml or at runtime. The default HTTP Version is 1.1. Change the following entry in Axis2.xml
+to change the HTTP version to 1.0</p>
+<pre> &lt;parameter name="PROTOCOL" locked="false"&gt;HTTP/1.0&lt;/parameter&gt;</pre>
+
+In runtime the change of configuration is done as follows,
+<pre>...
+options.setProperty(org.apache.axis2.context.MessageContextConstants.HTTP_PROTOCOL_VERSION,org.apache.axis2.transport.http.HTTPConstants.HEADER_PROTOCOL_10);
+...</pre>
 
 <h2>Proxy and NTLM Authentication</h2>