com.browseengine.bobo.server.protocol
Class BrowseJSONHandler

java.lang.Object
  extended by com.browseengine.bobo.server.protocol.ProtocolHandler
      extended by com.browseengine.bobo.server.protocol.BrowseJSONHandler

public class BrowseJSONHandler
extends ProtocolHandler


Constructor Summary
BrowseJSONHandler()
           
 
Method Summary
 Object deserializeRequest(Class reqClass, byte[] req)
           
 Object deserializeRequest(Class reqClass, javax.servlet.http.HttpServletRequest req)
           
 String getSupportedProtocol()
           
 byte[] serializeResult(Object result)
           
 
Methods inherited from class com.browseengine.bobo.server.protocol.ProtocolHandler
getProtocolHandler, registerProtocolHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BrowseJSONHandler

public BrowseJSONHandler()
Method Detail

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.