|
||||||||||
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 redstone.xmlrpc.XmlRpcServlet
public class XmlRpcServlet
Servlet that publishes an XmlRpcServer in a web server.
Constructor Summary | |
---|---|
XmlRpcServlet()
|
Method Summary | |
---|---|
void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Handles reception of XML-RPC messages. |
java.lang.String |
getContentType()
Returns the content type of the messages returned from the servlet which is text/xml for XML-RPC messages and text/javascript+json for JSON messages. |
boolean |
getStreamMessages()
Indicates whether or not messages are streamed or if they are built in memory to be able to calculate the HTTP Content-Length. |
XmlRpcServer |
getXmlRpcServer()
Returns the XmlRpcServer that is backing the servlet. |
void |
init(javax.servlet.ServletConfig config)
Initializes the servlet by instantiating the XmlRpcServer that will hold all invocation handlers and processors. |
Methods inherited from class javax.servlet.http.HttpServlet |
---|
service |
Methods inherited from class javax.servlet.GenericServlet |
---|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XmlRpcServlet()
Method Detail |
---|
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
public XmlRpcServer getXmlRpcServer()
public boolean getStreamMessages()
public java.lang.String getContentType()
public void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, java.io.IOException
doPost
in class javax.servlet.http.HttpServlet
req
- res
-
javax.servlet.ServletException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |