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/04/19 21:06:41 UTC

[jira] [Closed] (HTTPCORE-451) Add a TimeValue class to wrap a long and a TimeUnit

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

Gary Gregory closed HTTPCORE-451.
---------------------------------
    Resolution: Fixed

This is all done in trunk but will be followed by another ticket for a refinement that introduces a {{Timeout}} class.

> Add a TimeValue class to wrap a long and a TimeUnit
> ---------------------------------------------------
>
>                 Key: HTTPCORE-451
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-451
>             Project: HttpComponents HttpCore
>          Issue Type: Improvement
>          Components: HttpCore
>    Affects Versions: 5.0-alpha2
>            Reporter: Gary Gregory
>            Assignee: Gary Gregory
>             Fix For: 5.0-alpha3
>
>
> Add a TimeValue class to wrap a long and a TimeUnit, 
> See {{org.apache.hc.core5.util.TimeValue}}. 
> Use cases: 
> - (/) {{org.apache.hc.core5.http.config.SocketConfig}}.
> - (/) {{org.apache.hc.core5.reactor.IOReactorConfig}}
> - (x) {{org.apache.hc.core5.http.HttpConnection.getSocketTimeout()}}
> - (x) {{org.apache.hc.core5.http.HttpConnection.setSocketTimeout(int)}}



--
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