com.atlassian.gadgets.renderer.internal.servlet
Class RpcRelay

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.atlassian.gadgets.renderer.internal.servlet.RpcRelay
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class RpcRelay
extends javax.servlet.http.HttpServlet

The fallback Shindig RPC mechanism for all browsers is IFRC (Inter Fame Relay Communication). When this mechanism is used an invisible iframe is created inside the gadget using the URL to this servlet, which should be on the same domain as the container. This invisible iframe is able to talk to it's parents parent, which is the container, providing a way for the gadget to pass a messages to the container.

See Also:
Serialized Form

Constructor Summary
RpcRelay()
           
 
Method Summary
 void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RpcRelay

public RpcRelay()
Method Detail

doGet

public void doGet(javax.servlet.http.HttpServletRequest request,
                  javax.servlet.http.HttpServletResponse response)
           throws javax.servlet.ServletException,
                  IOException
Overrides:
doGet in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
IOException


Copyright © 2009 Atlassian. All Rights Reserved.