public interface JsonSupport
| Modifier and Type | Method and Description |
|---|---|
void |
addEventMapping(String eventName,
Class<?>... eventClass) |
void |
addJsonClass(Class<?> clazz) |
AckArgs |
readAckArgs(io.netty.buffer.ByteBufInputStream src,
AckCallback<?> callback) |
<T> T |
readValue(io.netty.buffer.ByteBufInputStream src,
Class<T> valueType) |
<T> T |
readValue(String src,
Class<T> valueType) |
void |
removeEventMapping(String eventName) |
void |
writeValue(io.netty.buffer.ByteBufOutputStream out,
Object value) |
String |
writeValueAsString(Object value) |
AckArgs readAckArgs(io.netty.buffer.ByteBufInputStream src, AckCallback<?> callback) throws IOException
IOException<T> T readValue(io.netty.buffer.ByteBufInputStream src,
Class<T> valueType)
throws IOException
IOExceptionvoid writeValue(io.netty.buffer.ByteBufOutputStream out,
Object value)
throws IOException
IOExceptionString writeValueAsString(Object value) throws IOException
IOException<T> T readValue(String src, Class<T> valueType) throws IOException
IOExceptionvoid addJsonClass(Class<?> clazz)
void removeEventMapping(String eventName)
Copyright © 2012–2014. All rights reserved.