costin      01/06/24 15:40:35

  Modified:    src/share/org/apache/tomcat/core Request.java
  Log:
  Change from package level to protected few fields, other small
  fixes to allow it to be better wrapped.
  
  Revision  Changes    Path
  1.103     +4 -4      jakarta-tomcat/src/share/org/apache/tomcat/core/Request.java
  
  Index: Request.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/core/Request.java,v
  retrieving revision 1.102
  retrieving revision 1.103
  diff -u -r1.102 -r1.103
  --- Request.java      2001/06/20 05:29:27     1.102
  +++ Request.java      2001/06/24 22:40:35     1.103
  @@ -208,14 +208,14 @@
       protected Handler handler = null;
       Container container;
   
  -    Cookies scookies;
  +    protected Cookies scookies;
   
       // sub-request support 
       Request top;
       Request parent;
       Request child;
   
  -    UDecoder urlDecoder;
  +    protected UDecoder urlDecoder;
       
       // Error handling support
       Exception errorException;
  @@ -383,7 +383,7 @@
            return;
        didReadFormData=true;
   
  -     if( ! methodMB.equalsIgnoreCase("POST") )
  +     if( ! method().equalsIgnoreCase("POST") )
            return;
        String contentType= getContentType();
        if (contentType == null ||
  @@ -543,7 +543,7 @@
   
       public boolean isSecure() {
        // The adapter is responsible for providing this information
  -        return schemeMB.equalsIgnoreCase("HTTPS");
  +        return scheme().equalsIgnoreCase("HTTPS");
       }
   
       public void setUserPrincipal( Principal p ) {
  
  
  

Reply via email to