Changeset 14396
- Timestamp:
- 2007-09-03T13:06:18+12:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
greenstone3/trunk/src/java/org/greenstone/gsdl3/core/Receptionist.java
r13270 r14396 60 60 public void setConfigParams(HashMap params) { 61 61 this.config_params = params; 62 } 63 public HashMap getConfigParams() { 64 return this.config_params; 62 65 } 63 66 /** sets the message router - it should already be created and … … 163 166 // find the appropriate action 164 167 Action a = (Action)this.action_map.get(action); 168 165 169 String action_name=null; 166 170 if (a==null) { // not in the map yet … … 182 186 } 183 187 184 // transform the request in some way 188 // transform the request in some way -- does nothing! 185 189 preProcessRequest(request); 186 190 // set up the page 187 191 Element page = this.doc.createElement(GSXML.PAGE_ELEM); 188 192 page.setAttribute(GSXML.LANG_ATT, request.getAttribute(GSXML.LANG_ATT)); 189 193 //logger.info(a+" mesa=" + this.converter.getPrettyString(message)); 190 194 // get the page data from the action 191 195 Element action_response = a.process(message); … … 213 217 page.appendChild(page_response); 214 218 215 logger.debug(" raw page="+this.converter.getString(page));219 //logger.info(" raw page="+this.converter.getString(page)); 216 220 // transform the result in some way 217 221 Element resulting_page = postProcessPage(page); 222 logger.debug("receptionist returned response"); 223 logger.debug(this.converter.getString(resulting_page)); 224 // logger.info("receptionist returned response"); 225 // logger.info(this.converter.getString(resulting_page)); 226 218 227 return resulting_page; 219 228
Note:
See TracChangeset
for help on using the changeset viewer.