final ContextualOperation<HttpRequest, HttpFilters> filterRequest = Contextualizer.contextualize(retriever,
new ContextualOperation<HttpRequest, HttpFilters>() {
@Override
public HttpFilters performInContext(HttpRequest originalRequest) {
return httpFiltersSource.filterRequest(originalRequest);
}
}
);
final InetSocketAddress bindToAddress = new InetSocketAddress(proxyUrl.getHost(), proxyUrl.getPort());