|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.GenericServlet javax.servlet.http.HttpServlet atg.rest.servlet.RestProxyServlet
public class RestProxyServlet
This class represents the start of the REST servlet pipeline. Its purpose is to initialize the pipeline's URI prefix. Its serviceRESTRequest() method does not contain any logic for handling requests, but rather just checks to see that the pipeline is initialized. See RestPipelineServlet for more information.
RestPipelineServlet
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Constructor Summary | |
---|---|
RestProxyServlet()
Constructor |
Method Summary | |
---|---|
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 |
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 |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public RestProxyServlet()
Method Detail |
---|
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 response
java.io.IOException
- if an input or output stream exception occurs
javax.servlet.ServletException
- if any other error occurs
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |