/** * Initiate the creation of a global query parameter that will be attached to all requests. * * @param key The key used for this parameter * * @return the parameter builder instance */ public RestParameterBuilder<B> addGlobalQueryParam(String key) { return new RestParameterBuilder<>(self(), Type.QUERY, globalQueryParams, key); }
/** * Initiate the creation of a global header parameter that will be attached to all requests. * * @param key The key used for this parameter * * @return the parameter builder instance */ public RestParameterBuilder<B> addGlobalHeaderParam(String key) { return new RestParameterBuilder<>(self(), Type.HEADER, globalHeaderParams, key); }