private String pageUri ( final UriTemplate uriTemplate , final int pageNumber , final int pageSize ) { if ( pageSize == MAX_VALUE ) { return uriTemplate . expand ( ) ; } return uriTemplate . set ( pageNumberVar ( ) , pageNumber ) . set ( pageSizeVar ( ) , pageSize ) . expand ( ) ; }
Return the HREF of the page specified by UriTemplate pageNumber and pageSize .