Selaa lähdekoodia

Javadoc update

tags/7.0.0.alpha2
Artur 12 vuotta sitten
vanhempi
commit
70a2f84417

+ 9
- 0
src/com/vaadin/terminal/gwt/client/communication/JsonEncoder.java Näytä tiedosto

@@ -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…
Peruuta
Tallenna