org.json.rpc.server
Class JsonRpcServletTransport

java.lang.Object
  extended by org.json.rpc.server.JsonRpcServletTransport
All Implemented Interfaces:
JsonRpcServerTransport

public class JsonRpcServletTransport
extends Object
implements JsonRpcServerTransport


Constructor Summary
JsonRpcServletTransport(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
           
 
Method Summary
 String readRequest()
           
 void writeResponse(String responseData)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JsonRpcServletTransport

public JsonRpcServletTransport(javax.servlet.http.HttpServletRequest req,
                               javax.servlet.http.HttpServletResponse resp)
Method Detail

readRequest

public String readRequest()
                   throws Exception
Specified by:
readRequest in interface JsonRpcServerTransport
Throws:
Exception

writeResponse

public void writeResponse(String responseData)
                   throws Exception
Specified by:
writeResponse in interface JsonRpcServerTransport
Throws:
Exception


Copyright © 2011 DevelNix. All Rights Reserved.