PageSizeInterceptor Class
- java.
lang. Object - BatchClientBehavior
- RequestInterceptor
- com.
microsoft. azure. batch. interceptor. PageSizeInterceptor
- com.
public class PageSizeInterceptor extends RequestInterceptor
Interceptor which contains a function used to set the maximum page size of a request. If there are multiple instances of this then the last set wins.
Constructor Summary
Constructor | Description |
---|---|
PageSizeInterceptor(int pageSize) |
Initializes a new PageSizeInterceptor for setting maximum page size of a request. |
Method Summary
Modifier and Type | Method and Description |
---|---|
int |
maxResults()
Gets the maximum number of items applied by this PageSizeInterceptor instance. |
Inherited Members
Constructor Details
PageSizeInterceptor
public PageSizeInterceptor(int pageSize)
Initializes a new PageSizeInterceptor for setting maximum page size of a request.
Parameters:
Method Details
maxResults
public int maxResults()
Gets the maximum number of items applied by this PageSizeInterceptor instance.
Returns:
Applies to
Azure SDK for Java