tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From craig...@locus.apache.org
Subject cvs commit: jakarta-tomcat/proposals/catalina/src/share/org/apache/tomcat Connector.java
Date Wed, 26 Apr 2000 06:17:08 GMT
craigmcc    00/04/25 23:17:08

  Modified:    proposals/catalina/src/share/org/apache/tomcat
                        Connector.java
  Log:
  Document in detail the request and response properties that the Connector
  must set before calling the invoke() method of the appropriate Container.
  
  Revision  Changes    Path
  1.3       +25 -5     jakarta-tomcat/proposals/catalina/src/share/org/apache/tomcat/Connector.java
  
  Index: Connector.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/proposals/catalina/src/share/org/apache/tomcat/Connector.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Connector.java	2000/02/20 02:55:05	1.2
  +++ Connector.java	2000/04/26 06:17:07	1.3
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat/proposals/catalina/src/share/org/apache/tomcat/Connector.java,v
1.2 2000/02/20 02:55:05 craigmcc Exp $
  - * $Revision: 1.2 $
  - * $Date: 2000/02/20 02:55:05 $
  + * $Header: /home/cvs/jakarta-tomcat/proposals/catalina/src/share/org/apache/tomcat/Connector.java,v
1.3 2000/04/26 06:17:07 craigmcc Exp $
  + * $Revision: 1.3 $
  + * $Date: 2000/04/26 06:17:07 $
    *
    * ====================================================================
    *
  @@ -73,7 +73,27 @@
    * <li>Receive a request from the client application.
    * <li>Create (or allocate from a pool) appropriate Request and Response
    *     instances, and populate their properties based on the contents of
  - *     the received request.
  + *     the received request, as described below.
  + *     <ul>
  + *     <li>For all Requests, the <code>connector</code>,
  + *         <code>protocol</code>, <code>remoteAddr</code>,
  + *         <code>response</code>, <code>scheme</code>,
  + *         <code>secure</code>, <code>serverName</code>,
  + *         <code>serverPort</code> and <code>stream</code>
  + *         properties <b>MUST</b> be set. The <code>contentLength</code>
  + *         and <code>contentType</code> properties are also generally set.
  + *     <li>For HttpRequests, the <code>method</code>, <code>queryString</code>,
  + *         <code>requestedSessionCookie</code>,
  + *         <code>requestedSessionId</code>, <code>requestedSessionURL</code>,
  + *         <code>requestURI</code>, and <code>secure</code> properties
  + *         <b>MUST</b> be set.  In addition, the various <code>addXxx</code>
  + *         methods must be called to record the presence of cookies, headers,
  + *         and locales in the original request.
  + *     <li>For all Responses, the <code>connector</code>, <code>request</code>,
  + *         and <code>stream</code> properties <b>MUST</b> be set.
  + *     <li>No additional headers must be set by the Connector for
  + *         HttpResponses.
  + *     </ul>
    * <li>Identify an appropriate Container to use for processing this request.
    *     For a stand alone Tomcat installation, this will probably be a
    *     (singleton) Engine implementation.  For a Connector attaching Tomcat
  @@ -94,7 +114,7 @@
    * normative.
    *
    * @author Craig R. McClanahan
  - * @version $Revision: 1.2 $ $Date: 2000/02/20 02:55:05 $
  + * @version $Revision: 1.3 $ $Date: 2000/04/26 06:17:07 $
    */
   
   public interface Connector {
  
  
  

Mime
View raw message