com.atlassian.bamboo.rest.model.pagination
Class PageRequestSanitiser
java.lang.Object
com.atlassian.bamboo.rest.model.pagination.PageRequestSanitiser
public class PageRequestSanitiser
- extends Object
We must mandate the maximum allowed number of items to return in any query to prevent putting to much load on the server
This class provides utilities for sanitising the urls based on the data being requested.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JOB_MAX
public static final int JOB_MAX
- See Also:
- Constant Field Values
STAGE_MAX
public static final int STAGE_MAX
- See Also:
- Constant Field Values
DEFAULT_JOB_PAGE_REQUEST
public static final PageRequest DEFAULT_JOB_PAGE_REQUEST
DEFAULT_STAGE_PAGE_REQUEST
public static final PageRequest DEFAULT_STAGE_PAGE_REQUEST
PageRequestSanitiser
public PageRequestSanitiser()
forAnything
public static PageRequest forAnything(PageRequest originalRequest)
forJobs
public static PageRequest forJobs(PageRequest originalRequest)
forStages
public static PageRequest forStages(PageRequest originalRequest)
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.