Class CrossDomainRpcLoader


  • public class CrossDomainRpcLoader
    extends java.lang.Object
    Loads a CrossDomainRpc from a HttpServletRequest.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      CrossDomainRpc loadRpc​(javax.servlet.http.HttpServletRequest request)
      Parses the request for a CrossDomainRpc.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CrossDomainRpcLoader

        public CrossDomainRpcLoader()
    • Method Detail

      • loadRpc

        public CrossDomainRpc loadRpc​(javax.servlet.http.HttpServletRequest request)
                               throws java.io.IOException
        Parses the request for a CrossDomainRpc.
        Parameters:
        request - The request to parse.
        Returns:
        The parsed RPC.
        Throws:
        java.io.IOException - If an error occurs reading from the request.
        java.lang.IllegalArgumentException - If an occurs while parsing the request data.