摘要:
定义 public class HttpUtils 收集 HTTP Servlet 使用的静态的有效的方法。 方法 1、getRequestURL public static StringBuffer getRequestURL(HttpServletRequestrequest); 在服... 阅读全文
posted @ 2015-06-15 16:47
LinkinPark
阅读(414)
评论(0)
推荐(0)
摘要:
HttpSessionBindingListener 接口 定义 public interface HttpSessionBindingListener 这个对象被加入到 HTTP 的 session 中,执行这个接口会通告有没有什么对象被绑定到这个 HTTP session 中或被... 阅读全文
posted @ 2015-06-15 16:41
LinkinPark
阅读(488)
评论(0)
推荐(0)
摘要:
HttpSession接口 定义 public interface HttpSession 这个接口被 Servlet 引擎用来实现在 HTTP 客户端和 HTTP 会话两者的关联。这种关联可能在多外连接和请求中持续一段给定的时间。session 用来在无状态的 HTTP 协议下越过多个... 阅读全文
posted @ 2015-06-15 16:36
LinkinPark
阅读(683)
评论(0)
推荐(0)
摘要:
HttpServletRequest接口 定义 public interface HttpServletRequest extends ServletRequest; 用来处理一个对 Servlet 的 HTTP 格式的请求信息。 方法 1、getAuthType public Stri... 阅读全文
posted @ 2015-06-15 15:07
LinkinPark
阅读(374)
评论(0)
推荐(0)
摘要:
HttpServlet类 定义 public class HttpServlet extends GenericServlet implements Serializable 这是一个抽象类,用来简化 HTTP Servlet 写作的过程。它是 GenericServlet 类的扩充,提供了... 阅读全文
posted @ 2015-06-15 14:36
LinkinPark
阅读(285)
评论(0)
推荐(0)
摘要:
ServletException类 定义 public class ServletException extends Exception 当 Servlet 遇到问题时抛出的一个异常。 构造函数 public ServletException(); public ServletExceptio... 阅读全文
posted @ 2015-06-15 12:45
LinkinPark
阅读(1261)
评论(0)
推荐(0)
摘要:
SingleThreadModel接口 定义 public interface SingleThreadModel; 这是一个空接口,它指定了系统如何处理对同一个 Servlet 的调用。如果一个 Servlet 被这个接口指定,那么在这个 Servlet 中的 service 方法中将不会... 阅读全文
posted @ 2015-06-15 11:49
LinkinPark
阅读(342)
评论(0)
推荐(0)
摘要:
ServletInputStream类 定义 public abstract class ServletInputStream extends InputStream 这个类定义了一个用来读取客户端的请求信息的输入流。这是一个 Servlet 引擎提供的抽象类。一个 Servlet 通过使用... 阅读全文
posted @ 2015-06-15 11:22
LinkinPark
阅读(3950)
评论(0)
推荐(0)
浙公网安备 33010602011771号