Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix to support restlets that serve static content.#1129

Open
pulquero wants to merge 5 commits into
restlet:master from
pulquero:pulquero-spring-clap
Open

Fix to support restlets that serve static content. #1129
pulquero wants to merge 5 commits into
restlet:master from
pulquero:pulquero-spring-clap

Conversation

@pulquero

@pulquero pulquero commented Aug 8, 2015

Copy link
Copy Markdown

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.

Copy link
Copy Markdown
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 commented Aug 8, 2015

Copy link
Copy Markdown
Author

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

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /