hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb AT ASF <s...@apache.org>
Subject Re: svn commit: r1043489 - in /httpcomponents/httpclient/trunk/src/docbkx: advanced.xml authentication.xml connmgmt.xml fundamentals.xml httpagent.xml statemgmt.xml
Date Wed, 08 Dec 2010 16:25:50 GMT
On 8 December 2010 16:18,  <sebb@apache.org> wrote:
> Author: sebb
> Date: Wed Dec  8 16:18:20 2010
> New Revision: 1043489
>
> URL: http://svn.apache.org/viewvc?rev=1043489&view=rev
> Log:
> Added constant names for parameter name strings
>
> Modified:
>    httpcomponents/httpclient/trunk/src/docbkx/advanced.xml
>    httpcomponents/httpclient/trunk/src/docbkx/authentication.xml
>    httpcomponents/httpclient/trunk/src/docbkx/connmgmt.xml
>    httpcomponents/httpclient/trunk/src/docbkx/fundamentals.xml
>    httpcomponents/httpclient/trunk/src/docbkx/httpagent.xml
>    httpcomponents/httpclient/trunk/src/docbkx/statemgmt.xml
>
> Modified: httpcomponents/httpclient/trunk/src/docbkx/advanced.xml
> URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/src/docbkx/advanced.xml?rev=1043489&r1=1043488&r2=1043489&view=diff
> ==============================================================================
> --- httpcomponents/httpclient/trunk/src/docbkx/advanced.xml (original)
> +++ httpcomponents/httpclient/trunk/src/docbkx/advanced.xml Wed Dec  8 16:18:20 2010
> @@ -165,7 +165,7 @@ httpclient.setUserTokenHandler(new UserT
>             <itemizedlist>
>                 <listitem>
>                     <formalpara>
> -                        <title>'http.user-token':</title>
> +                        <title><constant>ClientContext.USER_TOKEN</constant>='http.user-token':</title>

Note: I tried using the following:

ClientContext.USER_TOKEN | 'http.user-token':

but the spaces around the | were not preseved - the title was
sometimes padded out to the whole line in the PDF output, and
sometimes were all but lost.

So eventtually I settled on a version without spaces:

ClientContext.USER_TOKEN='http.user-token':

as being (hopefully) reasonably clear without messing up the formatting.

But if anyone has a better idea, please say.

I'm about to start on the httpcore docs.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message