Login | Register
My pages Projects Community openCollabNet

Discussions > cvs > CVS update: joist/java/org/joist/publish ProxyModule.java

Project highlights: Architectural Overview

joist
Discussion topic

Hide all messages in topic

All messages in topic

CVS update: joist/java/org/joist/publish ProxyModule.java

Author stack
Full name Michael Stack
Date 2000-10-27 16:49:55 PDT
Message User: stack
  Date: 00/10/27 16:49:55

  Modified: java/org/joist/publish ProxyModule.java
  Log:
  I'd checked in file w/ cvs merge messages. Cleaned it up
  
  Revision Changes Path
  1.5 +17 -31 joist/java/org/joist​/publish/ProxyModule​.java
  
  Index: ProxyModule.java
  ====================​====================​====================​=======
  RCS file: /cvs/joist/java/org/​joist/publish/ProxyM​odule.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ProxyModule.java 2000/10/27 23:42:05 1.4
  +++ ProxyModule.java 2000/10/27 23:49:55 1.5
  @@ -125,20 +125,6 @@
       }
       
       
  - /** Try to get a query from other than req.getQueryString( ).
  - *
  - * There is no possibility of getting a query from anywhere
  - * but req.getQueryString( ) in this base class so throw
  - * an exception. Subclasses may have other means (The
  - * HelmProxyModule subclass gets it out of WebMacro context).
  - *
  - * @exception NullPointerException Thrown when query is null
  - */
  - public static final String getQuery( )
  - {
  - throw new NullPointerException( "query [req.getQueryString( )] is null" );
  - }
  -
   
       /**
           This is the meat of everything. It does the proxy of the request including
  @@ -174,25 +160,25 @@
           boolean methodPost = req.getMethod().equa​lsIgnoreCase(POST);
   
           // deal with QUERYSTRING data.
  - //
  - // Note, req.getQueryString( ) can return
  - // null in case where we've been bounced
  - // off to TLogin because we weren't logged in...
  - // and then TLogin comes back to Noodle. Put
  - // in check for null and alternate query
  - // string source, if one. St.Ack 10/27/2000
  - //
  + //
  + // Note, req.getQueryString( ) can return
  + // null in case where we've been bounced
  + // off to TLogin because we weren't logged in...
  + // and then TLogin comes back to Noodle. Put
  + // in check for null and alternate query
  + // string source, if one. St.Ack 10/27/2000
  + //
           String page = null;
           String query = req.getQueryString();
  - if( query == null )
  - {
  - query = inSavedOffQuery;
  - if( query == null )
  - {
  - throw new NullPointerException(
  - "query [req.getQueryString( )] is null" );
  - }
  - }
  + if( query == null )
  + {
  + query = inSavedOffQuery;
  + if( query == null )
  + {
  + throw new NullPointerException(
  + "query [req.getQueryString( )] is null" );
  + }
  + }
                   
           try
           {
Messages per page: