Package lumis.service.wsrp.consumer
Class ResourceProxyServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- com.sun.portal.wsrp.consumer.resourceproxy.ResourceProxyServlet
-
- lumis.service.wsrp.consumer.ResourceProxyServlet
-
- All Implemented Interfaces:
java.io.Serializable
,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: 24678 $ $Date: 2021-08-21 22:28:26 -0300 (Sat, 21 Aug 2021) $
- 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.
-
Constructor Summary
Constructors Constructor Description ResourceProxyServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
forwardBackResponse(HttpServletRequest req, HttpServletResponse res, java.net.URLConnection conn, boolean resourceRewrite)
void
service(HttpServletRequest req, 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
-
-
-
-
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
-
-
Method Detail
-
service
public void service(HttpServletRequest req, HttpServletResponse res) throws ServletException, java.io.IOException
- Overrides:
service
in classcom.sun.portal.wsrp.consumer.resourceproxy.ResourceProxyServlet
- Throws:
ServletException
java.io.IOException
-
forwardBackResponse
protected void forwardBackResponse(HttpServletRequest req, HttpServletResponse res, java.net.URLConnection conn, boolean resourceRewrite) throws java.io.IOException, ServletException
- Overrides:
forwardBackResponse
in classcom.sun.portal.wsrp.consumer.resourceproxy.ResourceProxyServlet
- Throws:
java.io.IOException
ServletException
-
-