public class ResourceServlet
extends javax.servlet.http.HttpServlet
Constructor and Description |
---|
ResourceServlet() |
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 req,
javax.servlet.http.HttpServletResponse resp)
Handle Post Request.
|
java.lang.String |
getServletInfo()
MEA Servlet for returning webservice resources (wsdl, schema)
|
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 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
req
- HTTP Request objectresp
- HTTP Response objectjavax.servlet.ServletException
- Servlet Exceptionjava.io.IOException
- IO Exceptionpublic void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, java.io.IOException
doPost
in class javax.servlet.http.HttpServlet
req
- HTTP Request objectresp
- HTTP Response objectjavax.servlet.ServletException
- Servlet Exceptionjava.io.IOException
- IO Exceptionpublic java.lang.String getServletInfo()
getServletInfo
in interface javax.servlet.Servlet
getServletInfo
in class javax.servlet.GenericServlet