Anonymous | Login | Signup for a new account | 12-17-2024 08:41 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0003646 | [Hessian] | minor | always | 08-24-09 00:02 | 12-16-09 15:42 | ||||
Reporter | Peter Dettman | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 4.0.1 | ||||||
Summary | 0003646: Delegate construction of HessianSkeleton's debug PrintWriter to an overridable method | ||||||||
Description |
see HessianSkeleton in main invoke method. I've attached a patch that adds a protected method for creating the PrintWriter when debug mode is enabled. |
||||||||
Additional Information |
The Spring HessianExporter ought to be able to simply call HessianSkeleton.invoke(InputStream, OutputStream, SerializerFactory) to handle servlet calls, but debug output would go to the wrong logger if it did this now. HessianExporter.invoke currently duplicates most of what HessianSkeleton.invoke does. As things stand, I can improve it so that it only duplicates the debug mode handling at the top of invoke. With this patch applied, I could just subclass HessianSkeleton to create the PrintWriter around Spring's logger. I am of course open to other suggestions for achieving the same result. |
||||||||
Attached Files | Hessian_createDebugPrintWriter.patch [^] (883 bytes) 08-24-09 00:02 | ||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
30 total queries executed. 26 unique queries executed. |