Closed
Description
Looking at the HttpResponseStatus, it's an abstract class that requires a config passed in the constructor:
However, the two implementing classes, Netty and HttpStatusWrapper do not make use of Config and it's not exposed in the API.
public HttpStatusWrapper(HttpResponseStatus wrapper, String statusText, int statusCode) {
super(wrapper.getUri(), (AsyncHttpClientConfig)null);
this.wrapped = wrapper;
this.statusText = statusText;
this.statusCode = statusCode;
}
It'd be nice if the config was not required in the abstract class constructor. :-)