title: spring.data.rest.max-page-size does not seem to be working
body: <p>Under Spring Boot <strong>1.3.0.M5</strong> I'm using</p>
  <pre><code>spring.data.rest.max-page-size=10
  </code></pre>
  <p>in <strong>application.properties</strong>.</p>
  <p>But I still can set the size to 40 in a URL and get a correct response.
  For example :
  http://localhost:8080/cine20-spring/api/films?page=0&amp;size=40&amp;sort=title,asc</p>
  <p>will give me back 40 films</p>
  <p>So what is the use of this parameter ?</p>
  <p><strong>Update test with Spring-Boot 1.4.2</strong></p>
  <p>There is still a problem :
  By default WITHOUT the dependencies  <strong>spring-boot-starter-data-rest</strong>
  , the max-page-size is set to <strong>2000</strong> by default
  and changing the max-page-size value won't work :</p>
  <pre><code>spring.data.rest.max-page-size=0x7fffffff
  </code></pre>
  <p>Adding <strong>spring-boot-starter-data-rest</strong>
  =&gt; the max-page-size is now set to <strong>1000</strong> by default
  , then changing the param max-page-size will work:</p>
  <pre><code>spring.data.rest.max-page-size=0x7fffffff
  </code></pre>
  <p>I still believe, this is strange behavior.</p>
  <p>In : <a href="https://github.com/spring-projects/spring-data-rest/blob/master/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/config/RepositoryRestConfiguration.java" rel="nofollow noreferrer">https://github.com/spring-projects/spring-data-rest/blob/master/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/config/RepositoryRestConfiguration.java</a></p>
  <p>You could find <code>private int maxPageSize = 1000;</code> which explains why it changed to 1000. I haven't found, why it is set to 2000 from the start though.</p>
  <p>I would like to set the param <code>spring.data.rest.max-page-size</code> freely without the need to add the dependency : <strong>spring-boot-starter-data-rest</strong>, but unfortunately I haven't found a way so far.</p>