[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-1046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12986367#action_12986367
 ] 

Oleg Kalnichevski commented on HTTPCLIENT-1046:
-----------------------------------------------

Gary

No code duplication is necessary as long as you use the deprecated Scheme 
constructor with the deprecated SocketFactory interface or the new Scheme 
constructor with the new SchemeSocketFactory. 

Oleg

> Make class SchemeSocketFactoryAdaptor public
> --------------------------------------------
>
>                 Key: HTTPCLIENT-1046
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1046
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>          Components: HttpConn
>    Affects Versions: 4.1 Final
>         Environment: java version "1.6.0_23"
> Java(TM) SE Runtime Environment (build 1.6.0_23-b05)
> Java HotSpot(TM) 64-Bit Server VM (build 19.0-b09, mixed mode)
>            Reporter: Gary Gregory
>
> I am porting code to 4.1 and removing our use of deprecated classes and 
> methods.
> In order to provide backward compatibility I need to support SocketFactory 
> but I want to store a SchemeSocketFactory in the code.
> This means using an adapter which exists already but is package private: 
> SchemeSocketFactoryAdaptor.
> I am requesting to make SchemeSocketFactoryAdaptor public.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to