You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Albert Espelt (JIRA)" <ji...@apache.org> on 2010/09/08 13:16:34 UTC
[jira] Created: (WW-3494) Several improvements
Several improvements
--------------------
Key: WW-3494
URL: https://issues.apache.org/jira/browse/WW-3494
Project: Struts 2
Issue Type: New Feature
Components: Plugin - REST
Affects Versions: Future
Reporter: Albert Espelt
Priority: Minor
Fix For: Future
Attachments: struts-rest-all.patch
- Method to check which HTTP methods are allowed using OPTIONS.
- Default implementation for POST and PUT if client sends request header "expect: 100-continue".
- Verification of action returns to allow String, HttpHeaders, Result or null.
- The default method "index" in "RestActionSupport" return Object instead String in order to allow for HttpHeaders or Result to be returned.
- Result processing is delayed after all interceptors have finished.
- New configuration parameter to show the processing time via log4j. Will show action processing time plus interceptors and result processing time (JSP, XML, ...).
- The new flow of result processing is:
- The content is selected (model, exception or errors list)
- Use HttpHeaders to apply the headers, etc.
- If the result code is 304 the result is not processed.
- If the result is a HttpHeaderResult, it is executed regardless of representation.
- The result is always returned according to the requested representation.
- If there are errors, it will look for a result named "default-error" to be able to configure the error page. It could be configured in the web.xml but the request representation would not be respected.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (WW-3494) Several improvements
Posted by "Lukasz Lenart (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WW-3494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukasz Lenart resolved WW-3494.
-------------------------------
Resolution: Fixed
Fix Version/s: (was: Future)
2.2.2
Patch applied, thanks!
> Several improvements
> --------------------
>
> Key: WW-3494
> URL: https://issues.apache.org/jira/browse/WW-3494
> Project: Struts 2
> Issue Type: New Feature
> Components: Plugin - REST
> Affects Versions: Future
> Reporter: Albert Espelt
> Assignee: Lukasz Lenart
> Priority: Minor
> Fix For: 2.2.2
>
> Attachments: struts-rest-all.patch
>
>
> - Method to check which HTTP methods are allowed using OPTIONS.
> - Default implementation for POST and PUT if client sends request header "expect: 100-continue".
> - Verification of action returns to allow String, HttpHeaders, Result or null.
> - The default method "index" in "RestActionSupport" return Object instead String in order to allow for HttpHeaders or Result to be returned.
> - Result processing is delayed after all interceptors have finished.
> - New configuration parameter to show the processing time via log4j. Will show action processing time plus interceptors and result processing time (JSP, XML, ...).
> - The new flow of result processing is:
> - The content is selected (model, exception or errors list)
> - Use HttpHeaders to apply the headers, etc.
> - If the result code is 304 the result is not processed.
> - If the result is a HttpHeaderResult, it is executed regardless of representation.
> - The result is always returned according to the requested representation.
> - If there are errors, it will look for a result named "default-error" to be able to configure the error page. It could be configured in the web.xml but the request representation would not be respected.
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (WW-3494) Several improvements
Posted by "Lukasz Lenart (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WW-3494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukasz Lenart reassigned WW-3494:
---------------------------------
Assignee: Lukasz Lenart
> Several improvements
> --------------------
>
> Key: WW-3494
> URL: https://issues.apache.org/jira/browse/WW-3494
> Project: Struts 2
> Issue Type: New Feature
> Components: Plugin - REST
> Affects Versions: Future
> Reporter: Albert Espelt
> Assignee: Lukasz Lenart
> Priority: Minor
> Fix For: Future
>
> Attachments: struts-rest-all.patch
>
>
> - Method to check which HTTP methods are allowed using OPTIONS.
> - Default implementation for POST and PUT if client sends request header "expect: 100-continue".
> - Verification of action returns to allow String, HttpHeaders, Result or null.
> - The default method "index" in "RestActionSupport" return Object instead String in order to allow for HttpHeaders or Result to be returned.
> - Result processing is delayed after all interceptors have finished.
> - New configuration parameter to show the processing time via log4j. Will show action processing time plus interceptors and result processing time (JSP, XML, ...).
> - The new flow of result processing is:
> - The content is selected (model, exception or errors list)
> - Use HttpHeaders to apply the headers, etc.
> - If the result code is 304 the result is not processed.
> - If the result is a HttpHeaderResult, it is executed regardless of representation.
> - The result is always returned according to the requested representation.
> - If there are errors, it will look for a result named "default-error" to be able to configure the error page. It could be configured in the web.xml but the request representation would not be respected.
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WW-3494) Several improvements
Posted by "Albert Espelt (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WW-3494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Albert Espelt updated WW-3494:
------------------------------
Attachment: struts-rest-all.patch
> Several improvements
> --------------------
>
> Key: WW-3494
> URL: https://issues.apache.org/jira/browse/WW-3494
> Project: Struts 2
> Issue Type: New Feature
> Components: Plugin - REST
> Affects Versions: Future
> Reporter: Albert Espelt
> Priority: Minor
> Fix For: Future
>
> Attachments: struts-rest-all.patch
>
>
> - Method to check which HTTP methods are allowed using OPTIONS.
> - Default implementation for POST and PUT if client sends request header "expect: 100-continue".
> - Verification of action returns to allow String, HttpHeaders, Result or null.
> - The default method "index" in "RestActionSupport" return Object instead String in order to allow for HttpHeaders or Result to be returned.
> - Result processing is delayed after all interceptors have finished.
> - New configuration parameter to show the processing time via log4j. Will show action processing time plus interceptors and result processing time (JSP, XML, ...).
> - The new flow of result processing is:
> - The content is selected (model, exception or errors list)
> - Use HttpHeaders to apply the headers, etc.
> - If the result code is 304 the result is not processed.
> - If the result is a HttpHeaderResult, it is executed regardless of representation.
> - The result is always returned according to the requested representation.
> - If there are errors, it will look for a result named "default-error" to be able to configure the error page. It could be configured in the web.xml but the request representation would not be respected.
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.