public class RestProxyServlet
extends javax.servlet.http.HttpServlet
RestPipelineServlet
,
Serialized FormModifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
Constructor and Description |
---|
RestProxyServlet()
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getProxiedServlet()
Returns a reference to the proxied servlet
|
void |
init()
Gets the proxiedServlet property from the web.xml file and sets the proxiedServlet property
|
void |
service(javax.servlet.ServletRequest pRequest,
javax.servlet.ServletResponse pResponse)
Forwards call to the service() method of the HeadRestServlet
|
void |
setProxiedServlet(java.lang.String pProxiedServlet)
Sets a reference to the proxied servlet
|
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
public java.lang.String getProxiedServlet()
public void setProxiedServlet(java.lang.String pProxiedServlet)
pProxiedServlet
- the proxiedServlet to setpublic void init() throws javax.servlet.ServletException
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
- if the init-param is not set in the web.xmlpublic void service(javax.servlet.ServletRequest pRequest, javax.servlet.ServletResponse pResponse) throws java.io.IOException, javax.servlet.ServletException
service
in interface javax.servlet.Servlet
service
in class javax.servlet.http.HttpServlet
pRequest
- the servlet requestpResponse
- the servlet responsejava.io.IOException
- if an input or output stream exception occursjavax.servlet.ServletException
- if any other error occurs