/// <summary> /// Construct a ServletContextAttributeEvent from the given context for the /// given attribute name and attribute value. /// </summary> /// <param name="source"></param> /// <param name="name"></param> /// <param name="value"></param> public ServletContextAttributeEvent(IServletContext source, string name, object value) : base(source) { this.name = name; this.value = value; }
/// <summary> /// Construct a ServletRequestEvent for the given ServletContext /// and ServletRequest. /// </summary> /// <param name="sc">the ServletContext of the web application.</param> /// <param name="request">the ServletRequest that is sending the event.</param> public ServletRequestEvent(IServletContext sc, IServletRequest request) { this.sc = sc; this.request = request; }
/// <summary> /// Construct a ServletRequestAttributeEvent giving the servlet context /// of this web application, the ServletRequest whose attributes are /// changing and the name and value of the attribute. /// </summary> /// <param name="sc">the ServletContext that is sending the event.</param> /// <param name="request">the ServletRequest that is sending the event.</param> /// <param name="name">the name of the request attribute.</param> /// <param name="value">the value of the request attribute.</param> public ServletRequestAttributeEvent(IServletContext sc, IServletRequest request, string name, object value) : base(sc, request) { this.name = name; this.value = value; }
public ServletContextEvent(IServletContext source) { //TODO in java: super(source); modified below this.source = source; }