This commit is contained in:
Redkale
2016-10-10 19:02:35 +08:00
parent 4eb5edaef2
commit beffe53d4d

View File

@@ -6,7 +6,6 @@
package org.redkale.net.http;
import java.io.*;
import org.redkale.util.Attribute;
/**
*
@@ -42,15 +41,4 @@ public abstract class RestHttpServlet<T> extends HttpBaseServlet {
response.finishJsResult(var, output == null ? null : output.getResult());
}
Attribute[] _paramAttrs; // 为null表示无DynCall处理index=0固定为null, 其他为参数标记的DynCall回调方法
protected void _callParameter(final HttpResponse response, final Object... params) {
if (_paramAttrs == null) return;
for (int i = 1; i < _paramAttrs.length; i++) {
org.redkale.util.Attribute attr = _paramAttrs[i];
if (attr == null) continue;
//convert.convertTo(out, attr.type(), attr.get(params[i - 1]));
}
}
}