@@ -87,7 +87,7 @@ public Parser<Long> newParser(HttpSession session, RequestMethod method) {
8787 return parser ;
8888 }
8989
90- public void parseAndReponse (RequestMethod method ) {
90+ public void parseAndResponse (RequestMethod method ) {
9191 renderJson (newParser (getSession (), method ).parse (HttpKit .readData (getRequest ())));
9292 }
9393
@@ -99,7 +99,7 @@ public void parseAndReponse(RequestMethod method) {
9999 */
100100 @ Before (POST .class )
101101 public void get () {
102- parseAndReponse (GET );
102+ parseAndResponse (GET );
103103 }
104104
105105 /**计数
@@ -108,7 +108,7 @@ public void get() {
108108 */
109109 @ Before (POST .class )
110110 public void head () {
111- parseAndReponse (HEAD );
111+ parseAndResponse (HEAD );
112112 }
113113
114114 /**限制性GET,request和response都非明文,浏览器看不到,用于对安全性要求高的GET请求
@@ -117,7 +117,7 @@ public void head() {
117117 */
118118 @ Before (POST .class )
119119 public void gets () {
120- parseAndReponse (GETS );
120+ parseAndResponse (GETS );
121121 }
122122
123123 /**限制性HEAD,request和response都非明文,浏览器看不到,用于对安全性要求高的HEAD请求
@@ -126,7 +126,7 @@ public void gets() {
126126 */
127127 @ Before (POST .class )
128128 public void heads () {
129- parseAndReponse (HEADS );
129+ parseAndResponse (HEADS );
130130 }
131131
132132 /**新增
@@ -135,7 +135,7 @@ public void heads() {
135135 */
136136 @ Before (POST .class )
137137 public void post () {
138- parseAndReponse (POST );
138+ parseAndResponse (POST );
139139 }
140140
141141 /**修改
@@ -144,7 +144,7 @@ public void post() {
144144 */
145145 @ Before (POST .class )
146146 public void put () {
147- parseAndReponse (PUT );
147+ parseAndResponse (PUT );
148148 }
149149
150150 /**删除
@@ -153,7 +153,7 @@ public void put() {
153153 */
154154 @ Before (POST .class )
155155 public void delete () {
156- parseAndReponse (DELETE );
156+ parseAndResponse (DELETE );
157157 }
158158
159159 //通用接口,非事务型操作 和 简单事务型操作 都可通过这些接口自动化实现>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
0 commit comments