[
https://issues.apache.org/jira/browse/HTTPCORE-451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15982093#comment-15982093
]
Gary Gregory commented on HTTPCORE-451:
---------------------------------------
Note that {{TimeValue}} is used everywhere it seems to make sense, not just the
list from the description.
> 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: [email protected]
For additional commands, e-mail: [email protected]