Commit Graph

74 Commits

Author SHA1 Message Date
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
Johannes Geppert 077bea8a6f WW-3629: Provide a JSON Content Handler based on Jackson Lib
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1203772 13f79535-47bb-0310-9956-ffa450edef68
2011-11-18 18:02:03 +00:00
John Lindal 8f4707d3be WW-3518 remove duplicated code from RestActionInvocation
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1133590 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 22:40:33 +00:00
Johannes Geppert 1219e49516 WW-3619: Check LogLevel for all debug, info and warning messages
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1099157 13f79535-47bb-0310-9956-ffa450edef68
2011-05-03 17:53:55 +00:00
Maurizio Cucchiara 7aa552ff78 WW-3616 - Error in the detail view of the REST Showcase
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1097499 13f79535-47bb-0310-9956-ffa450edef68
2011-04-28 15:15:49 +00:00
Johannes Geppert 19f61519f9 WW-3614: Incorrect Content-Type in REST Plugin JSON Content Handler
WW-3536: Specify UTF-8 content type in JsonLibHandler

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1097172 13f79535-47bb-0310-9956-ffa450edef68
2011-04-27 16:36:54 +00:00
Lukasz Lenart 786f6af96f Changes namespace to be optional parameter
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1086842 13f79535-47bb-0310-9956-ffa450edef68
2011-03-30 05:27:52 +00:00
Lukasz Lenart 7b1494af73 Solves WW-3590 - adds dedicated namespace for REST services
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1082295 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 20:49:41 +00:00
John Lindal 6d8c7bd11e WW-3548 update copyright to 2011
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1068561 13f79535-47bb-0310-9956-ffa450edef68
2011-02-08 20:35:46 +00:00
Lukasz Lenart 25c27e2944 Merges branch 2.2.1.1 back to trunk
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1053429 13f79535-47bb-0310-9956-ffa450edef68
2010-12-28 20:48:55 +00:00
Lukasz Lenart c95a0f8b5e Added Dynamic Method Invocation support
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/branches/STRUTS_2_2_1_1@1039579 13f79535-47bb-0310-9956-ffa450edef68
2010-11-26 22:23:25 +00:00
Lukasz Lenart 753d6f5fde Solved WW-3494 - many improvments to REST plugin
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1026675 13f79535-47bb-0310-9956-ffa450edef68
2010-10-23 20:19:47 +00:00
Wesley Wannemacher 350acd8bc9 WW-3128, screwed up originally, forgot to svn add this file after applying the patch
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@791565 13f79535-47bb-0310-9956-ffa450edef68
2009-07-06 19:01:15 +00:00
Wesley Wannemacher e9978d5c29 WW-3128, thanks Brian!
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@780096 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 20:22:09 +00:00
Musachy Barroso a83155009c Remove codebehind settings
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@728042 13f79535-47bb-0310-9956-ffa450edef68
2008-12-19 15:04:09 +00:00