@Test public void testGetPageUri() { PaginationInfo info = new PaginationInfo(page, pathTmpl, queryTmpl, 10); UriComponents pathQueryStr = info.getPageUri(); String expectedUri = pathTmpl + "?" + queryTmpl; assertThat(pathQueryStr.toUriString(), is(expectedUri)); }
protected UriComponents getPageUri() { return pageUri; }
PaginationInfo { protected UriComponents getPageUri() { return pageUri; } }
PaginationInfo { protected UriComponents getPageUri() { return pageUri; } PaginationInfo(Page<?> page, String pathTmpl, String queryTmpl,
            int maxDisplayCount);  PaginationInfo(Page<?> page, String pathTmpl, String queryTmpl,
            String criteriaQuery, boolean disableHtmlEscapeOfCriteriaQuery,
            int maxDisplayCount); }
PaginationInfo { protected UriComponents getPageUri() { return pageUri; } PaginationInfo(Page<?> page, String pathTmpl, String queryTmpl,
            int maxDisplayCount);  PaginationInfo(Page<?> page, String pathTmpl, String queryTmpl,
            String criteriaQuery, boolean disableHtmlEscapeOfCriteriaQuery,
            int maxDisplayCount); static Map<String, Object> createAttributeMap(int pageIndex,
            int size, Sort sort); int getCurrent(); String getPathTmpl(); String getQueryTmpl(); String getCriteriaQuery(); int getMaxDisplayCount(); String getPageUrl(int pageIndex); String getFirstUrl(); String getLastUrl(); String getPreviousUrl(); String getNextUrl(); boolean isFirstPage(); boolean isLastPage(); boolean isCurrent(int page); BeginAndEnd getBeginAndEnd(); }
PaginationInfo { protected UriComponents getPageUri() { return pageUri; } PaginationInfo(Page<?> page, String pathTmpl, String queryTmpl,
            int maxDisplayCount);  PaginationInfo(Page<?> page, String pathTmpl, String queryTmpl,
            String criteriaQuery, boolean disableHtmlEscapeOfCriteriaQuery,
            int maxDisplayCount); static Map<String, Object> createAttributeMap(int pageIndex,
            int size, Sort sort); int getCurrent(); String getPathTmpl(); String getQueryTmpl(); String getCriteriaQuery(); int getMaxDisplayCount(); String getPageUrl(int pageIndex); String getFirstUrl(); String getLastUrl(); String getPreviousUrl(); String getNextUrl(); boolean isFirstPage(); boolean isLastPage(); boolean isCurrent(int page); BeginAndEnd getBeginAndEnd(); static final int DEFAULT_MAX_DISPLAY_COUNT; static final String DEFAULT_PATH_TEMPLATE; static final String DEFAULT_QUERY_TEMPLATE; static final String PAGE_ATTR; static final String SIZE_ATTR; static final String SORT_ORDER_PROPERTY_ATTR; static final String SORT_ORDER_DIRECTION_ATTR; static final String A_ELM; static final String HREF_ATTR; static final String CLASS_ATTR; static final String DEFAULT_OUTER_ELM; static final String DEFAULT_OUTER_CLASS; static final String DEFAULT_INNER_ELM; static final String DEFAULT_INNER_CLASS; static final String DEFAULT_FIRST_LINK_TEXT; static final String DEFAULT_PREVIOUS_LINK_TEXT; static final String DEFAULT_NEXT_LINK_TEXT; static final String DEFAULT_LAST_LINK_TEXT; static final String DEFAULT_DISABLED_HREF; static final String DEFAULT_ACTIVE_CLASS; static final String DEFAULT_DISABLED_CLASS; }