[ 
https://issues.apache.org/jira/browse/HTTPCORE-305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oleg Kalnichevski resolved HTTPCORE-305.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 4.2.2

Updated javadocs and tutorial sections related to content codecs based on 
Daniel's input. Changes committed to SVN trunk and 4.2.x branch.

Oleg
                
> Javadoc could be clearer about the scopes for the encoder/decoder....
> ---------------------------------------------------------------------
>
>                 Key: HTTPCORE-305
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-305
>             Project: HttpComponents HttpCore
>          Issue Type: Improvement
>          Components: Documentation
>            Reporter: Daniel Kulp
>             Fix For: 4.2.2
>
>
> While working with hc for use with CXF, I tried using the encoder/decoder on 
> a different thread, but ONLY on that different thread since they aren't 
> marked threadsafe.  However, I ran into some problems.   The javadoc for 
> produceContent and for the encoder/decoder interfaces likely should contain 
> something like:
> "The encoder should only be used within the context of the call to 
> produceContent.   The IOControl object can be retained and used on other 
> threads to allow resuming events when appropriate." 
> to make it clear that the encoder/decoder should not be retained at all, but 
> the IONControl object could be.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to