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
,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.
-
Constructor Summary
Constructors Constructor Description ResourceProxyServlet()
-
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
-
-
-
-
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(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, java.io.IOException
- Overrides:
service
in classcom.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 classcom.sun.portal.wsrp.consumer.resourceproxy.ResourceProxyServlet
- Throws:
java.io.IOException
javax.servlet.ServletException
-
-