Upgraded to spring-boot 1.0.2.RELEASE which contains my proposed fix (https://github.com/spring-projects/spring-boot/issues/673) for the rewrite handler issue.