Am 2020-01-18 um 11:02 schrieb Oleg Kalnichevski:
On Wed, 2020-01-15 at 22:39 +0100, Michael Osipov wrote:
Am 2020-01-15 um 18:24 schrieb Oleg Kalnichevski:
On Wed, 2020-01-15 at 17:36 +0100, Michael Osipov wrote:
On Mon, 2020-01-13 at 20:20 +0100, Michael Osipov wrote:
Am 2020-01-13 um 15:00 schrieb Oleg Kalnichevski:
Michael, Gary

How long do you intend to block HttpClient 5.0-beta7
release?

Are you done with all this renaming and enum stuff?

One remaining PR and I am done. Will merge tonight.


Michael

Is there anything left blocking the release?

No! I have merged immediately after my email.

Go ahead.


OK. And what about HttpRequests, SimpleHttpRequests and
ClassicHttpRequests?

I will have a look at them tomorrow.


Hi Michael

Any update?

Wen't through the enums. First of all, I think HttpRequests should be BasicHttpRequests to be consistent with the rest.

As it looks like to me these are basic builders/factories. Enum has been used (to forbid inheritance?). In my opinion this is not what enum is for. I would expect them to be like:

public final class BasicHttpRequests {

  public BasicHttpRequests delete(String) ...
  public BasicHttpRequests delete(URI) ...
  public BasicHttpRequests delete(HttpHost, String) ...
  // and so on

}

A bit similar to the HTTP method operations in org.springframework.web.client.RestTemplate, but w/o the execution.

If that sounds reasonable, I will provide a PR today for all three of them.

Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to