Interface NeedsParams
- All Known Implementing Classes:
GroupsCollection
,ProjectsCollection
public interface NeedsParams
Optional interface for
RestCollection
.
Collections that implement this interface can get to know about the request parameters. The
request parameters are passed only if the collection is the endpoint, e.g.
/changes/?q=abc
would trigger, but /changes/100/?q=abc
does not.
-
Method Summary
-
Method Details
-
setParams
void setParams(com.google.common.collect.ListMultimap<String, String> params) throws RestApiExceptionSets the request parameter.- Parameters:
params
- the request parameter- Throws:
RestApiException
-