[ 
http://www.stripesframework.org/jira/browse/STS-525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ben Gunter resolved STS-525.
----------------------------

    Resolution: Fixed
      Assignee: Ben Gunter  (was: Tim Fennell)

There are now public getters and protected setters for the request, response, 
and context objects.

> expose private members of MockRoundTrip as protected
> ----------------------------------------------------
>
>                 Key: STS-525
>                 URL: http://www.stripesframework.org/jira/browse/STS-525
>             Project: Stripes
>          Issue Type: Improvement
>            Reporter: Joshua Nichols
>            Assignee: Ben Gunter
>             Fix For: Release 1.5
>
>
> Currently request, response, and context are private members of MockRoundTrip.
> We had a need to subclass MockRoundTrip (in order to support file uploading), 
> but all the members were private. We ended up basically copy&pasting 
> MockRoundTrip into MockMultipartRoundTrip, and changing exactly one line, in 
> order to change what is assigned to request in a constructor.
> Having MockRoundTrip and MockMultipartRoundTrip be in separate class 
> hiearchies is pretty annoying, as one can imagine.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://www.stripesframework.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to