HttpRequestInterceptor () { return new HttpRequestInterceptor() { @Override public void process(HttpRequest request, HttpContext context) throws HttpException, IOException { request.addHeader(TOKEN_HEADER, getPassword()); } }; }