methanol
methanol copied to clipboard
Move `ResponseBuilder` to public API
Response modification is an expected usage of interceptors. However, JDK provides no way of creating responses from scratch (HttpResponse<T>
is an interface, and it has no builder). Moving ResponseBuilder
(which is currently internal) to public API will be helpful for interceptors that rewrite/modify responses.