public static class Query.QueryBuilder extends Object
Query.forContent(URI, String)
Modifier and Type | Method and Description |
---|---|
Query |
build()
Creates an instance of Query with information configured in this builder instance.
|
Query.QueryBuilder |
ifModifiedSince(Date date)
Indicates the query should be rejected with HTTP Status 412 (Precondition Failed) if the date specified here is greater than (after) the
date of the last resource indexed on target server.
|
Query.QueryBuilder |
pageSize(int pageSize)
Sets the the maximum number of items per page the response can contain
|
public Query.QueryBuilder pageSize(int pageSize)
pageSize
- the maximum number of items per page the response can contain.public Query.QueryBuilder ifModifiedSince(Date date)
See this article for details:
https://jazz.net/wiki/bin/view/Main/JFSIndexStoreQueryAPI#Using_If_Modified_Since_Last_Mod
date
- the date to send as X-If-Modified-Since-XSD
header.public Query build()