AeroGear Netty SockJS Codec 0.11.0

org.jboss.aerogear.io.netty.handler.codec.sockjs.util
Class JsonUtil

java.lang.Object
  extended by org.jboss.aerogear.io.netty.handler.codec.sockjs.util.JsonUtil

public final class JsonUtil
extends Object


Method Summary
static String[] decode(String content)
           
static String[] decode(io.netty.handler.codec.http.websocketx.TextWebSocketFrame frame)
           
static String encode(String content)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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

AeroGear Netty SockJS Codec 0.11.0

Copyright © 2014 JBoss by Red Hat. All Rights Reserved.