Commit Graph

113 Commits

Author SHA1 Message Date
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
Musachy Barroso 030c7e0193 XW-640 Support multiple unknown handlers
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@727100 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16 17:47:24 +00:00
Donald J. Brown 6070c4ff6d Better handle ;jsessionid in rest plugin
WW-2328


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@680686 13f79535-47bb-0310-9956-ffa450edef68
2008-07-29 12:53:18 +00:00
Donald J. Brown 0b8fcdf609 Adding ability to customize validation failure status code, refactoring content type handler manager into
interface and impl for easier testing
WW-2358


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@676195 13f79535-47bb-0310-9956-ffa450edef68
2008-07-12 15:55:58 +00:00
Donald J. Brown 78e853bcb3 Repackaging new dispatchers, adding "unsupported" servlet dispatcher, fixing a spring issue where
it was needlessly tied to WebApplicationContext and a rest issue where the autowiring of returned
result objects wasn't copied into the rest plugin from xwork
WW-2193


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@674498 13f79535-47bb-0310-9956-ffa450edef68
2008-07-07 14:10:42 +00:00
Jeromy Evans 0f08615c62 WW-2702 Codebehind unknown handler can now instantiate PackageConfig.defaultClassRef instead of only ActionSupport.
Rest plugin provides defaultClassImpl impl with index() method to support unknown actions.


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@673081 13f79535-47bb-0310-9956-ffa450edef68
2008-07-01 13:49:01 +00:00
Jeromy Evans f36ac2fcc0 WW-2641 Separated the request and response ContentTypeHandlers. Added x-www-form-urlencoded handler
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@672721 13f79535-47bb-0310-9956-ffa450edef68
2008-06-30 07:54:36 +00:00
Rainer Hermanns f54ce89923 WW-2623 Struts 2.1.3 omnibus ticket
o optimzed imports

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@666756 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 18:11:00 +00:00
Musachy Barroso 9efd7fcfd9 WW-2667 REST should not extend Codebehind
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@663605 13f79535-47bb-0310-9956-ffa450edef68
2008-06-05 13:31:01 +00:00
Musachy Barroso 92cea867a3 WW-2667 REST should not extend Codebehind
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@663603 13f79535-47bb-0310-9956-ffa450edef68
2008-06-05 13:29:25 +00:00
Antonio Petrelli 974e051bc5 WW-2147
Fixed license headers where needed.
Re-enabled RAT plugin and fixed its configuration.

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@651946 13f79535-47bb-0310-9956-ffa450edef68
2008-04-27 13:41:38 +00:00
Donald J. Brown f02befcd8f Adding new settings to disable classpath action scanning for the codebehind and rest plugins
WW-2506


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@649873 13f79535-47bb-0310-9956-ffa450edef68
2008-04-20 03:09:23 +00:00