com.browseengine.bobo.server.protocol
Class JSONHandler
java.lang.Object
com.browseengine.bobo.server.protocol.ProtocolHandler
com.browseengine.bobo.server.protocol.JSONHandler
public class JSONHandler
- extends ProtocolHandler
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JSONHandler
public JSONHandler()
deserializeRequest
public Object deserializeRequest(Class reqClass,
javax.servlet.http.HttpServletRequest req)
throws IOException
- Specified by:
deserializeRequest in class ProtocolHandler
- Throws:
IOException
getSupportedProtocol
public String getSupportedProtocol()
- Specified by:
getSupportedProtocol in class ProtocolHandler
serializeResult
public byte[] serializeResult(Object result)
throws IOException
- Specified by:
serializeResult in class ProtocolHandler
- Throws:
IOException
deserializeRequest
public Object deserializeRequest(Class reqClass,
byte[] req)
throws IOException
- Specified by:
deserializeRequest in class ProtocolHandler
- Throws:
IOException
Copyright © 2005-2012. All Rights Reserved.