public class RestServlet
extends javax.servlet.http.HttpServlet
| Constructor and Description |
|---|
RestServlet() |
| Modifier and Type | Method and Description |
|---|---|
void |
init()
Reads configuration from /serfj.properties.
|
protected void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Parses the request to get information about what controller is trying to call, then
invoke the action from that controller (if any), and finally gives an answer.
Basically it only dispatchs the request to a controller. |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, servicepublic void init()
throws javax.servlet.ServletException
init in class javax.servlet.GenericServletjavax.servlet.ServletExceptionprotected void service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
service in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionCopyright © 2012 ElPaso Software. All Rights Reserved.