[
https://issues.apache.org/jira/browse/HTTPCLIENT-2101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17168015#comment-17168015
]
Jan commented on HTTPCLIENT-2101:
---------------------------------
OK, then i was right with that - i was not 100% sure but maybe 99.7! ;)
My reason for that:
I developed a facade that uses 2 HTTP clients in background:
- My one one (developed by with sockets, streams and so so)
- The HTTP client library from apache
It works similar to an "abstract factory" design pattern.
One of its interfaces defined that method ("design by constract"):
public interface HTTPConnectionInterface {
public void setConnectionData(final String caServer, final int caPort, final
boolean caIsSecure, inal Boolean caUseHTTP11);
...
...
...
}
My self-developed HTTP-Client supports HTTP 1.0 and HTTP 1.1 - so that last
parameter from `setConnectionData(...)` method is not useless for is.
But when i instantiate the Apache HTTP client with it, it will be use less.
Is there NO way the realize both methods with Apache HTTP client?
Maybe with a "hack" - doesn't play a role for me... maybe with a method
overrride or proxy pattern or withever...?
Maybe my question is a lil bit special! ;) But thank you anyway!
With best regards from Switzerland,
Jan
> Switch between HTTP 1.0 and HTTP 1.1 ...
> ----------------------------------------
>
> Key: HTTPCLIENT-2101
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2101
> Project: HttpComponents HttpClient
> Issue Type: Improvement
> Components: HttpClient (classic)
> Affects Versions: 4.5.11
> Reporter: Jan
> Priority: Critical
>
> Is would be nice to be able to select that. So it seems, that is not
> supported - i at least searched the half internet - nothing found regarding
> my issue.
>
> Thank you for your feedbacks.
>
> Jan
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]