소스 검색

Do not buffer the response.

This way Wicket is more close to the behavior of the other web framework
Martin Tzvetanov Grigorov 11 년 전
부모
커밋
c520e84e8d
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      wicket/src/main/java/hellowicket/WicketApplication.java

+ 2 - 0
wicket/src/main/java/hellowicket/WicketApplication.java

@@ -29,5 +29,7 @@ public class WicketApplication extends WebApplication
 		// add your configuration here
     mountResource("/json", new HelloJsonReference());
     mountResource("/db", new HelloDbReference());
+
+    getRequestCycleSettings().setBufferResponse(false);
 	}
 }