diff options
author | Artur Signell <artur@vaadin.com> | 2013-04-16 16:12:42 +0300 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2013-04-16 16:43:04 +0300 |
commit | ee38ec63f55f9b1b6fef2a0896d9ebd36c75b1d0 (patch) | |
tree | 0a1e8b53d3f2414e20890e20f4131ee85812746b /shared | |
parent | 224cd8e24ac133e00685dc03c0cf30832589421a (diff) | |
download | vaadin-framework-ee38ec63f55f9b1b6fef2a0896d9ebd36c75b1d0.tar.gz vaadin-framework-ee38ec63f55f9b1b6fef2a0896d9ebd36c75b1d0.zip |
Handle JSONException and InvalidUIDLSecurityKeyException the same way in PushHandler and UIDLRequestHandler (#11556)
Change-Id: Ide3a162bd77fb9b2ec3d44ea4422b5841d19eec8
Diffstat (limited to 'shared')
-rw-r--r-- | shared/src/com/vaadin/shared/JsonConstants.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shared/src/com/vaadin/shared/JsonConstants.java b/shared/src/com/vaadin/shared/JsonConstants.java index 8a9e37f1a5..44aeac72e4 100644 --- a/shared/src/com/vaadin/shared/JsonConstants.java +++ b/shared/src/com/vaadin/shared/JsonConstants.java @@ -32,4 +32,6 @@ public class JsonConstants implements Serializable { public static final String VTYPE_SET = "q"; public static final String VTYPE_NULL = "n"; + public static final String JSON_CONTENT_TYPE = "application/json; charset=UTF-8"; + } |