public class MEAServletFilter
extends java.lang.Object
implements javax.servlet.Filter
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 |
---|
MEAServletFilter() |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Destroy Filter.
|
void |
doFilter(javax.servlet.ServletRequest req,
javax.servlet.ServletResponse resp,
javax.servlet.FilterChain chain)
Handle doFilter
|
org.jdom.Document |
getSchemaLocation(java.lang.String wsName)
Get schema location for Web Service.
|
void |
init(javax.servlet.FilterConfig config)
Called by the servlet container when this filter is initialized, but
before accepting any requests
|
public void init(javax.servlet.FilterConfig config) throws javax.servlet.ServletException
init
in interface javax.servlet.Filter
javax.servlet.ServletException
- if any error occurs during initialization of the servletpublic void doFilter(javax.servlet.ServletRequest req, javax.servlet.ServletResponse resp, javax.servlet.FilterChain chain) throws javax.servlet.ServletException, java.io.IOException
doFilter
in interface javax.servlet.Filter
req
- HTTP Request objectresp
- HTTP Response objectjavax.servlet.ServletException
- Servlet Exceptionjava.io.IOException
- IO Exceptionpublic org.jdom.Document getSchemaLocation(java.lang.String wsName) throws MXException, java.rmi.RemoteException
wsName
- - web service nameMXException
java.rmi.RemoteException
public void destroy()
destroy
in interface javax.servlet.Filter