Login | Register
My pages Projects Community openCollabNet

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

Project highlights: Architectural Overview

joist
Discussion topic

Back to topic list

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

Author anoncvs
Full name anonymous CVS access
Date 2000-11-29 04:39:02 PST
Message User: jrobbins
  Date: 00/11/29 04:39:02

  Modified: java/org/joist/publish NoodleData.java ProxyModule.java
  Log:
  added a hook for ProxyModule to transform page name
  
  Revision Changes Path
  1.2 +5 -0 joist/java/org/joist​/publish/NoodleData.​java
  
  Index: NoodleData.java
  ====================​====================​====================​=======
  RCS file: /cvs/joist/java/org/​joist/publish/Noodle​Data.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- NoodleData.java 2000/08/10 00:55:57 1.1
  +++ NoodleData.java 2000/11/29 12:39:02 1.2
  @@ -203,4 +203,9 @@
       {
           this.httpResponse = httpResponse;
       }
  +
  + public String postProcessPageName (String page) {
  + // by default, do no special transform, but subclasses can override
  + return page;
  + }
   }
  
  
  
  1.10 +2 -0 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.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- ProxyModule.java 2000/11/16 02:32:52 1.9
  +++ ProxyModule.java 2000/11/29 12:39:02 1.10
  @@ -201,6 +201,8 @@
               page = getPageFromQueryStr( query );
           }
   
  + page = noodleData.postProce​ssPageName(page);
  +
           // build up the request URL
           noodleData.setURL( getURL(page) );

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

CVS update: joist/java/org/joist/publish NoodleData.java ProxyModule.java anoncvs anonymous CVS access 2000-11-29 04:39:02 PST
Messages per page: