|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.blojsom.extension.xmlrpc.BlojsomXMLRPCServlet
Blojsom XML-RPC Servlet
This servlet uses the Jakarta XML-RPC Library (http://ws.apache.org/xmlrpc)
| Field Summary | |
protected org.springframework.context.support.ClassPathXmlApplicationContext |
_classPathXmlApplicationContext
|
protected org.apache.commons.logging.Log |
_logger
|
protected java.lang.String[] |
BLOJSOM_CONFIGURATION_FILES
|
protected static java.lang.String |
XMLRPC_ACCEPTS_ONLY_POSTS_MESSAGE
|
protected static int |
XMLRPC_DISABLED
|
protected static java.lang.String |
XMLRPC_DISABLED_MESSAGE
|
| Constructor Summary | |
BlojsomXMLRPCServlet()
Construct a new Blojsom XML-RPC servlet instance |
|
| Method Summary | |
protected org.apache.xmlrpc.XmlRpcServer |
configureXMLRPCServer(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
java.lang.String blogId)
Configure the XML-RPC server for the given blog |
void |
destroy()
Called when removing the servlet from the servlet container |
void |
init(javax.servlet.ServletConfig servletConfig)
Initialize the blojsom XML-RPC servlet |
protected void |
service(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
Service an XML-RPC request by passing the request to the proper handler |
| 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 |
protected org.apache.commons.logging.Log _logger
protected java.lang.String[] BLOJSOM_CONFIGURATION_FILES
protected static final int XMLRPC_DISABLED
protected static final java.lang.String XMLRPC_DISABLED_MESSAGE
protected static final java.lang.String XMLRPC_ACCEPTS_ONLY_POSTS_MESSAGE
protected org.springframework.context.support.ClassPathXmlApplicationContext _classPathXmlApplicationContext
| Constructor Detail |
public BlojsomXMLRPCServlet()
| Method Detail |
public void init(javax.servlet.ServletConfig servletConfig)
throws javax.servlet.ServletException
servletConfig - Servlet configuration information
javax.servlet.ServletException - If there is an error initializing the servlet
protected org.apache.xmlrpc.XmlRpcServer configureXMLRPCServer(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
java.lang.String blogId)
httpServletRequest - HttpServletRequesthttpServletResponse - HttpServletResponseblogId - Blog ID
XmlRpcServer instance with handlers configured for the given blog
protected 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()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||