tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: a servlet-related Java question
Date Wed, 21 Apr 2010 19:57:14 GMT
On 21/04/2010 20:46, André Warnier wrote:
> Mark Thomas wrote:
>> On 21/04/2010 20:24, André Warnier wrote:
>>> Mark Thomas wrote:
>>> ...
>>>
>>>> I'd just use JAD and decompile it.
>>>>
>>> Thanks.  But although my intentions are not obnoxious nor illegal nor
>>> anything of the kind, I would not want to even come under suspicion of
>>> reverse-engineering.  So is there something that just lists the standard
>>> calls/methods used in it ?
>>
>> No. You can see the methods it exposes, but not the methods it uses.
>> Time to add some  debug code to your wrapper to see what is being called?
>>
> Mmmm. :-(
> How do I do that, assuming I do not know in advance which methods it
> calls ?
> Do I need to define all the methods of HttpServletRequest in my wrapper,
> just to make them trace their call ?
Yep.

> Or does there exist some more dummy-user-friendly methodology ?
You could play games with reflection but with IDE code generation just
writing the methods will be quicker.

Mark



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message