new GrizzlyConnectorProvider.AsyncClientCustomizer() {
@Override
public AsyncHttpClientConfig.Builder customize(Client client,
Configuration config,
AsyncHttpClientConfig.Builder configBuilder) {
return configBuilder.addRequestFilter(new RequestFilter() {
@Override
public FilterContext filter(FilterContext filterContext) throws FilterException {
filterContext.getRequest().getHeaders().add("X-Test-Config", "tested");
return filterContext;
}