Browse Source

Javadoc update

tags/7.0.0.alpha2
Artur 12 years ago
parent
commit
70a2f84417
1 changed files with 9 additions and 0 deletions
  1. 9
    0
      src/com/vaadin/terminal/gwt/client/communication/JsonEncoder.java

+ 9
- 0
src/com/vaadin/terminal/gwt/client/communication/JsonEncoder.java View File

@@ -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;

Loading…
Cancel
Save