Julian Sedding
71d0567376
HTTPCLIENT-1778: [OSGi] simplify handling of ManagedService based configurations
...
- simplify TrustedHostsConfiguration handling
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1763263 13f79535-47bb-0310-9956-ffa450edef68
2016-10-04 11:29:36 +00:00
Julian Sedding
e9f8c5b315
HTTPCLIENT-1778: [OSGi] simplify handling of ManagedService based configurations
...
- simplify ProxyConfiguration handling
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1763261 13f79535-47bb-0310-9956-ffa450edef68
2016-10-04 11:29:27 +00:00
Julian Sedding
c08880c2c6
HTTPCLIENT-1777: [OSGi] remove duplication between OSGiClientBuilderFactory and OSGiCachingClientBuilderFactory
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1763260 13f79535-47bb-0310-9956-ffa450edef68
2016-10-04 11:29:17 +00:00
Julian Sedding
4918d66253
HTTPCLIENT-1772: [OSGi] WeakList needs to support "clear" method
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1762912 13f79535-47bb-0310-9956-ffa450edef68
2016-09-30 14:02:33 +00:00
Oleg Kalnichevski
faf00d87f6
HTTPCLIENT-1771: improve OSGi webconsole display for org.apache.http.proxyconfigurator
...
Contributed by Julian Sedding <jsedding at apache.org>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1762116 13f79535-47bb-0310-9956-ffa450edef68
2016-09-24 08:53:10 +00:00
Oleg Kalnichevski
3ca9ff6a1b
HTTPCLIENT-1770: OSGi metatype for org.apache.http.proxyconfigurator missing factoryPid
...
Contributed by Julian Sedding <jsedding at apache.org>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1762115 13f79535-47bb-0310-9956-ffa450edef68
2016-09-24 08:52:30 +00:00
Oleg Kalnichevski
28a6d5c481
HTTPCLIENT-1767: Null pointer dereference in EofSensorInputStream and ResponseEntityProxy
...
EofSensorInputStream is generating NullPointerExceptions in some rare situations. This commit fixes that behaviour for the check methods by dereferencing the instance variable to a final local variable to ensure that if it is not null at the null guard, that it will be not null after that point also to successfully close/abort the stream
In some rare cases, null parameters are sent to ReponseEntityProxy methods, this adds checks on those to ensure that the connections are still released, but the null variable is not dereferenced.
Contributed by Peter Ansell <p_ansell@yahoo.com>
Conflicts:
httpclient5/src/main/java/org/apache/hc/client5/http/impl/sync/ResponseEntityProxy.java
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1760585 13f79535-47bb-0310-9956-ffa450edef68
2016-09-13 18:32:38 +00:00
Oleg Kalnichevski
f779a4b65d
Support changing system default ProxySelector
...
Contributed by Robin Stevens <stevensro at gmail.com>
The `ProxySelectorRoutePlanner` class which got deprecated in favor of the `SystemDefaultRoutePlanner` could deal with:
- `null` as default `ProxySelector`
- a change in the default `ProxySelector`
This change ports that behavior to the `SystemDefaultRoutePlanner`.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1758106 13f79535-47bb-0310-9956-ffa450edef68
2016-08-28 13:02:35 +00:00
Gary D. Gregory
a24b592e87
Use final.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1757448 13f79535-47bb-0310-9956-ffa450edef68
2016-08-23 22:27:27 +00:00
Gary D. Gregory
1aff9e9220
Use final.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1757447 13f79535-47bb-0310-9956-ffa450edef68
2016-08-23 22:27:14 +00:00
Gary D. Gregory
90d29f6d46
Ignore Eclipse bin folder.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1757446 13f79535-47bb-0310-9956-ffa450edef68
2016-08-23 22:26:58 +00:00
Gary D. Gregory
df62fd9b78
Svn Ignore Eclipse .checkstyle file.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1757443 13f79535-47bb-0310-9956-ffa450edef68
2016-08-23 22:10:02 +00:00
Gary D. Gregory
ade60972a9
Svn Ignore Eclipse .checkstyle file.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1757442 13f79535-47bb-0310-9956-ffa450edef68
2016-08-23 22:09:21 +00:00
Gary D. Gregory
8ae245e282
Svn Ignore Eclipse .checkstyle file.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1757441 13f79535-47bb-0310-9956-ffa450edef68
2016-08-23 22:08:49 +00:00
Oleg Kalnichevski
4046b8fdcc
HTTPCLIENT-1748: Improved compatibility with system authentication API in applets
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1756293 13f79535-47bb-0310-9956-ffa450edef68
2016-08-13 19:55:43 +00:00
Oleg Kalnichevski
1d6d8ae8c2
All services registered in the OSGi service registry provide the whole bundle header dictionary as vendor property value.
...
Contributed by Christoph Fiehe <christoph.fiehe at materna.de>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1756280 13f79535-47bb-0310-9956-ffa450edef68
2016-08-13 15:40:23 +00:00
Oleg Kalnichevski
1b9c13afa9
HTTPCLIENT-1760: added protected methods to enumerate leased and available connections to PoolingHttpClientConnectionManager
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1756278 13f79535-47bb-0310-9956-ffa450edef68
2016-08-13 15:30:27 +00:00
Simone Tripodi
57bb51812e
HTTPCLIENT-1752 - Allow to configure the OSGI clients with relaxed SSL checks
...
metatype description aligned to javadoc
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1754135 13f79535-47bb-0310-9956-ffa450edef68
2016-07-26 14:32:16 +00:00
Simone Tripodi
c08b6349a5
HTTPCLIENT-1752 - Allow to configure the OSGI clients with relaxed SSL checks
...
initial check-in, GitHub pull request (https://github.com/apache/httpclient/pull/56 ) accepted
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1754122 13f79535-47bb-0310-9956-ffa450edef68
2016-07-26 12:42:27 +00:00
Gary D. Gregory
472dce0199
Better build instructions.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1749366 13f79535-47bb-0310-9956-ffa450edef68
2016-06-20 17:02:31 +00:00
Oleg Kalnichevski
3c53d69077
HTTPCLIENT-1750: OSGi support for CachingHttpClientBuilder
...
Contributed by Justin Edelson <justin at justinedelson.com>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1747906 13f79535-47bb-0310-9956-ffa450edef68
2016-06-11 15:55:28 +00:00
Oleg Kalnichevski
58a14cc020
HTTPCLIENT-1749: OSGi client builder to use weak references to track HttpClient instances
...
Contributed by Justin Edelson <justin at justinedelson.com>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1747905 13f79535-47bb-0310-9956-ffa450edef68
2016-06-11 15:55:15 +00:00
Oleg Kalnichevski
8081dbdc02
HTTPCLIENT-1746: improved argument validation in URLEncodedUtils
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1746751 13f79535-47bb-0310-9956-ffa450edef68
2016-06-03 19:37:33 +00:00
Oleg Kalnichevski
da589ff03a
HTTPCLIENT-1736: do not request cred delegation by default when using Kerberos auth
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1746746 13f79535-47bb-0310-9956-ffa450edef68
2016-06-03 19:19:39 +00:00
Oleg Kalnichevski
da8e60b2a4
Cleaned up comments
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1745907 13f79535-47bb-0310-9956-ffa450edef68
2016-05-28 17:00:08 +00:00
Oleg Kalnichevski
facf463c44
HTTPCLIENT-1744: normalize hostname and certificate CN when matching to CN
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1745906 13f79535-47bb-0310-9956-ffa450edef68
2016-05-28 16:59:23 +00:00
Oleg Kalnichevski
e6c051ee1b
HTTPCLIENT-1732: SystemDefaultCredentialsProvider to take http.proxyHost and http.proxyPort system properties into account
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1737484 13f79535-47bb-0310-9956-ffa450edef68
2016-04-02 10:26:11 +00:00
Oleg Kalnichevski
66c5016394
HTTPCLIENT-1730: added #setValidateAfterInactivity to HttpClientBuilder
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1736237 13f79535-47bb-0310-9956-ffa450edef68
2016-03-22 19:28:09 +00:00
Oleg Kalnichevski
055030c9f2
HTTPCLIENT-1730: javadoc improvements
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1736193 13f79535-47bb-0310-9956-ffa450edef68
2016-03-22 14:06:47 +00:00
Gary D. Gregory
52c68d6a4f
Comment empty blocks.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1733182 13f79535-47bb-0310-9956-ffa450edef68
2016-03-01 22:53:05 +00:00
Oleg Kalnichevski
129fc09f42
HTTPCLIENT-1718, HTTPCLEINT-1719: credentials fix to allow proxy authetication
...
Contributed by 212427891 <munene.kiruja at ge.com>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1730838 13f79535-47bb-0310-9956-ffa450edef68
2016-02-17 14:00:52 +00:00
Gary D. Gregory
8e8cfc41ad
[HTTPCLIENT-1717] Make fluent API .Content.Content(byte[], ContentType) public.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1728788 13f79535-47bb-0310-9956-ffa450edef68
2016-02-06 03:10:00 +00:00
Gary D. Gregory
cd4fc8f885
Statement unnecessarily nested within else clause.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1728604 13f79535-47bb-0310-9956-ffa450edef68
2016-02-05 04:59:28 +00:00
Gary D. Gregory
2b573561f8
Javadoc typo.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1728603 13f79535-47bb-0310-9956-ffa450edef68
2016-02-05 04:54:34 +00:00
Oleg Kalnichevski
3df5c3d6a5
HTTPCLIENT-1716: redirect handling of unsafe methods defined by RFC 7231
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1727394 13f79535-47bb-0310-9956-ffa450edef68
2016-01-28 16:16:48 +00:00
Gary D. Gregory
a287ab6387
Add final modifier to local variables.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1726969 13f79535-47bb-0310-9956-ffa450edef68
2016-01-27 09:02:41 +00:00
Gary D. Gregory
1d43ae8238
[HTTPCLIENT-1715] NTLMEngineImpl.Type1Message not thread safe but declared as a constant.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1726956 13f79535-47bb-0310-9956-ffa450edef68
2016-01-27 08:30:35 +00:00
Gary D. Gregory
6ba70b435c
Use Java 7's try-with-resources.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1726955 13f79535-47bb-0310-9956-ffa450edef68
2016-01-27 08:27:37 +00:00
Gary D. Gregory
69b509a06d
Statement unnecessarily nested within else clause.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1726954 13f79535-47bb-0310-9956-ffa450edef68
2016-01-27 08:25:11 +00:00
Gary D. Gregory
5868ceed56
Statement unnecessarily nested within else clause.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1726953 13f79535-47bb-0310-9956-ffa450edef68
2016-01-27 08:24:45 +00:00
Gary D. Gregory
8c840c918b
Statement unnecessarily nested within else clause.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1726950 13f79535-47bb-0310-9956-ffa450edef68
2016-01-27 08:14:03 +00:00
Gary D. Gregory
40140009a1
Statement unnecessarily nested within else clause.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1726949 13f79535-47bb-0310-9956-ffa450edef68
2016-01-27 07:59:48 +00:00
Gary D. Gregory
5929a47ff8
Add missing serial version ID (default 1L).
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1726896 13f79535-47bb-0310-9956-ffa450edef68
2016-01-26 20:42:59 +00:00
Gary D. Gregory
2ed551ff45
Make some ivars final.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1726895 13f79535-47bb-0310-9956-ffa450edef68
2016-01-26 20:39:50 +00:00
Gary D. Gregory
9268258fc7
Make some ivars final.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1726894 13f79535-47bb-0310-9956-ffa450edef68
2016-01-26 20:39:09 +00:00
Gary D. Gregory
75bdb83e1a
Make some ivars final.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1726893 13f79535-47bb-0310-9956-ffa450edef68
2016-01-26 20:38:09 +00:00
Gary D. Gregory
1ecdb608e5
[HTTPCLIENT-1714] Add HttpClientBuilder.setDnsResolver(DnsResolver).
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1726732 13f79535-47bb-0310-9956-ffa450edef68
2016-01-26 05:23:30 +00:00
Gary D. Gregory
3c58addf11
SVN move folders from httpclient* to httpclient5* in order to match the Maven artifact ID, which matters for multi-module builds.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1726719 13f79535-47bb-0310-9956-ffa450edef68
2016-01-26 00:22:23 +00:00
Oleg Kalnichevski
d5bdbadfe3
Upgraded HttpClient version to 5.0-alpha2-SNAPSHOT
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1726372 13f79535-47bb-0310-9956-ffa450edef68
2016-01-23 10:24:52 +00:00
Gary D. Gregory
274a041da0
Update Slf4j from 1.7.7 to 1.7.13.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1725825 13f79535-47bb-0310-9956-ffa450edef68
2016-01-20 22:29:52 +00:00