com.esri.gpt.control.rest
Class RestServlet
java.lang.Object
  
javax.servlet.GenericServlet
      
javax.servlet.http.HttpServlet
          
com.esri.gpt.framework.context.BaseServlet
              
com.esri.gpt.control.rest.RestServlet
- All Implemented Interfaces: 
 - Serializable, Servlet, ServletConfig
 
public class RestServlet
- extends BaseServlet
 
REST servlet.
 Provides REST functionality.
- See Also:
 - Serialized Form
 
| 
Constructor Summary | 
RestServlet()
 
          Creates instance of the servlet. | 
 
 
| Methods inherited from class com.esri.gpt.framework.context.BaseServlet | 
authenticate, doGet, doPost, getCredentials, getLogger, getParameterValue, getRealm, readInputCharacters, writeCharacterResponse, writeHtmlResponse, writeXmlResponse | 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
RestServlet
public RestServlet()
- Creates instance of the servlet.
 
init
public void init(ServletConfig config)
          throws ServletException
- Initializes servlet.
- Specified by:
 init in interface Servlet- Overrides:
 init in class GenericServlet
 
- Parameters:
 config - servlet configuration
- Throws:
 ServletException - if error initializing servlet
 
 
execute
protected void execute(HttpServletRequest request,
                       HttpServletResponse response,
                       RequestContext context)
                throws ServletException,
                       IOException
- Process the HTTP request request.
- Specified by:
 execute in class BaseServlet
 
- Parameters:
 request - HTTP request.response - HTTP response.context - request context
- Throws:
 ServletException - if error invoking command.
IOException - if error writing to the buffer.
 
 
        Copyright 2011 Environmental Systems Research Institute. 
	 All rights reserved. 
	 Use is subject to 
license terms.