summaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
authorArtur <Artur@Storm>2012-04-18 01:06:26 +0300
committerArtur Signell <artur@vaadin.com>2012-04-18 23:09:04 +0300
commit70a2f84417f38095ee6e47fd78995b5b266f9e37 (patch)
treefba84978b3b4c5f627171687db7b32e077cc9e13 /src/com
parent6996029d9d521db35f70c0a017e15cb4bdcf4a78 (diff)
downloadvaadin-framework-70a2f84417f38095ee6e47fd78995b5b266f9e37.tar.gz
vaadin-framework-70a2f84417f38095ee6e47fd78995b5b266f9e37.zip
Javadoc update
Diffstat (limited to 'src/com')
-rw-r--r--src/com/vaadin/terminal/gwt/client/communication/JsonEncoder.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/communication/JsonEncoder.java b/src/com/vaadin/terminal/gwt/client/communication/JsonEncoder.java
index 294626e71a..fdc06b0e21 100644
--- a/src/com/vaadin/terminal/gwt/client/communication/JsonEncoder.java
+++ b/src/com/vaadin/terminal/gwt/client/communication/JsonEncoder.java
@@ -163,6 +163,15 @@ public class JsonEncoder {
return outerArray;
}
+ /**
+ * Returns the transport type for the given value. Only returns a transport
+ * type for internally handled values.
+ *
+ * @param value
+ * The value that should be transported
+ * @return One of the JsonEncode.VTYPE_ constants or null if the value
+ * cannot be transported using an internally handled type.
+ */
private static String getTransportType(Object value) {
if (value == null) {
return VTYPE_NULL;