public class QueryParamsImpl extends Object implements QueryParams
QueryParams.QueryParams.QueryParamOptionACTIVITY_STREAM_PARAM, IDENTITY_ID_PARAM, LIMIT_PARAM, MAX_ID_PARAM, NUMBER_OF_COMMENTS_PARAM, NUMBER_OF_LIKES_PARAM, POSTER_IDENTITY_PARAM, SINCE_ID_PARAM| Constructor and Description |
|---|
QueryParamsImpl() |
| Modifier and Type | Method and Description |
|---|---|
QueryParams |
append(QueryParams.QueryParamOption param)
Append the query parameter for build URL Request.
|
String |
buildQuery()
Builds the query string based on the setted value.
|
void |
clear()
Clear all of Query Parameters.
|
QueryParams.QueryParamOption |
get(QueryParams.QueryParamOption param)
Gets QueryParamOption which was existing.
|
QueryParams |
remove(QueryParams.QueryParamOption param)
Removes the query parameter.
|
public QueryParams append(QueryParams.QueryParamOption param)
QueryParamsappend in interface QueryParamspublic QueryParams remove(QueryParams.QueryParamOption param)
QueryParamsremove in interface QueryParamspublic String buildQuery()
QueryParamsbuildQuery in interface QueryParamspublic void clear()
QueryParamsclear in interface QueryParamspublic QueryParams.QueryParamOption get(QueryParams.QueryParamOption param)
QueryParamsget in interface QueryParamsCopyright © 2011–2016 eXo Platform SAS. All rights reserved.