fernandezpablo85/scribe-java — Issue #189: OAuthRequest should qualify super class with package name
Author: dev-21solutions
Created: 2011-11-15 00:42:03+00:00
State: open

I'm trying to use Scribe from within ColdFusion, which is essentially a script Servlet that allows access to Java objects via reflection.

my code fails at

OAuthRequest's send() -- saying that the "send()" method does not exist in OAuthRequest.

I am able to use the methods defined in OAuthRequest (e.g. getOauthParameters()), but whenever I try to call a method that's defined in the parent class (i.e. org.scribe.model.Request) I get that same error.

it seems to me that the problem lies within the fact that the Servlet resolves "Request" erroneously, because there is a class called Request in the Servlet.

I believe that changing the declaration of the OAuthRequest class from:

**public class OAuthRequest extends Request**

to

**public class OAuthRequest extends org.scribe.model.Request**

will resolve the issue.

thank you.