Interface NeedsParams
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
Modifier and TypeMethodDescriptionvoid
setParams
(ListMultimap<String, String> params) Sets the request parameter.
-
Method Details
-
setParams
Sets the request parameter.- Parameters:
params
- the request parameter- Throws:
RestApiException
-