This commit is contained in:
@@ -6,7 +6,6 @@
|
|||||||
package org.redkale.net.http;
|
package org.redkale.net.http;
|
||||||
|
|
||||||
import java.io.*;
|
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());
|
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]));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user