|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.GenericServlet javax.servlet.http.HttpServlet org.blojsom.servlet.BlojsomBaseServlet org.blojsom.extension.comment.CommentAPIServlet
blojsom Comment API Implementation
Comment API specification. For more information on the <item/> fragment and its content, check the RSS 2.0 specification.
Field Summary | |
static java.lang.String |
COMMENTAPI_ACCEPTS_ONLY_POSTS_MESSAGE
|
Fields inherited from class org.blojsom.servlet.BlojsomBaseServlet |
_baseConfigurationDirectory, _blojsomConfiguration, _fetcher, _servletConfig |
Constructor Summary | |
CommentAPIServlet()
Default constructor |
Method Summary | |
void |
destroy()
Called when removing the servlet from the servlet container |
void |
init(javax.servlet.ServletConfig servletConfig)
Initialize the blojsom Comment API servlet |
protected void |
service(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
Service a Comment API request |
Methods inherited from class org.blojsom.servlet.BlojsomBaseServlet |
configureBlojsom, configureFetcher |
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service |
Methods inherited from class javax.servlet.GenericServlet |
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 final java.lang.String COMMENTAPI_ACCEPTS_ONLY_POSTS_MESSAGE
Constructor Detail |
public CommentAPIServlet()
Method Detail |
public void init(javax.servlet.ServletConfig servletConfig) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
init
in class BlojsomBaseServlet
servletConfig
- Servlet configuration information
javax.servlet.ServletException
- If there is an error initializing the servletprotected void service(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) throws javax.servlet.ServletException, java.io.IOException
httpServletRequest
- RequesthttpServletResponse
- Response
javax.servlet.ServletException
- If there is an error processing the request
java.io.IOException
- If there is an error during I/Opublic void destroy()
destroy
in interface javax.servlet.Servlet
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |