[
https://issues.apache.org/jira/browse/HTTPCORE-467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gary Gregory closed HTTPCORE-467.
---------------------------------
Resolution: Workaround
Closing as "Workaround" by copying the variables needed from the ctor into a
subclasses own instance variables. Also not needed in my use case if
[HTTPCORE-468] is implemented.
> Add getter methods to HttpAsyncService for subclasses to access instance
> variables
> ----------------------------------------------------------------------------------
>
> Key: HTTPCORE-467
> URL: https://issues.apache.org/jira/browse/HTTPCORE-467
> Project: HttpComponents HttpCore
> Issue Type: Improvement
> Components: HttpCore NIO
> Affects Versions: 4.4.6
> Reporter: Gary Gregory
> Assignee: Gary Gregory
>
> In order to my {{org.apache.http.nio.protocol.HttpAsyncService}} subclass to
> be coded cleanly, I would like to add getter methods to {{HttpAsyncService}}:
> Add getter methods to {{org.apache.http.nio.protocol.HttpAsyncService}} for
> subclasses to access instance variables:
> - {{getConnectionReuseStrategy()}}
> - {{getExceptionLogger()}}
> - {{getExpectationVerifier()}}
> - {{getHandlerMapper()}}
> - {{getHttpProcessor()}}
> Please see branch {{dev/4.4.x/HTTPCORE-467}}.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]