Aleksandr Mashchenko
be457f4241
WW-5009 EmptyStackException in JSON plugin due to concurrency
2019-02-03 21:41:08 +02:00
Jarek Lipski
459cb61ca4
Adds deque and queue support JSON plugin
2018-05-12 17:06:38 +02:00
Jarek Lipski
73cace0cbb
Adds sorted and navigable set support JSON plugin
...
See WW-4937 for more details.
2018-05-12 16:59:17 +02:00
Lukasz Lenart
7f3c09c98e
Merge pull request #208 from aleksandr-m/feature/lang_to_text
...
WW-4915 Replace deprecated commons-lang3 classes
2018-03-16 14:30:40 +01:00
Lukasz Lenart
f1610537c8
Merge pull request #177 from aleksandr-m/feature/WW-4875
...
WW-4875 Add ability to use Java based configuration
2018-03-16 14:23:06 +01:00
Aleksandr Mashchenko
478945a0bd
WW-4915 Replace deprecated commons-lang3 classes (add commons-text dependency, replace StringEscapeUtils)
2018-02-05 21:15:17 +02:00
Aleksandr Mashchenko
7a9b5029a5
WW-4875 Add json constant configuration
2017-11-21 20:46:36 +02:00
Stefaan Dutry
0bde78cc36
changed Map iterations to use entrySet when both key and value are used
2017-11-13 21:13:27 +01:00
Lukasz Lenart
a03373022d
Adds missing header with license
2017-10-21 18:40:42 +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
Yasser Zamani
ecdc0f8379
WW-4034 a few non-functional changes
2017-10-06 14:03:22 +03:30
Yasser Zamani
996e17927b
WW-4034 Makes JSONWriter not static prototype to fix concurrent calls
2017-09-13 11:47:55 +04:30
Yasser Zamani
5bb472fa85
WW-4034 Allows to use custom JSONwriter
2017-09-11 18:40:34 +04:30
Yasser Zamani
39bdb99a11
WW-4034 Refactors and extracts interface from JSONWriter
2017-09-11 18:09:32 +04:30
Yasser Zamani
682d7a8888
WW-4846 Adds constant to control if include/traverse proxy info in JSONResult
2017-09-05 11:51:14 +04:30
Yasser Zamani
fbe09949c7
WW-4846 Does not traverse/include proxy info in JSONResult
2017-08-30 17:55:41 +04:30
Lukasz Lenart
08e181a4fe
WW-4728 Allows override request parameter names used to enable validation
2017-01-09 11:40:13 +01:00
Lukasz Lenart
7e4d1b45ea
WW-4725 Allows handle all redirection by MessageStoreInterceptor
2016-12-19 18:51:04 +01:00
Lukasz Lenart
175c852eef
WW-4684 Uses charset and adds some logging
2016-09-05 12:14:12 +02:00
Lukasz Lenart
547718fcc6
WW-4684 Uses Content-Type to perform action based on defined type
2016-09-05 12:02:00 +02:00
victorsosa
6e07a63797
WW-4650 Json deserialization does not work in 2.5.1
...
logic need to be changed as accept can be a list; the check need to be
done in the list itself.
Accept:application/json, text/plain, */*
2016-06-24 09:06:52 -04:00
Lukasz Lenart
e60119436a
WW-4632 Uses proper DTD version
2016-06-12 13:10:49 +02:00
victorsosa
d16aa65098
remove old second contentType parameter
2016-05-06 18:04:04 -04:00
victorsosa
8b8135af79
Merge branch 'ww-4558' of github.com:victorsosa/struts into ww-4558
...
# Conflicts:
# plugins/json/src/main/java/org/apache/struts2/json/JSONInterceptor.java
2016-02-15 10:37:26 -04:00
victorsosa
bab451c6d8
Merge branch 'ww-4558' of github.com:victorsosa/struts into ww-4558
...
# Conflicts:
# plugins/json/src/main/java/org/apache/struts2/json/JSONInterceptor.java
2016-02-15 10:34:15 -04:00
victorsosa
0d49050381
fix patch WW-4558
...
contentType override ignored for JSONInterceptor
use of accept parameter st by the interceptor params
Signed-off-by: victorsosa <victor.sosa@peopleware.do >
2016-02-15 10:31:36 -04:00
victorsosa
fab687a07e
fix patch WW-4558
...
contentType override ignored for JSONInterceptor
From now on:
The "accept" request header parameter must be "application/json" or
"application/json-rpc"
Also the default encoding is "UTF-8"
2016-02-15 08:28:01 -04:00
cnenning
b0a66b47ac
increased visibilty of methods and constants for better extensibility
2016-01-14 09:33:50 +01:00
cnenning
7bd8dd9559
made methods non static and private, javadoc updates
2016-01-12 14:14:09 +01:00
cnenning
cb11898416
Adds new result 'JSONActionRedirectResult' to json-plugin. Contains tests and example in showcase app. The new result type is intended to be used along with existing JSONValidationInterceptor. It makes it possible to do form validation via ajax and handle form submitting, action execution and redirect evaluation all in one request inside JS context.
2016-01-11 14:36:32 +01:00
Victor Sosa
b198e3bf3d
Patch WW-3945
...
Set default encoding for JSONResult to UTF-8
Now the default encoding is UTF-8 for JSON as should be.
2016-01-04 12:20:58 -04:00
Victor Sosa
db483ccd15
fix for WW-4269
...
blank double results in NumberFormatException being thrown on sending
JSON in request body
2015-12-30 13:36:58 -04: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
46b0ef632f
WW-4516 Allows disable BeanInfo cache in devMode
2015-06-26 21:45:30 +02:00
Lukasz Lenart
fd0db86560
WW-4518 Moves the new filters to proper package
2015-06-23 17:36:32 +02:00
Lukasz Lenart
8de090fda2
WW-4518 Drops FilterDispatcher
2015-06-23 16:09:34 +02:00
Naros
f18e24d2ac
Renamed setter for devMode.
2015-06-22 10:32:05 -05:00
Naros
88bfeb556d
Removed unused methods
...
Removed JSONUtil.serialize(Object) in favor for using the method that
accepts a boolean to control bean caching functionality.
2015-06-22 09:21:13 -05:00
Naros
a778ba1a3d
Renamed debugMode to devMode.
...
Renamed the debugMode variable to devMode.
2015-06-22 09:18:24 -05:00
Naros
30df43f1fa
WW-4516: Allow JSON plug-in to skip bean cache when devMode is enabled.
2015-06-20 13:19:29 -05:00
Lukasz Lenart
e2347f165c
WW-4077 Moves ValidationAware interface into proper package
2015-06-18 11:33:49 +02:00
Johannes Geppert
5d86c0e5c9
Minor code improvement's in the struts json plugin
...
- Use Java 7 features like diamond operator
- Improve some logging message
- Use BooleanUtils.toBoolean(string) instead of "true".isEquals to be more robust
2015-06-08 20:17:45 +02:00
Johannes Geppert
8e8771153a
WW-4504 - Mark current logging layer as @deprecated and use Log4j2 as default one
...
- Use log4j2 placeholder for logging messages and optimize logging a bit
2015-05-25 21:25:50 +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
aronshen
b888275803
change findBaseAccessor method
...
in hibernate4.3.7,because javassist3.18.1's class name generate rule is '_$$_jvst'+...
2015-01-20 11:54:10 +08:00
Aleksandr Mashchenko
61cffe68fe
improved interceptor that accepts and maps JSON array
2014-10-13 20:07:07 +03:00
Lukasz Lenart
a2d4bdd8cf
WW-4185 makes default json date format configurable
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1556522 13f79535-47bb-0310-9956-ffa450edef68
2014-01-08 13:02:59 +00:00
Lukasz Lenart
e73cc3fb09
WW-4271 Improves pattern logging in JSONUtil
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1556509 13f79535-47bb-0310-9956-ffa450edef68
2014-01-08 12:03:18 +00:00