xlang v4.0 Release
程序设计语言基础库文档
载入中...
搜索中...
未找到
HttpServlet.xcs
浏览该文件的文档.
1
5@Declare
6static class HttpServlet{
7 public static const int FLAG_LOGERROR = 1,
15 public HttpServlet(int flags, String pattern);
16
21 public HttpServlet(int httpCode);
22
28 public void doGet(HttpServletRequst request, HttpServletResponse response);
29
35 public void doPost(HttpServletRequst request, HttpServletResponse response);
36
46 public void onPostStream(HttpServletRequst request, String key, String filename, String contentType, String transferEncoding, byte[]data, long datainOffset);
47
48
53 public void finalize();
54};
HTTP Servlet 抽象类
void finalize()
析构
HttpServlet(int httpCode)
构造
void doPost(HttpServletRequst request, HttpServletResponse response)
处理post请求
void onPostStream(HttpServletRequst request, String key, String filename, String contentType, String transferEncoding, byte[]data, long datainOffset)
处理post数据流
static const int FLAG_POSTSTREAM
HttpServlet(int flags, String pattern)
构造
void doGet(HttpServletRequst request, HttpServletResponse response)
处理get请求
static const int FLAG_LOGERROR
字符串类