org.jboss.aerogear.io.netty.handler.codec.sockjs.util
Class JsonUtil
java.lang.Object
org.jboss.aerogear.io.netty.handler.codec.sockjs.util.JsonUtil
public final class JsonUtil
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
decode
public static String[] decode(io.netty.handler.codec.http.websocketx.TextWebSocketFrame frame)
throws IOException
- Throws:
IOException
decode
public static String[] decode(String content)
throws IOException
- Throws:
IOException
encode
public static String encode(String content)
throws com.fasterxml.jackson.databind.JsonMappingException
- Throws:
com.fasterxml.jackson.databind.JsonMappingException
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.