No one reported any concerns with this, so I've created issue
https://issues.apache.org/jira/browse/SHINDIG-829, and attached a patch to
it which adds protected getter and setter methods for the servlet, req and
res private variables.

Cheers
Chico

2009/1/8 chico charlesworth <[email protected]>

>
> We're trying to extend
> org.apache.shindig.social.dataservice.integration.AbstractLargeRestfulTests
> from shindig/java/social-api, but we need to override the setup method. The
> problem though is that there isn't access to the servlet, req or res
> variables as they are private.
>
> Does anyone have any issues to changing the visibility to protected instead
> (or adding setter methods if that is preferred) to the
> AbstractLargeRestfulTests class?
> That is:
> protected HttpServletRequest req;
> protected HttpServletResponse res;
> protected DataServiceServlet servlet;
>
> Cheers,
> Chico
>

Reply via email to