Skip to content

CommonsClientHttpRequestFactory getHttpClient() returns HttpClient from Commons HttpClient 3.x which has been EOL'd [SPR-6719] #11385

Closed
@spring-projects-issues

Description

@spring-projects-issues

Ryan LaMothe opened SPR-6719 and commented

I need to extend CommonsClientHttpRequestFactory and override getHttpClient() in order to use RestTemplate(ClientHttpRequestFactory requestFactory) to make authenticated restful web service calls. Unfortunately, getHttpClient() returns HttpClient from Commons HttpClient 3.x which has been end-of-life'd (EOL) and is no longer supported. The CommonsClientHttpRequestFactory and in turn RestTemplate need to use the supported HttpCore 4.x and HttpClient 4.x libraries.


Affects: 3.0 GA

Attachments:

Issue Links:

8 votes, 10 watchers

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)status: duplicateA duplicate of another issuetype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions