Skip to content

Conversation

pulquero
Copy link

@pulquero pulquero commented Aug 8, 2015

RestletFrameworkServlet fails to support restlets that serve static content due to "No ClientDispatcher". This patch fixes this by creating an implicit Component in much the same way as ServerServlet.

@thboileau
Copy link
Contributor

Hi @pulquero
Do you think it would be useful to expose the component, and help user to configure it as it is the case in the SpringServerServlet class? cf http://restlet.com/technical-resources/restlet-framework/javadocs/2.3/jee/ext/org/restlet/ext/spring/SpringServerServlet.html#createComponent%28%29

@pulquero
Copy link
Author

pulquero commented Aug 8, 2015

I guess I could add a setComponentBeanName() and try lookup a Component from the spring context and if not, default to an implicit Component. Does that sound good?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants