com.xefer.rebel
Class XBELServlet
java.lang.Object
|
+--javax.servlet.GenericServlet
|
+--javax.servlet.http.HttpServlet
|
+--com.xefer.rebel.XBELServlet
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
- public class XBELServlet
- extends HttpServlet
The main servlet that coordinates the REST interface
of the XBEL elements.
- See Also:
- Serialized Form
Field Summary |
(package private) int |
maxfile
maximum size of the XBEL document allowed |
(package private) int |
maxsize
maximum size of the entity allowed for PUT or POST |
Fields inherited from class javax.servlet.http.HttpServlet |
HEADER_IFMODSINCE, HEADER_LASTMOD, LSTRING_FILE, lStrings, METHOD_DELETE, METHOD_GET, METHOD_HEAD, METHOD_OPTIONS, METHOD_POST, METHOD_PUT, METHOD_TRACE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
maxfile
int maxfile
- maximum size of the XBEL document allowed
maxsize
int maxsize
- maximum size of the entity allowed for PUT or POST
XBELServlet
public XBELServlet()
doDelete
public void doDelete(HttpServletRequest req,
HttpServletResponse resp)
throws ServletException,
IOException
- The servlet is handling the DELETE request
- Overrides:
doDelete
in class HttpServlet
doGet
public void doGet(HttpServletRequest req,
HttpServletResponse resp)
throws ServletException,
IOException
- The servlet is handling the GET request
- Overrides:
doGet
in class HttpServlet
doPost
public void doPost(HttpServletRequest req,
HttpServletResponse resp)
throws ServletException,
IOException
- The servlet is handling the POST request
- Overrides:
doPost
in class HttpServlet
doPut
public void doPut(HttpServletRequest req,
HttpServletResponse resp)
throws ServletException,
IOException
- The servlet is handling the PUT request
- Overrides:
doPut
in class HttpServlet
init
public void init()
- Initialize the servlet and get application parameters
- Overrides:
init
in class GenericServlet
- Returns:
- a value of type 'String' with information about the servlet