Skip to content

Commit

Permalink
ZAAS enabled
Browse files Browse the repository at this point in the history
Signed-off-by: Pavel Jares <[email protected]>
  • Loading branch information
pj892031 committed Feb 1, 2024
1 parent 4e40c71 commit 9e3dee8
Show file tree
Hide file tree
Showing 2 changed files with 135 additions and 141 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,13 +118,13 @@ public void doFilter(ServletRequest request, ServletResponse response, FilterCha
};
}

final Adapter<org.apache.hc.core5.http.ClassicHttpResponse, org.apache.http.client.methods.CloseableHttpResponse> RESPONSE_ADAPTER =
new Adapter<>(org.apache.hc.core5.http.ClassicHttpResponse.class, org.apache.http.client.methods.CloseableHttpResponse.class);
final Adapter<org.apache.http.HttpRequest, org.apache.hc.core5.http.ClassicHttpRequest> REQUEST_ADAPTER =
new Adapter<>(org.apache.http.HttpRequest.class, org.apache.hc.core5.http.ClassicHttpRequest.class);
final Adapter<org.apache.http.protocol.HttpContext, org.apache.hc.core5.http.protocol.HttpContext> CONTEXT_ADAPTER =
new Adapter<>(org.apache.http.protocol.HttpContext.class, org.apache.hc.core5.http.protocol.HttpContext.class);
public org.apache.http.impl.client.CloseableHttpClient httpClient4(org.apache.hc.client5.http.impl.classic.CloseableHttpClient i) {
final Adapter<org.apache.hc.core5.http.ClassicHttpResponse, org.apache.http.client.methods.CloseableHttpResponse> RESPONSE_ADAPTER =
new Adapter<>(org.apache.hc.core5.http.ClassicHttpResponse.class, org.apache.http.client.methods.CloseableHttpResponse.class);
final Adapter<org.apache.http.HttpRequest, org.apache.hc.core5.http.ClassicHttpRequest> REQUEST_ADAPTER =
new Adapter<>(org.apache.http.HttpRequest.class, org.apache.hc.core5.http.ClassicHttpRequest.class);
final Adapter<org.apache.http.protocol.HttpContext, org.apache.hc.core5.http.protocol.HttpContext> CONTEXT_ADAPTER =
new Adapter<>(org.apache.http.protocol.HttpContext.class, org.apache.hc.core5.http.protocol.HttpContext.class);

return new org.apache.http.impl.client.CloseableHttpClient() {
@Override
Expand Down
Loading

0 comments on commit 9e3dee8

Please sign in to comment.