Package org.candlepin.paging

Examples of org.candlepin.paging.Page


    }

    @Override
    @SuppressWarnings("rawtypes")
    public void postProcess(ServerResponse response) {
        Page page = ResteasyProviderFactory.getContextData(Page.class);

        if (page == null) {
            log.warn("Method marked for pagination, but no page exists in the context.");
            return;
        }

        // If we aren't paging, then no need for Link headers.
        if (page.getPageRequest() == null || !page.getPageRequest().isPaging()) {
            return;
        }

        HttpServletRequest request = ResteasyProviderFactory.getContextData(
            HttpServletRequest.class);
View Full Code Here

TOP

Related Classes of org.candlepin.paging.Page

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.