Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow IOC implementations for all FakeRequest / FakeResponse methods #57

Closed
uklance opened this issue Apr 30, 2013 · 1 comment
Closed

Comments

@uklance
Copy link
Owner

uklance commented Apr 30, 2013

Requires a new IOC service

public interface PushEnvironmentSource {
   public HttpSession createHttpSession(BayeuxContext bayeuxContext);
   public HttpServletRequest createHttpServletRequest(Map<String, String> headers, HttpSession session);
   public HttpServletResponse createHttpServletResponse(OutputStream out);
}

This service can then be invoked by AuthorizersImpl and ComponentJSONRendererImpl

@uklance
Copy link
Owner Author

uklance commented Sep 11, 2013

@uklance uklance closed this as completed Sep 11, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant