Commit Graph

88 Commits

Author SHA1 Message Date
Yasser Zamani 4738d1d802 WW-4873 Makes ActionInvocation not serializable 2017-12-13 19:34:54 +03:30
Lukasz Lenart 794cd5e141 WW-4892 Marks handler as deprecated 2017-11-17 09:34:22 +01:00
Lukasz Lenart 941374ecdb WW-4892 Uses Jackson handler as a default one to handle JSON 2017-11-17 09:32:43 +01:00
Lukasz Lenart 8b95838c58 Adds proper XML header 2017-10-22 12:29:13 +02:00
Lukasz Lenart e7c65fb0b4 Adds missing header with license 2017-10-21 17:47:51 +02:00
Lukasz Lenart 73359c480b Adds missing header with license 2017-10-21 11:24:48 +02:00
Lukasz Lenart cb389d292d Fixes Maven site generation 2017-10-20 09:05:29 +02:00
Lukasz Lenart 1949471886 Allows define allowed classes per action 2017-08-21 13:17:31 +02:00
Lukasz Lenart ee5575d0c6 Updates tests 2017-08-02 15:00:01 +02:00
Lukasz Lenart a64da53d57 Updates flow to handle new API 2017-08-02 14:59:54 +02:00
Lukasz Lenart 3bd072ca05 Adds an abstract layer to allow easily handle API change 2017-08-02 14:58:15 +02:00
Lukasz Lenart 2f690cfe62 Adds new methods and marks current as deprecated 2017-08-02 14:56:09 +02:00
Lukasz Lenart 6c19875c78 Puts back the default bean name to allow alias beans 2017-03-09 10:19:12 +01:00
Lukasz Lenart a7f4e255b0 Uses AbstractInterceptor instead of leaving init() and destroy() empty 2017-01-09 10:18:59 +01:00
Lukasz Lenart 5acc71f7c3 WW-4669 Returns default action/method instead of throwing exception 2016-07-29 10:09:24 +02:00
Lukasz Lenart 6d7ac40dce Cleans up method name 2016-05-04 09:16:44 +02:00
Lukasz Lenart 3c68a3def6 WW-4533 Reverts the old behaviour of how empty action should be handled 2016-03-10 08:46:59 +01:00
Lukasz Lenart cae57093b5 Merge branch 'WW-4588' 2016-01-20 16:10:52 +01:00
petersr 7899f10d80 WW-4588: Improve the Struts2 Rest plugin to honor Accept header 2016-01-20 06:34:25 -08:00
petersr 1fb695a82b WW-4589 do not overwrite explicit method name 2016-01-19 14:02:57 -08:00
Aleksandr Mashchenko e0003f0471 WW-4585 Struts2 Rest plugin doesn't handle JSESSIONID with DMI 2016-01-14 20:01:57 +02:00
donghui 32ec7a669c make test passed for people not using GMT. 2016-01-04 11:23:51 +08:00
Johannes Geppert ecde389ee6 WW-4540 Enable Strict DMI be default
- Extend global allowed methods in rest plugin with rest plugin specific default methods
2015-10-05 20:15:51 +02:00
Johannes Geppert f819486c34 WW-4505 Add plugin to support bean validation
- Add pre configured interceptor stack to use bean validation with rest plugin
2015-09-24 19:59:35 +02:00
Johannes Geppert 4cd9a74cb8 WW-4545 - Setting status code in HttpHeaders will be ignored 2015-09-10 19:11:12 +02:00
Johannes Geppert 0fac53954a WW-4537 Support for latest jackson lib as json content handler in rest plugin 2015-08-23 13:45:38 +02:00
Johannes Geppert 775c82a743 WW-4531- Improve javadoc to be compatible with more strict JDK8 javadoc standard 2015-07-24 20:27:31 +02:00
Johannes Geppert eb564a25e1 Fix wrong closing HTML tags in javadoc comments 2015-07-16 22:02:21 +02:00
Lukasz Lenart 6bc99ab939 WW-4518 Moves results to dedicated package 2015-06-23 17:14:27 +02:00
Lukasz Lenart e2347f165c WW-4077 Moves ValidationAware interface into proper package 2015-06-18 11:33:49 +02:00
Johannes Geppert 5a835cf6ac Minor code improvements's in the cdi, convention, jasperreports, junit, rest and sitemesh plugin
- Use Java 7 features like diamond operator
- Improve some logging message and don't check LOG.isXxx if not necessary
- Fix some typos
- Use BooleanUtils.toBoolean(string) instead of "true".isEquals to be more robust
2015-06-16 20:37:20 +02:00
Johannes Geppert 243c92bf46 WW-4510 Upgrade spring plugin dependencies to spring version 4.x
- The Servlet API mocks in Spring Framework 4.x only supports Servlet 3.0 and higher
2015-06-07 20:59:42 +02:00
Johannes Geppert 95805e54f7 WW-4504 - Mark current logging layer as @deprecated and use Log4j2 as default one
- Use log4j2 Logger and LogManager instead of xwork implementation everywhere
2015-05-25 12:42:23 +02:00
Lukasz Lenart 5f2898eadf Cleans up Maven generated website 2014-12-02 12:41:06 +01:00
Lukasz Lenart 5d8aa8a80b Updates tests as using Object's methods is prohibited 2014-04-26 06:59:18 +02:00
Lukasz Lenart bb31672e8a WW-4263 Adds proper and thread safe handling of If-Modified-Since header
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1555018 13f79535-47bb-0310-9956-ffa450edef68
2014-01-03 06:42:19 +00:00
Lukasz Lenart 1c327e288a WW-4225 Extracts duplicated code into util class
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1533338 13f79535-47bb-0310-9956-ffa450edef68
2013-10-18 07:07:32 +00:00
Lukasz Lenart c643336945 Merged from STRUTS_2_3_15_1_X - Disables DMI [from revision 1524296]
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1525413 13f79535-47bb-0310-9956-ffa450edef68
2013-09-22 18:37:11 +00:00
Christian Grobmeier 5e3e793576 removed unused site folder and site.xml
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1521449 13f79535-47bb-0310-9956-ffa450edef68
2013-09-10 12:08:04 +00:00
Lukasz Lenart eb2a9eb8ff WW-3593 Adds missing html files
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1486344 13f79535-47bb-0310-9956-ffa450edef68
2013-05-25 16:37:42 +00:00
Lukasz Lenart f7594cf03f WW-3975 Adds logic to look for handler without specified charset
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1459920 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 18:33:58 +00:00
Lukasz Lenart f852cacfee WW-3492 uses getter instead direct field access
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1439265 13f79535-47bb-0310-9956-ffa450edef68
2013-01-28 06:14:30 +00:00
Lukasz Lenart 6493648cc1 WW-3492 adds proper handling of If-Modified-Since header
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1439169 13f79535-47bb-0310-9956-ffa450edef68
2013-01-27 20:23:06 +00:00
Lukasz Lenart b7d2e1f015 WW-2537 adds usage of generics and some minor code improvements
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1397705 13f79535-47bb-0310-9956-ffa450edef68
2012-10-12 19:56:30 +00:00
Lukasz Lenart 967b424dc8 WW-3896 Solves problem with reading result code from HttpHeaders
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1397694 13f79535-47bb-0310-9956-ffa450edef68
2012-10-12 19:12:17 +00:00
Lukasz Lenart ec070ff937 WW-3857 changes RestActionMapper to return null if it cannot determine action mapping, adds comment to API
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1367870 13f79535-47bb-0310-9956-ffa450edef68
2012-08-01 07:11:09 +00:00
Johannes Geppert 970251ff95 Update to current 2.3 DTD
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1221225 13f79535-47bb-0310-9956-ffa450edef68
2011-12-20 12:22:28 +00:00
Lukasz Lenart 61478a9537 WW-3713 allows to return content not only for GET method - correct misspelled word
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1207859 13f79535-47bb-0310-9956-ffa450edef68
2011-11-29 13:09:27 +00:00
Lukasz Lenart 6908bc8d0f WW-3713 allows to return content not only for GET method
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1207576 13f79535-47bb-0310-9956-ffa450edef68
2011-11-28 20:34:18 +00:00
Maurizio Cucchiara e6738c5e75 Removed useless cast
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1204408 13f79535-47bb-0310-9956-ffa450edef68
2011-11-21 09:13:25 +00:00