| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.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 Form| Field Summary | |
|---|---|
| static java.lang.String | CLASS_VERSIONClass 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 set
public void init()
          throws javax.servlet.ServletException
init in class javax.servlet.GenericServletjavax.servlet.ServletException - if the init-param is not set in the web.xml
public void service(javax.servlet.ServletRequest pRequest,
                    javax.servlet.ServletResponse pResponse)
             throws java.io.IOException,
                    javax.servlet.ServletException
service in interface javax.servlet.Servletservice in class javax.servlet.http.HttpServletpRequest - 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 | ||||||||