public class PageSizeInterceptor extends RequestInterceptor
| Constructor and Description |
|---|
PageSizeInterceptor(int pageSize)
Initializes a new
PageSizeInterceptor for setting maximum page size of a request. |
| Modifier and Type | Method and Description |
|---|---|
int |
maxResults()
Gets the maximum number of items applied by this
PageSizeInterceptor instance. |
handler, withHandlerpublic PageSizeInterceptor(int pageSize)
PageSizeInterceptor for setting maximum page size of a request.pageSize - The maximum number of items to return in a response.public int maxResults()
PageSizeInterceptor instance.Copyright © 2019. All rights reserved.