public class MEAServlet
extends javax.servlet.http.HttpServlet
MIME Content-Type of "text/*"
MIME Content-Type of multipart/form-data (typically file uploads)
If the MIME Content-Type is not specified or for any other content type, the servlet simply tries to read bytes from the body of the POST request The POST header can (optionally) contain "sender" and "interface" information.
| Constructor and Description |
|---|
MEAServlet() |
| 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.GenericServletjavax.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.HttpServletrequest - 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.HttpServletrequest - 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.ServletgetServletInfo in class javax.servlet.GenericServlet