@Deprecated public class AtomServlet extends javax.servlet.http.HttpServlet
com.rometools.rome.propono.atom.server.AtomHandler implementation. This servlet takes
care of parsing incoming XML into ROME Atom Entry objects,
passing those to the handler and serializing to the response the entries and feeds returned by
the handler.| Modifier and Type | Field and Description |
|---|---|
static String |
FEED_TYPE
Deprecated.
Get feed type support by Servlet, "atom_1.0"
|
| Constructor and Description |
|---|
AtomServlet()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doDelete(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Deprecated.
Handle Atom DELETE by calling appropriate handler.
|
protected void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Deprecated.
Handles an Atom GET by calling handler and writing results to response.
|
protected void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Deprecated.
Handles an Atom POST by calling handler to identify URI, reading/parsing data, calling
handler and writing results to response.
|
protected void |
doPut(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Deprecated.
Handles an Atom PUT by calling handler to identify URI, reading/parsing data, calling handler
and writing results to response.
|
static String |
getContextDirPath()
Deprecated.
Get absolute path to Servlet context directory.
|
void |
init(javax.servlet.ServletConfig config)
Deprecated.
Initialize servlet.
|
doHead, doOptions, doTrace, getLastModified, service, servicepublic static final String FEED_TYPE
protected void doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws javax.servlet.ServletException,
IOException
doGet in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionprotected void doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws javax.servlet.ServletException,
IOException
doPost in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionprotected void doPut(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws javax.servlet.ServletException,
IOException
doPut in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionprotected void doDelete(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws javax.servlet.ServletException,
IOException
doDelete in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionpublic void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
init in interface javax.servlet.Servletinit in class javax.servlet.GenericServletjavax.servlet.ServletExceptionpublic static String getContextDirPath()
Copyright © 2023. All rights reserved.