public class MOSServiceServlet
extends javax.servlet.http.HttpServlet
Constructor and Description |
---|
MOSServiceServlet() |
Modifier and Type | Method and Description |
---|---|
void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Handle GET requests.
|
void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse resp)
Handle the Post Request
|
java.lang.String |
getServletInfo()
Return the Servlet Info
|
byte[] |
handleBinaryData(javax.servlet.http.HttpServletRequest request)
Handle the xml data
|
void |
init()
Called by the servlet container when this servlet is initialized, but
before accepting any requests
|
public void init() throws javax.servlet.ServletException
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
- if any error occurs during initialization of the servletpublic void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, java.io.IOException
doPost
in class javax.servlet.http.HttpServlet
request
- the HTTP Requestresp
- the HTTP responsejavax.servlet.ServletException
- Servlet Exceptionjava.io.IOException
- IO Exceptionpublic void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, java.io.IOException
doGet
in class javax.servlet.http.HttpServlet
request
- the HTTP Requestresp
- the HTTP responsejavax.servlet.ServletException
- Servlet Exceptionjava.io.IOException
- IO Exceptionpublic byte[] handleBinaryData(javax.servlet.http.HttpServletRequest request) throws java.io.IOException
request
- the HTTP Requestmap
- the map of propertiesMXException
- Maximo Exceptionjava.io.IOException
- IO Exceptionpublic java.lang.String getServletInfo()
getServletInfo
in interface javax.servlet.Servlet
getServletInfo
in class javax.servlet.GenericServlet