Class ResourceProxyServlet

  • All Implemented Interfaces:
    java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

    public class ResourceProxyServlet
    extends com.sun.portal.wsrp.consumer.resourceproxy.ResourceProxyServlet
    Services calls to resources of a consumed remote portlet.
    Since:
    5.5.0
    Version:
    $Revision$ $Date$
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      protected static class  ResourceProxyServlet.InvalidRequestException
      Exception internally used to indicate that the request is invalid, due to a parameter value.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String PARAMETER_NAMESPACE
      Name of the URL parameter for this servlet, that specifies the namespace prefix to be used during response rewriting.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void forwardBackResponse​(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, java.net.URLConnection conn, boolean resourceRewrite)  
      void service​(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)  
      • Methods inherited from class com.sun.portal.wsrp.consumer.resourceproxy.ResourceProxyServlet

        forwardRequest, init, setConnectionHeadersIntoResponse, setRequestHeadersIntoConnection
      • Methods inherited from class javax.servlet.http.HttpServlet

        doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
      • Methods inherited from class javax.servlet.GenericServlet

        destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
      • Methods inherited from class java.lang.Object

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

      • PARAMETER_NAMESPACE

        public static final java.lang.String PARAMETER_NAMESPACE
        Name of the URL parameter for this servlet, that specifies the namespace prefix to be used during response rewriting.
        Since:
        5.5.0
        See Also:
        Constant Field Values
    • Constructor Detail

      • ResourceProxyServlet

        public ResourceProxyServlet()
    • Method Detail

      • service

        public void service​(javax.servlet.http.HttpServletRequest req,
                            javax.servlet.http.HttpServletResponse res)
                     throws javax.servlet.ServletException,
                            java.io.IOException
        Overrides:
        service in class com.sun.portal.wsrp.consumer.resourceproxy.ResourceProxyServlet
        Throws:
        javax.servlet.ServletException
        java.io.IOException
      • forwardBackResponse

        protected void forwardBackResponse​(javax.servlet.http.HttpServletRequest req,
                                           javax.servlet.http.HttpServletResponse res,
                                           java.net.URLConnection conn,
                                           boolean resourceRewrite)
                                    throws java.io.IOException,
                                           javax.servlet.ServletException
        Overrides:
        forwardBackResponse in class com.sun.portal.wsrp.consumer.resourceproxy.ResourceProxyServlet
        Throws:
        java.io.IOException
        javax.servlet.ServletException