You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2017/05/16 08:35:04 UTC

[jira] [Closed] (HTTPCORE-467) Add getter methods to HttpAsyncService for subclasses to access instance variables

     [ 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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org