comparison src/luan/modules/http/LuanHandler.java @ 1257:e38f5869e9df

don't reset in send_redirect and other improvements
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 20 Sep 2018 21:04:41 -0600
parents c147e2e877e3
children 382c444a6c77
comparison
equal deleted inserted replaced
1256:c147e2e877e3 1257:e38f5869e9df
53 throw new RuntimeException(e); 53 throw new RuntimeException(e);
54 } 54 }
55 this.httpServicer = httpServicer!=null ? httpServicer : new HttpServicer(); 55 this.httpServicer = httpServicer!=null ? httpServicer : new HttpServicer();
56 setLuan(); 56 setLuan();
57 luanInit.onClose(this); 57 luanInit.onClose(this);
58 }
59
60 public LuanState getLuan() {
61 return luan;
58 } 62 }
59 63
60 private void setLuan() { 64 private void setLuan() {
61 LuanCloner cloner = new LuanCloner(LuanCloner.Type.COMPLETE); 65 LuanCloner cloner = new LuanCloner(LuanCloner.Type.COMPLETE);
62 luan = (LuanState)cloner.clone(luanInit); 66 luan = (LuanState)cloner.clone(luanInit);